/* ============================================================
   Brantes Weddings — Shared stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: #C4A86B; color: #fff; }

:root {
  --bg:           #FAF8F5;
  --bg-soft:      #F5F0E8;
  --bg-paper:     #FCFAF7;
  --gold:         #C4A86B;
  --gold-deep:    #A88848;
  --brown:        #8B6D47;
  --ink:          #2A2A2A;
  --ink-soft:     #3A3A3A;
  --line:         #E8E0D4;
  --line-soft:    #DDD5C8;
  --muted:        #555555;
  --muted-2:      #707070;
  --shadow-sm:    0 4px 12px rgba(0,0,0,0.04);
  --shadow-md:    0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 20px 48px rgba(58,58,58,0.10);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Raleway', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 17px; }
body {
  min-height: 100vh;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
.anim   { animation: fadeInUp 0.8s ease both; }
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.20s; }
.delay-3 { animation-delay: 0.30s; }
.delay-4 { animation-delay: 0.40s; }

/* ── Top bar with nav and language toggle ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 14px 28px;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 1rem; letter-spacing: 0.18em; color: var(--ink);
  text-transform: uppercase; font-weight: 500;
  text-decoration: none;
}
.brand-arms {
  width: 28px; height: 32px; flex-shrink: 0;
  color: var(--brown);
}
.brand-amp { color: var(--brown); font-style: italic; padding: 0 .15em; }

.nav-main {
  display: flex; gap: 28px; justify-content: center;
}
.nav-main a {
  font-family: var(--sans); font-size: 0.82rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; font-weight: 500;
  padding: 6px 0; position: relative;
  transition: color 0.2s ease;
}
.nav-main a:hover { color: var(--ink); }
.nav-main a.active { color: var(--brown); }
.nav-main a.active::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 16px; height: 1px; background: var(--gold);
  transform: translateX(-50%);
}

.lang-toggle {
  display: inline-flex; gap: 2px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 6px 14px; font-family: var(--sans);
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.1em; border-radius: 999px;
  transition: all 0.25s ease;
}
.lang-toggle button.active { background: var(--ink); color: #fff; }

/* Mobile: stack nav + toggle */
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; padding: 12px 16px; gap: 12px; }
  .nav-main { grid-column: 1 / -1; gap: 18px; flex-wrap: wrap; justify-content: flex-start; padding-top: 4px; border-top: 1px solid var(--line); margin-top: 4px; }
  .nav-main a { font-size: 0.68rem; letter-spacing: 0.18em; }
  .brand { font-size: 0.86rem; letter-spacing: 0.14em; }
  .brand-arms { width: 22px; height: 26px; }
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 24px 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-arms {
  position: relative; width: 64px; height: 76px; margin: 0 auto 20px;
  color: var(--brown);
}
.hero-eyebrow {
  position: relative;
  font-family: var(--sans); font-size: 0.78rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 14px;
}
.hero-title {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300; color: var(--ink);
  letter-spacing: 0.04em; line-height: 1.1; margin-bottom: 14px;
}
.hero-title em {
  font-style: italic; font-weight: 500; color: var(--brown);
}
.hero-divider {
  position: relative;
  width: 60px; height: 1px; background: var(--gold);
  margin: 22px auto;
}
.hero-sub {
  position: relative; max-width: 620px; margin: 0 auto 28px;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 400;
  color: var(--muted); line-height: 1.55;
}
.hero-tagline {
  position: relative;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--brown); letter-spacing: 0.04em;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  padding: 70px 24px 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .hero-eyebrow { margin-bottom: 12px; }
.page-hero .hero-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero .hero-divider { margin: 18px auto; }
.page-hero .hero-sub { font-size: 1.05rem; margin-bottom: 0; }

/* ── Generic section ── */
section.block {
  padding: 84px 24px;
}
.container { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--brown); text-align: center; margin-bottom: 14px; font-weight: 500;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400; color: var(--ink); text-align: center;
  letter-spacing: 0.02em; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--brown); }
.section-sub {
  text-align: center; max-width: 620px; margin: 0 auto 48px;
  color: var(--muted); font-size: 1rem;
}
.section-divider {
  width: 60px; height: 1px; background: var(--gold);
  margin: 0 auto 32px;
}

/* ── The "Le programme" timeline ── */
.programme {
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 40px; box-shadow: var(--shadow-sm);
}
.prog-row {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 24px; padding: 22px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.prog-row:last-child { border-bottom: 0; }
.prog-when {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--brown);
  letter-spacing: 0.04em;
}
.prog-what h4 {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  color: var(--ink); margin-bottom: 4px;
}
.prog-what p { font-size: 0.96rem; color: var(--muted); line-height: 1.7; }
.prog-note {
  margin-top: 24px; padding: 18px 20px;
  background: var(--bg-soft); border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.94rem; color: var(--muted); line-height: 1.7;
}

@media (max-width: 600px) {
  .programme { padding: 24px; }
  .prog-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
}

/* ── Venue card ── */
.venue {
  display: grid; gap: 28px; grid-template-columns: 1fr;
  max-width: 920px; margin: 0 auto;
}
@media (min-width: 760px) { .venue { grid-template-columns: 5fr 4fr; } }
.venue-info {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 30px;
}
.venue-info h3 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--ink); margin-bottom: 6px;
}
.venue-info .venue-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--brown); margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.venue-info ul { list-style: none; padding: 0; margin: 0 0 22px; }
.venue-info li {
  display: grid; grid-template-columns: 120px 1fr; gap: 10px;
  font-size: 0.96rem; padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.venue-info li:last-child { border-bottom: 0; }
.venue-info li .k {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); padding-top: 3px; font-weight: 500;
}
.venue-image {
  background: var(--bg-paper); border: 1px solid var(--line); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; min-height: 220px; text-align: center;
  color: var(--muted); font-size: 0.84rem;
}
.venue-image img { max-width: 100%; height: auto; border-radius: 8px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: all 0.25s ease;
}
.btn:hover { background: var(--brown); border-color: var(--brown); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-soft); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--brown); border-color: var(--brown); }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}

/* ── Lodging cards ── */
.lodging-cluster {
  margin-top: 36px;
}
.lodging-cluster-title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  color: var(--ink); margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.lodging-cluster-title em { font-style: italic; color: var(--brown); }
.lodging-cluster-sub {
  font-size: 0.96rem; color: var(--muted); margin-bottom: 22px;
}
.lodging-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .lodging-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .lodging-grid { grid-template-columns: 1fr 1fr 1fr; } }
.lodging-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 22px; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lodging-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lodging-card .lc-type {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 10px;
}
.lodging-card h4 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
  color: var(--ink); margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.lodging-card .lc-loc {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: var(--brown); margin-bottom: 14px;
}
.lodging-card .lc-meta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px;
  font-size: 0.88rem; color: var(--muted);
}
.lodging-card .lc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.lodging-card .lc-note {
  font-size: 0.94rem; color: var(--ink-soft); line-height: 1.65;
  margin-bottom: 16px; flex: 1;
}
.lodging-card .lc-foot {
  margin-top: auto; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.84rem; color: var(--muted);
}
.lodging-card .lc-foot a { color: var(--brown); text-decoration: none; }
.lodging-card .lc-foot a:hover { text-decoration: underline; }

.rates-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 30px; max-width: 720px; margin: 0 auto;
}
.rates-card h3 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  margin-bottom: 4px; color: var(--ink);
}
.rates-card .sub {
  font-family: var(--serif); font-style: italic; color: var(--brown);
  margin-bottom: 18px;
}
.rates-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.rates-table th, .rates-table td {
  text-align: left; padding: 12px 10px; font-size: 0.96rem;
  border-bottom: 1px dashed var(--line);
}
.rates-table th {
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.rates-table td.amt {
  font-family: var(--serif); font-style: italic;
  color: var(--brown); white-space: nowrap;
}
.rates-card .footnote {
  font-size: 0.88rem; color: var(--muted); line-height: 1.65;
}

/* ── Things-to-do cards ── */
.discover-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .discover-grid { grid-template-columns: 1fr 1fr; } }
.discover-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px;
}
.discover-card .dc-cat {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 8px;
}
.discover-card h3 {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
}
.discover-card h3 em { font-style: italic; color: var(--brown); }
.discover-card p {
  font-size: 0.98rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 14px;
}
.discover-card .dc-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 0.86rem; color: var(--muted);
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.discover-card .dc-meta strong { color: var(--ink); font-weight: 600; }

/* ── Gift Site CTA ── */
.gift {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gift-inner {
  display: grid; gap: 30px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .gift-inner { grid-template-columns: 3fr 2fr; } }
.gift-art {
  background: #fff; border-radius: 16px; padding: 32px;
  border: 1px solid var(--line); text-align: center;
  box-shadow: var(--shadow-sm);
}
.gift-art .ring {
  font-size: 4rem; display: block; margin-bottom: 8px;
}
.gift-art .gprice {
  font-family: var(--serif); font-size: 1.3rem; color: var(--brown);
  font-style: italic; margin-bottom: 4px;
}
.gift-art .gcat {
  font-size: 0.7rem; color: var(--muted); letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── RSVP form ── */
.rsvp-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 40px 36px; max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.rsvp-card form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--bg-paper); transition: all 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(139, 109, 71, 0.10);
  background: #fff;
}
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.rsvp-submit { justify-self: end; }
.rsvp-deadline {
  text-align: center; margin: 0 auto 28px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--brown); letter-spacing: 0.04em;
}

/* ── Story / FAQ ── */
.story-grid {
  display: grid; gap: 28px; grid-template-columns: 1fr;
}
@media (min-width: 880px) { .story-grid { grid-template-columns: 5fr 4fr; } }
.story-prose {
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink-soft);
  line-height: 1.75;
}
.story-prose p { margin-bottom: 1em; }
.story-prose .sig { font-style: italic; color: var(--brown); }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 500; color: var(--ink);
  font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after {
  content: '+'; color: var(--brown); font-size: 1.4rem;
  font-weight: 300; transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq .answer {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.96rem; color: var(--muted); line-height: 1.75;
}

/* ── Footer ── */
footer {
  background: var(--ink); color: #FAF8F5;
  padding: 56px 24px 40px; text-align: center;
}
footer .foot-arms {
  width: 44px; height: 52px; margin: 0 auto 14px;
  color: var(--gold);
}
footer .fnames {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.4rem; color: var(--gold); margin-bottom: 6px;
}
footer .fmotto {
  font-family: var(--serif); font-style: italic;
  font-size: 0.92rem; color: rgba(255,255,255,0.62);
  letter-spacing: 0.18em; margin-bottom: 18px;
}
footer .ftag { font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 0.18em; text-transform: uppercase; }
footer .fcontact { margin-top: 22px; font-size: 0.92rem; color: rgba(255,255,255,0.78); }
footer .fcontact a { color: var(--gold); text-decoration: none; }
footer .fcontact a:hover { text-decoration: underline; }

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-size: 0.92rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  z-index: 200;
}
.toast.show { opacity: 1; }

/* ── Mobile tweaks ── */
@media (max-width: 600px) {
  section.block { padding: 56px 18px; }
  .rsvp-card { padding: 28px 22px; }
  .venue-info li { grid-template-columns: 90px 1fr; font-size: 0.86rem; }
}

@media print {
  .topbar, .lang-toggle, .toast, .btn { display: none !important; }
  body { background: #fff; }
  .lodging-card, .discover-card, .rsvp-card, .programme { box-shadow: none; border: 1px solid #ccc; }
}
