/* ══════════════════════════════════════════════════════
   F & A Wedding · style.css
   ══════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --ivory:    #F5F0E8;
  --cream:    #EDE7D9;
  --beige:    #D8D0C2;
  --sage:     #8A9E7D;
  --sage-dk:  #6B7F60;
  --muted:    #7A7266;
  --text:     #2C2926;
  --espresso: #2C2420;

  --ff-serif: 'Cinzel', Georgia, serif;
  --ff-sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── Page shell ─────────────────────────────────────── */
body {
  background: #C5BDB0;
  font-family: var(--ff-sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--ivory);
  box-shadow: 0 0 80px rgba(0, 0, 0, .25);
}

/* ── Scroll-reveal animation ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══ HERO ══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 18, 14, .52) 0%,
    rgba(28, 18, 14, .32) 40%,
    rgba(28, 18, 14, .58) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 32px;
  padding-top: 72px; /* below nav bar */
  color: var(--ivory);
}
/* All hero content grouped at top — faces area stays clear */
.hero-eyebrow {
  font-family: var(--ff-serif);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .82);
  margin-top: 18px;
  margin-bottom: 0;
  text-shadow: 0 0 20px rgba(28, 18, 14, .9), 0 1px 6px rgba(28, 18, 14, .6);
}
.monogram {
  font-family: var(--ff-serif);
  font-size: clamp(90px, 22vw, 130px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: 4px;
}
.mono-amp {
  color: inherit;
}
.hero-rule {
  width: 44px;
  height: 1px;
  background: rgba(245, 240, 232, .4);
  margin: 20px auto;
}
.hero-sub {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 3px;
  color: rgba(245, 240, 232, .96);
  text-shadow: 0 0 28px rgba(28, 18, 14, .9), 0 1px 10px rgba(28, 18, 14, .55);
}

/* ══ Section shells ════════════════════════════════════ */
section { text-align: center; }
.sec-ivory  { background: var(--ivory);    }
.sec-cream  { background: var(--cream);    }
.sec-sage   { background: var(--sage);     }
.sec-dark   { background: var(--espresso); color: var(--ivory); }

.pad    { padding: 60px 36px; }
.pad-sm { padding: 44px 36px; }

/* ══ Typography ════════════════════════════════════════ */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.eyebrow-lt { color: rgba(245, 240, 232, .82); }

.script {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 9vw, 42px);
  font-weight: 300;
  line-height: 1.18;
}
.text-ivory { color: var(--ivory); }

.display {
  font-family: var(--ff-serif);
  font-size: clamp(21px, 7vw, 33px);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.2;
}

.small-caps {
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
}
.small-caps-lt { color: rgba(245, 240, 232, .78); }

/* Names */
.name-block { display: flex; flex-direction: column; align-items: center; }
.name-first {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 8.5vw, 46px);
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.name-last {
  font-family: var(--ff-serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.amp {
  font-family: var(--ff-serif);
  font-size: 54px;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
  margin: 8px 0;
}

/* Separator block under names */
.sep-block { margin-top: 36px; }
.rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--sage);
  margin: 0 auto 22px;
}
.rule-lt {
  width: 40px;
  height: 1px;
  background: rgba(245, 240, 232, .45);
  margin: 0 auto;
}

/* Date */
.date-num {
  font-family: var(--ff-serif);
  font-size: clamp(81px, 26vw, 145px);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -3px;
}
.date-month {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 300;
  letter-spacing: 14px;
  text-transform: uppercase;
  margin-top: 10px;
}
.date-year {
  font-family: var(--ff-serif);
  font-size: clamp(17px, 4.5vw, 26px);
  font-weight: 300;
  letter-spacing: 10px;
  color: var(--sage);
  margin-top: 12px;
}

/* ══ Photo blocks ══════════════════════════════════════ */
.photo-mid,
.photo-sm  { overflow: hidden; width: 100%; }
.photo-mid { height: 320px; }
.photo-sm  { height: 240px; }

.photo-mid img,
.photo-sm  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.photo-mid:hover img,
.photo-sm:hover  img { transform: scale(1.03); }

/* ══ Countdown ═════════════════════════════════════════ */
.countdown {
  display: flex;
  justify-content: center;
  padding: 38px 16px;
}
.cd-unit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.cd-unit + .cd-unit { border-left: 1px solid var(--beige); }
.cd-n {
  font-family: var(--ff-serif);
  font-size: clamp(38px, 11vw, 52px);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  transition: transform .15s ease;
}
.cd-n.pulse { transform: scale(1.08); }
.cd-l {
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
}

/* ══ Event cards ═══════════════════════════════════════ */
.event-card { padding: 48px 36px; }
.ev-date {
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ev-venue {
  font-family: var(--ff-serif);
  font-size: clamp(21px, 7vw, 33px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 10px 0 6px;
}
.ev-time {
  font-family: var(--ff-serif);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.ev-legend {
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 22px;
}
.ev-addr {
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 26px;
}

/* ══ Buttons ═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1px solid currentColor;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: background .25s ease, color .25s ease;
}
.btn-dk           { color: var(--text); }
.btn-dk:hover     { background: var(--text);   color: var(--ivory); }
.btn-lt           { color: var(--ivory); }
.btn-lt:hover     { background: var(--ivory);  color: var(--espresso); }
.btn-sg           { color: var(--ivory); border-color: rgba(245, 240, 232, .55); }
.btn-sg:hover     { background: rgba(245, 240, 232, .15); }

/* ══ Dress Code ════════════════════════════════════════ */
.dress-grid { display: flex; margin-top: 38px; }
.dress-col {
  flex: 1;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dress-col + .dress-col { border-left: 1px solid var(--beige); }
.dress-icon { width: 48px; height: 72px; }
.dress-gender {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin: 14px 0 10px;
}
.dress-rule {
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 1px;
  line-height: 1.85;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
}
.dress-rule strong { font-weight: 600; color: var(--text); }


/* ══ Footer ════════════════════════════════════════════ */
footer {
  padding: 52px 20px;
  background: var(--espresso);
  text-align: center;
}
.foot-mono {
  font-size: clamp(52px, 15vw, 78px);
  color: var(--ivory);
  letter-spacing: 5px;
}
.foot-date {
  display: block;
  font-family: var(--ff-serif);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .5);
  margin-top: 14px;
}

/* ══ Responsive — mobile ═══════════════════════════════ */
@media (max-width: 480px) {
  .pad    { padding: 52px 28px; }
  .pad-sm { padding: 38px 28px; }
  .event-card { padding: 44px 28px; }
}

/* ══ Responsive — desktop ══════════════════════════════
   On wider screens the site renders as an elegant card
   centered on a warm linen surface — intentional design.
   ════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  html, body {
    min-height: 100vh;
  }
  body {
    /* Warm linen with a subtle dark vignette at the edges */
    background: #B8B0A2;
    background-image:
      radial-gradient(ellipse 80% 80% at 50% 50%,
        transparent 30%,
        rgba(28, 18, 14, .22) 100%);
    background-attachment: fixed;
  }
  .wrap {
    /* Slightly wider card + stronger shadow to lift it off the surface */
    max-width: 520px;
    box-shadow:
      0 0 0 1px rgba(28, 18, 14, .06),
      0 8px 40px rgba(28, 18, 14, .28),
      0 0 120px rgba(28, 18, 14, .18);
  }
  /* Header and nav stay aligned to the card */
  .site-header,
  .nav-menu {
    max-width: 520px;
  }
}

/* ══ Site Header ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
  background: rgba(44, 36, 32, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Language toggle ────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lang-sep {
  font-size: 12px;
  color: rgba(245, 240, 232, .22);
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 2.5px;
  color: rgba(245, 240, 232, .35);
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.lang-btn.active,
.lang-btn:hover { color: var(--ivory); }

/* ── Hamburger button ───────────────────────────────── */
.site-nav { position: relative; }

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .28s ease, opacity .28s ease;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Nav dropdown ───────────────────────────────────── */
.nav-menu {
  position: fixed;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(44, 36, 32, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4, 0, .2, 1),
              padding .38s ease;
}
.nav-menu.open {
  max-height: 420px;
  padding: 10px 0 18px;
}
.nav-menu li a {
  display: block;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .55);
  text-decoration: none;
  padding: 15px 36px;
  transition: color .2s, background .2s;
}
.nav-menu li a:hover { color: var(--ivory); background: rgba(255,255,255,.04); }
.nav-menu li + li a  { border-top: 1px solid rgba(245, 240, 232, .07); }

/* ── Dress Code references button ───────────────────── */
.dress-ref-btn {
  margin-top: 32px;
  text-align: center;
}

/* ── Lodging section ─────────────────────────────────── */
.lodging-list { width: 100%; }

.lodge-item {
  text-align: center;
  padding: 32px 0;
}

.lodge-name {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 4px;
}

.lodge-city {
  font-family: var(--ff-sans);
  font-size: 12px; font-weight: 350;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}

.lodge-tel {
  font-family: var(--ff-sans);
  font-size: 12px; font-weight: 300;
  letter-spacing: 1px;
  color: var(--muted); margin-bottom: 14px;
}

.lodge-note {
  font-family: var(--ff-sans);
  font-size: 12px; font-weight: 350;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sage); line-height: 2;
  margin-bottom: 18px;
}

.lodge-note strong { font-weight: 600; color: var(--sage-dk); }

.lodge-sep {
  border-top: 1px solid var(--beige);
  margin: 0 32px;
}

/* ── Photo crop helpers ──────────────────────────────── */
/* All mid photos: images are pre-cropped to show faces centered */
.photo-mid img    { object-position: center center; }
/* Paris landscape — couple slightly below center */
.photo-paris img  { object-position: center 55%; }
/* Red door photo — landscape, no special crop needed */
.photo-door img   { object-position: center center; }

/* ── F | A Logo ──────────────────────────────────────── */
.fa-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
}
.fa-letter {
  font-family: var(--ff-serif);
  font-size: clamp(78px, 24vw, 108px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: 0;
}
.fa-bar {
  width: 1px;
  height: clamp(88px, 27vw, 124px);
  background: #C4A272;
  margin: 0 clamp(14px, 4.5vw, 22px);
  flex-shrink: 0;
}

/* Dark variant — footer */
.fa-logo-dk .fa-letter { color: var(--text); }
.fa-logo-dk .fa-bar    { background: #B8945A; }

/* Footer sizing */
footer .fa-logo {
  margin-bottom: 8px;
}
footer .fa-letter {
  font-size: 42px;
}
footer .fa-bar {
  height: 48px;
  margin: 0 12px;
}

/* Small bar logo — top navigation bars */
.fa-logo-bar .fa-letter { font-size: 22px; }
.fa-logo-bar .fa-bar    { height: 26px; margin: 0 8px; }

/* ── Logo image sizes ────────────────────────────────── */
.hero-logo {
  width: clamp(160px, 52vw, 220px);
  margin: 8px auto 4px;
  display: block;
}
.bar-logo {
  height: 34px;
  width: auto;
  display: block;
}
.foot-logo {
  height: 64px;
  width: auto;
  display: block;
  margin: 0 auto 8px;
}
