/* Shirley & Daniel · January 2, 2027 · Villa Toscana, Homestead FL */

:root {
  --cream: #FAF6EB;
  --sand: #F3EBD3;
  --ink: #2E3A22;
  --body: #465138;
  --muted: #6B7455;
  --olive: #5F7040;
  --terracotta: #C2643F;
  --lemon: #E9B62B;
  --lemon-light: #F3CE49;
  --line: #E8DFC8;
  --hairline: #D8CCA8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  font-family: Karla, sans-serif;
  color: var(--ink);
}

a { color: var(--olive); }
a:hover { color: var(--terracotta); }

.serif { font-family: 'Cormorant Garamond', serif; }
.script { font-family: Caveat, cursive; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floaty { 0% { transform: translate(0, 0) rotate(-8deg); } 100% { transform: translate(14px, -30px) rotate(10deg); } }

/* ---------- Nav ---------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: rgba(250, 246, 235, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand:hover { color: var(--ink); }
.nav-brand .amp { color: var(--lemon); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--terracotta); }

.nav-links a.active {
  color: var(--terracotta);
  border-bottom: 2px solid var(--lemon);
  padding-bottom: 4px;
}

.nav-links a.rsvp {
  background: var(--lemon);
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.nav-links a.rsvp:hover { background: var(--terracotta); color: #FFFFFF; }

@media (max-width: 720px) {
  .nav { padding: 16px 20px; justify-content: center; }
}

/* ---------- Page headers ---------- */

.page-head { text-align: center; padding: 88px 24px 56px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow.olive { color: var(--olive); }

.page-head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(44px, 6vw, 72px);
  margin: 0;
}

.page-head .tagline {
  font-family: Caveat, cursive;
  font-size: 26px;
  color: var(--terracotta);
  margin-top: 12px;
  transform: rotate(-1deg);
}

.lemon-divider { display: block; margin: 28px auto 0; animation: bob 5s ease-in-out infinite; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-dancing.jpg') center/cover no-repeat;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 58, 34, 0.25) 0%, rgba(46, 58, 34, 0.55) 100%);
}

.hero-lemons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-lemons svg { position: absolute; overflow: visible; animation: floaty ease-in-out infinite alternate; }

.hero-content { position: relative; text-align: center; color: #FFFFFF; padding: 80px 24px; }

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 600;
  margin-bottom: 20px;
  animation: rise 0.8s ease-out both;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(56px, 9vw, 110px);
  margin: 0;
  line-height: 1.05;
  animation: rise 0.9s 0.12s ease-out both;
}
.hero h1 .amp { color: var(--lemon-light); }

.hero-date {
  font-size: 15px;
  letter-spacing: 0.24em;
  font-weight: 600;
  margin-top: 28px;
  animation: rise 0.9s 0.28s ease-out both;
}

.hero-script {
  font-family: Caveat, cursive;
  font-size: 28px;
  color: var(--lemon-light);
  margin-top: 16px;
  transform: rotate(-1.5deg);
  animation: fadein 1s 0.5s ease-out both;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
  animation: rise 0.9s 0.45s ease-out both;
}

.countdown-cell {
  background: rgba(250, 246, 235, 0.95);
  color: var(--ink);
  border: 2px solid var(--lemon-light);
  border-radius: 16px;
  padding: 16px 22px;
  min-width: 78px;
}

.countdown-cell .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.countdown-cell .unit {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- Shared sections ---------- */

.section { max-width: 1080px; margin: 0 auto; padding: 96px 32px 64px; }

.polaroid {
  background: #FFFFFF;
  padding: 14px 14px 18px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(46, 58, 34, 0.18);
}
.polaroid.tilt-left { transform: rotate(-2deg); }
.polaroid.tilt-right { transform: rotate(2deg); }
.polaroid img { width: 100%; display: block; border-radius: 2px; }
.polaroid .caption {
  font-family: Caveat, cursive;
  font-size: 24px;
  color: var(--olive);
  text-align: center;
  margin-top: 12px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 64px;
  align-items: center;
}

.story-grid h2, .venue-grid h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 44px;
  margin: 0 0 22px;
  line-height: 1.1;
}

.story-grid p { font-size: 17px; line-height: 1.75; margin: 0 0 16px; color: var(--body); }

.text-link {
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--olive);
  text-decoration: none;
  border-bottom: 2px solid var(--lemon);
  padding-bottom: 4px;
  display: inline-block;
}

@media (max-width: 860px) {
  .story-grid, .venue-grid { grid-template-columns: 1fr; }
}

/* ---------- Quick-link cards (home) ---------- */

.card-band { background: var(--sand); padding: 72px 32px; }

.card-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 12px 30px rgba(46, 58, 34, 0.14);
  transform: translateY(-4px) rotate(-0.5deg);
  color: var(--ink);
}

.card .card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  margin-bottom: 8px;
}

.card .card-sub { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--olive);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: background 0.2s;
}
.btn:hover { background: var(--ink); color: #FFFFFF; }

/* ---------- Timeline (Our Day) ---------- */

.timeline { max-width: 760px; margin: 0 auto; padding: 0 32px 80px; }

.timeline-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-row:last-child { border-bottom: none; }

.timeline-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--olive);
}
.timeline-time small { font-size: 18px; }

.timeline-row .event-title { font-size: 18px; font-weight: 700; }
.timeline-row .event-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 6px; }

/* ---------- Venue (Our Day) ---------- */

.venue-band { background: var(--sand); padding: 80px 32px; }

.venue-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 56px;
  align-items: center;
}
.venue-grid h2 { font-size: 42px; margin-bottom: 20px; }
.venue-grid p { font-size: 16px; line-height: 1.75; color: var(--body); margin: 0 0 14px; }

.center-block { max-width: 760px; margin: 0 auto; text-align: center; padding: 88px 32px; }
.center-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 42px;
  margin: 0 0 20px;
}
.center-block p { font-size: 16px; line-height: 1.75; color: var(--body); margin: 0; }

/* ---------- Travel ---------- */

.travel-wrap { max-width: 1000px; margin: 0 auto; padding: 0 32px 72px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.info-card { background: #FFFFFF; border-radius: 16px; padding: 36px 32px; }
.info-card .label {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 12px;
}
.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 14px;
}
.info-card p { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0; }

.stay-band { background: var(--sand); border-radius: 16px; padding: 44px 40px; margin-top: 20px; text-align: center; }
.stay-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 12px;
}
.stay-band > p { font-size: 15px; line-height: 1.7; color: var(--body); max-width: 560px; margin: 0 auto 26px; }

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.hotel-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.25s;
}
.hotel-card:hover { box-shadow: 0 10px 24px rgba(46, 58, 34, 0.14); color: var(--ink); }
.hotel-card .name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; }
.hotel-card .sub { font-size: 13px; color: var(--muted); margin-top: 6px; }

.notice {
  background: #FFF6D8;
  border: 1px solid var(--lemon);
  border-radius: 14px;
  padding: 20px 26px;
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.drive-section { max-width: 760px; margin: 26px auto 0; }
.drive-section .label {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 14px;
}

.origin-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.origin-btn {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: Karla, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.origin-btn.selected { background: var(--olive); color: #FFFFFF; }

.drive-map { width: 100%; height: 380px; border: 0; border-radius: 14px; display: block; }

.travel-script { font-family: Caveat, cursive; font-size: 24px; color: var(--terracotta); margin-top: 18px; }

/* ---------- Gallery ---------- */

.gallery-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.25s;
}
.gallery-grid img:hover { transform: scale(1.02) rotate(-0.6deg); }
.gallery-grid img.wide { grid-column: span 2; }
.gallery-grid img.tall { height: 460px; }

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img.wide { grid-column: auto; }
}

.band { background: var(--sand); text-align: center; padding: 88px 32px; }
.band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 42px;
  margin: 0 0 18px;
}
.band p { font-size: 16px; line-height: 1.75; color: var(--body); max-width: 520px; margin: 0 auto; }
.band p.spaced { margin-bottom: 30px; }

/* ---------- Registry ---------- */

.registry-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.registry-card { background: #FFFFFF; border-radius: 18px; padding: 44px 36px; text-align: center; }
.registry-card .label {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 14px;
}
.registry-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 14px;
}
.registry-card p { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0 0 28px; }
.registry-card .qr {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
  margin: 0 auto;
}
.registry-card .script-note {
  font-family: Caveat, cursive;
  font-size: 22px;
  color: var(--terracotta);
  margin-top: 20px;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 720px; margin: 0 auto; padding: 0 32px 80px; }

.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item .q { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.faq-item .a { font-size: 15px; line-height: 1.7; color: var(--body); }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--sand); text-align: center; padding: 64px 24px; }
.footer .footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 34px;
}
.footer .footer-brand .amp { color: var(--lemon); }
.footer .footer-date {
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 600;
  margin-top: 14px;
}
.footer .footer-note { font-size: 13px; color: #A9B48C; margin-top: 22px; }
