/* ── Design tokens ──────────────────────────────────────────────── */
:root {
  --cream:       #f1f0ec;
  --teal:        #174b62;
  --gold:        #c5ab34;
  --gold-dark:   #a8901f;
  --dark:        #1a1a1a;
  --white:       #fff;
  --font:        'Cormorant Garamond', Georgia, serif;
  --nav-h:       0px;
  --max-w:       1200px;
  --section-pad: 80px 6vw;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography helpers ─────────────────────────────────────────── */
.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
/* Curved underline using pseudo-element */
.section-heading::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 4px;
  transform: scaleX(1.08) rotate(-0.5deg);
  transform-origin: left;
}

.section-heading-gold {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
  display: block;
}
.section-heading-gold.decorated::after {
  content: '';
  display: block;
  width: 55%;
  height: 3px;
  background: var(--dark);
  border-radius: 50%;
  margin: 6px auto 0;
}

.section-heading-white {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
  display: block;
}
.section-heading-white.decorated-white::after {
  content: '';
  display: block;
  width: 55%;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  margin: 6px auto 2rem;
}

/* ══════════════════════════════════════════════════════════════════
   RELIVE THE DAY
══════════════════════════════════════════════════════════════════ */
.relive {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 80px 6vw 90px;
  text-align: center;
}

.relive-inner { max-width: var(--max-w); margin: 0 auto; }

.relive-heading {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.relive-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 3rem;
  opacity: 0.75;
}

.relive-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.relive-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: var(--white);
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.relive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
}

.relive-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.relive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.relive-card:hover .relive-thumb img {
  transform: scale(1.04);
}

.relive-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23,75,98,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.relive-card:hover .relive-overlay { opacity: 1; }

.relive-icon {
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

.relive-label {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.relive-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.relive-title-card {
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--teal);
  line-height: 1.3;
}

.relive-cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}

/* Subtle vignette — match original's natural dark-grass top */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.04) 30%,
    rgba(0,0,0,0.04) 60%,
    rgba(0,0,0,0.38) 100%
  );
  pointer-events: none;
}

.hero-nav {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 36px 6vw 0;
}

.site-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 0.75; }
.nav-link.active {
  border-bottom: 1.5px solid var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 20;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero bottom content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 6vw 60px;
}

.hero-tagline {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 14px 44px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.30);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0,0,0,0.35);
}

/* ══════════════════════════════════════════════════════════════════
   STORY SECTIONS (Her & His)
══════════════════════════════════════════════════════════════════ */
.story {
  padding: var(--section-pad);
}

.story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.story.reverse .story-inner {
  grid-template-columns: 1.2fr 1fr;
}

.story-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.story-text { padding-top: 12px; }

.story-lead {
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 1.2rem;
}

.story-text p {
  margin-bottom: 1.1rem;
  font-size: 1.08rem;
  line-height: 1.85;
}

/* ══════════════════════════════════════════════════════════════════
   PHOTO GALLERY CAROUSEL
══════════════════════════════════════════════════════════════════ */
.gallery {
  padding: 0;
  overflow: hidden;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  max-height: 75vh;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  object-position: center 25%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: var(--white);
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.6); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--white); }

/* ══════════════════════════════════════════════════════════════════
   SCHEDULE
══════════════════════════════════════════════════════════════════ */
.schedule {
  background: var(--white);
  padding: 70px 6vw 80px;
}

.schedule-inner {
  max-width: 760px;
  margin: 0 auto;
}

.schedule-inner > .section-heading-gold { margin-bottom: 2rem; }

.parking-notice {
  background: var(--dark);
  color: var(--white);
  padding: 14px 22px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 620px;
}
.parking-notice strong {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.schedule-day { margin-bottom: 3.5rem; }

.day-heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.4rem;
}

.day-heading.wedding-day {
  color: var(--gold);
}

.schedule-day p {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.9rem;
  text-align: left;
}
.schedule-day p strong {
  font-weight: 700;
}

.teal-link {
  color: var(--teal);
  text-decoration: underline;
}

.map-embed {
  margin-top: 2rem;
  border: 1px solid #ddd;
  overflow: hidden;
}
.map-embed img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   ACCOMMODATIONS
══════════════════════════════════════════════════════════════════ */
.accommodations {
  padding: var(--section-pad);
}

.teal { background: var(--teal); color: var(--white); }

.accommodations-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.accommodations-inner p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.venue-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--gold);
  margin: 2rem 0 0.5rem;
}

.venue-dates {
  color: var(--gold) !important;
  font-style: normal;
}

.address-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.address-link:hover { color: #e6c94a; }

.hotel-list {
  text-align: left;
  display: inline-block;
  margin: 1rem 0;
}
.hotel-list li {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.gold-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gold-link:hover { color: #e6c94a; }

/* ══════════════════════════════════════════════════════════════════
   ATTIRE
══════════════════════════════════════════════════════════════════ */
.attire {
  background: var(--white);
  padding: 70px 6vw 80px;
  text-align: center;
}


.attire-inner { max-width: var(--max-w); margin: 0 auto; }

.attire-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  text-align: left;
  margin-top: 3rem;
}

.attire-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.attire-text { padding-top: 8px; }

.attire-subheading {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.7rem;
  text-align: center;
}

.attire-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT / FOOTER
══════════════════════════════════════════════════════════════════ */
.contact {
  padding: 70px 6vw 80px;
  text-align: center;
}

.contact-inner { max-width: 600px; margin: 0 auto; }

.contact-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  font-style: normal;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-person p {
  font-size: 1.1rem;
  line-height: 2;
  font-weight: 600;
}
.contact-name {
  font-weight: 700 !important;
  margin-bottom: 0.2rem;
}

.contact-person a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--dark);
}
.contact-person a:hover { color: var(--teal); }

/* ── Background color helpers ───────────────────────────────────── */
.cream { background: var(--cream); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 56px 5vw; }

  /* Relive cards: stack on mobile */
  .relive-cards { grid-template-columns: 1fr; gap: 28px; }
  .relive { padding: 60px 6vw 70px; }

  /* Hero nav */
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero-tagline { font-size: 2.2rem; }
  .site-title   { font-size: 1.7rem; }

  /* Story sections: stack vertically */
  .story-inner,
  .story.reverse .story-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story.reverse .story-inner .story-image {
    order: -1;
  }
  .story-image img {
    aspect-ratio: 4/3;
    object-position: center 20%;
  }

  /* Carousel */
  .carousel-slide img,
  .gallery-carousel { max-height: 60vw; }
  .carousel-slide img { height: 60vw; }

  /* Schedule */
  .schedule { padding: 56px 5vw 64px; }
  .schedule-inner { max-width: 100%; }

  /* Accommodations */
  .accommodations { padding: 56px 5vw 64px; }
  .hotel-list { text-align: center; }
  .hotel-list li { text-align: left; }

  /* Attire */
  .attire-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .attire-image img { aspect-ratio: 4/3; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: 1.8rem; }
  .btn { padding: 12px 28px; font-size: 0.95rem; }
}
