*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blush:    #E8C4B8;
  --blush-lt: #F5E6E0;
  --cream:    #FAF7F3;
  --ivory:    #F0EBE3;
  --stone:    #E6DDD4;
  --ink:      #3A3330;
  --muted:    #7A6F6A;
  --gold:     #C4965A;
  --sage:     #8A9E8C;
  --dusty:    #C9B8C0;
  --peach:    #E8A07A;
  --peach-dk: #B05E3A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
}

/* Links in the page text (not nav or buttons) */
.page a:not(.btn) {
  color: var(--peach-dk);
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}

.page a:not(.btn):hover { text-decoration-color: currentColor; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 2.5rem;
  background: #faf7f3f7;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone);
}

.nav-logo {
  height: 50px;      /* adjust to match your nav's text height */
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
  background: none;
  border: 1px solid var(--stone);
  color: var(--muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.lang-toggle:hover {
  background: var(--blush-lt);
  border-color: var(--blush);
  color: var(--ink);
}

.lang-toggle:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,247,243,0.99);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-drawer a:hover,
.nav-drawer a.active { color: var(--gold); }

/* ── PAGES ── */
.page { display: none; padding-top: 64px; }
.page.active { display: block; }

/* ── HERO ── */
.hero-banner {
  width: 100%;
  height: 70vh;

  background:
    linear-gradient(
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.25)
    ),
    url("images/landscape.jpg");

  background-size: cover;
  background-position: 85% 70%;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-content {
  text-align: center;
  padding: 2rem;
}

.hero-banner .hero-eyebrow,
.hero-banner .hero-names {
  color: white;
}

.hero-content {
  text-align: center;
  padding: 2rem 1.5rem 5rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.hero-names em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-size: 0.55em;
  letter-spacing: 0.06em;
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 1.4rem;
  margin-bottom: 2.8rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.8rem;
}

.hero-intro {
  max-width: 480px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background .2s, color .2s;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}

.btn:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Countdown */
.countdown-wrap {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
}

.countdown-unit { text-align: center; }

.countdown-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  display: block;
}

/* ── CAROUSEL ── */
.carousel-section {
  padding: 5rem 0;
  background: var(--ivory);
  text-align: center;
  overflow: hidden;
}

.carousel-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.carousel-track-wrap {
  width: 60%;
  max-width: 700px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  /* No transition initially; set by JS */
  will-change: transform;
}

/*
  Each slide = 50% of the wrapper width.
  On mobile (<= 480px) we show 1 slide = 100%.
  Padding creates a small gap between slides.
*/
.carousel-slide {
  flex: 0 0 50%;
  padding: 0 6px;
  aspect-ratio: 2/3;
}

.carousel-slide-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--stone);
}

.carousel-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.carousel-slide-inner img:hover { transform: scale(1.04); }

/* Not loaded yet (see loadNearby in script.js) – show the stone background */
.carousel-slide-inner img:not([src]) { visibility: hidden; }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: none;
  border: 1px solid var(--stone);
  color: var(--muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}

.carousel-btn:hover {
  background: var(--blush-lt);
  border-color: var(--blush);
  color: var(--ink);
}

.carousel-counter {
  min-width: 4.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ── INFO PAGE ── */
.info-hero {
  background: var(--ivory);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-sub {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* ── WEEKEND BANNER ── */
.weekend-banner {
  background: var(--blush);
  color: var(--ink);
  padding: 1.5rem 2rem;
  text-align: center;
}

.weekend-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.weekend-banner p {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
  color: var(--muted);
  line-height: 1.8;
}

/* ── WEEKEND CARDS ── */
.weekend-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.weekend-card {
  background: #fff;
  border: 1px solid var(--stone);
  padding: 2rem;
}

.weekend-card .wc-day {
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.weekend-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--ink);
}

.weekend-card p,
.weekend-card ul {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

.weekend-card ul {
  padding-left: 1.1rem;
}

.weekend-card ul li { margin-bottom: 0.3rem; }

.weekend-card p + p,
.weekend-card ul + p { margin-top: 0.8rem; }
.weekend-card p + ul { margin-top: 0.5rem; }

/* ── INFO GRID ── */
.info-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.info-card {
  border-top: 1px solid var(--blush);
  padding-top: 1.8rem;
}

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.info-card p,
.info-card address {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.8;
}

.info-card address + p { margin-top: 0.8rem; }

.info-card ul {
  margin-top: 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

.badge {
  display: inline-block;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blush-lt);
  color: var(--muted);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.btn-row {
  text-align: center;
  margin: 2.5rem 0;
}

/* ── PROGRAM ── */
.program-section {
  background: var(--ivory);
  padding: 4rem 1.5rem 5rem;
}

.program-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ink);
}

.program-days {
  max-width: 680px;
  margin: 0 auto;
}

.program-day-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--blush);
}

.program-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--stone);
}

.program-time {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 0.15rem;
}

.program-desc strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.program-desc span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── FAQ ── */
.faq-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.faq-item { border-bottom: 1px solid var(--stone); }

.faq-q {
  list-style: none;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink);
  gap: 1rem;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q .icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .3s;
  line-height: 1;
}

.faq-item[open] .faq-q .icon { transform: rotate(45deg); }

.faq-a {
  padding-bottom: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-top: 1px solid var(--stone);
  text-transform: uppercase;
}

/* ── MOBILE ── */
@media (max-width: 750px) {
  nav { padding: 1rem 1.2rem; }
  .nav-right { gap: 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .hero-content { padding: 2.5rem 1.5rem; }

  .countdown-wrap { gap: 1.2rem; }
  .countdown-num { font-size: 1.9rem; }

  .carousel-section { padding: 3.5rem 0; }
  .weekend-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-banner { height: 55vh; background-position: 20% center; background-size: cover; }
}

/* On very small screens, show 1 slide at full width */
@media (max-width: 440px) {
  .carousel-slide { flex: 0 0 100%; }
}
