/* ============================================
   Nicolas & Cecilia — Wedding Website
   Color Palette: Sage green, warm whites, muted gold
   Font: Google Fonts — Cormorant Garamond (headings),
         Montserrat (body), Great Vibes (script accent)
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Greens */
  --sage: #8a9a7b;
  --sage-dark: #6b7d5e;
  --sage-light: #c5d1bc;
  --forest: #2a3528;          /* deep bottle-green for rich sections */

  /* Wine / Burgundy accents */
  --wine: #6b2d3e;
  --wine-dark: #4d1e2b;
  --wine-light: #e8d5d9;

  /* Neutrals */
  --cream: #faf8f5;
  --parchment: #f4f0ea;       /* slightly warmer cream for winery feel */
  --warm-white: #ffffff;
  --text-dark: #2e2620;       /* slightly warmer dark tone */
  --text-medium: #6b6b6b;
  --text-light: #999999;
  --gold-muted: #c2a97e;
  --border-light: #e8e4df;

  --overlay-dark: rgba(0, 0, 0, 0.35);
  --overlay-light: rgba(0, 0, 0, 0.15);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;
  --max-width: 1200px;
  --nav-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-muted);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

.script-heading {
  font-family: var(--font-script);
  font-weight: 400;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  /* Transparent by default — overlays hero image */
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Solid nav once user scrolls past hero */
.site-nav.scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

/* Nav hover (before scrolled) — becomes readable white */
.site-nav:hover:not(.scrolled) {
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(232, 228, 223, 0.5);
}
.site-nav:hover:not(.scrolled) .nav-links a {
  color: var(--text-medium);
}
.site-nav:hover:not(.scrolled) .nav-toggle span {
  background: var(--text-dark);
}
.site-nav:hover:not(.scrolled) .nav-links a:hover,
.site-nav:hover:not(.scrolled) .nav-links a.active {
  color: var(--wine);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);   /* white over hero */
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.site-nav.scrolled .nav-links a {
  color: var(--text-medium);           /* dark once scrolled */
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

.site-nav.scrolled .nav-links a::after {
  background: var(--wine);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger menu (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;                    /* white over hero */
  margin: 5px 0;
  transition: all 0.3s ease;
}

.site-nav.scrolled .nav-toggle span {
  background: var(--text-dark);        /* dark once scrolled */
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;          /* anchor content to bottom */
  justify-content: flex-start;    /* anchor content to left */
  overflow: hidden;
  margin-top: 0;                  /* flush behind transparent nav */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Default dark gradient — heavier bottom-left for text readability */
  background-color: var(--forest);
}

/* Overlay: darker bottom-left (where text sits), fades top-right */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(22, 14, 10, 0.82) 0%,
    rgba(22, 14, 10, 0.52) 40%,
    rgba(22, 14, 10, 0.18) 75%,
    rgba(22, 14, 10, 0.05) 100%
  );
  z-index: 1;
}

/* Optional secondary overlay (page-specific colour tint applied inline) */
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Legacy .hero-bg support (sub-pages) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 5% 5rem;           /* left padding + bottom breathing room */
  max-width: 700px;
  text-align: left;
}

/* Small label above heading */
.hero-page-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.8rem;
  display: block;
}

/* Main heading */
.hero-content .script-heading {
  font-size: clamp(3rem, 7vw, 6rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  line-height: 1.05;
  margin-bottom: 1.8rem;
}

/* Presight-style accent block: vertical line + text */
.hero-accent-block {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 2.2rem;
}

.hero-accent-line {
  width: 3px;
  min-height: 52px;
  background: var(--wine);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.hero-subtitle-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-content .subtitle,
.hero-subtitle,
.hero-subtitle-block p {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
}

/* CTA buttons row */
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Smaller hero for sub-pages */
.hero-short {
  height: 78vh;
  min-height: 440px;
}

/* Placeholder */
.hero-placeholder {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
}

/* --- Sections --- */
.section {
  padding: 5rem 2rem;
}

.section-inner,
.section-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-sage {
  background-color: var(--sage);
  color: #fff;
}

.section-forest {
  background-color: var(--forest);
  color: #fff;
}

.section-forest .section-heading {
  color: rgba(255,255,255,0.92);
}

.section-cream {
  background-color: var(--parchment);
}

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

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--sage-dark);
}

.section-sage .section-heading {
  color: #fff;
}

.section-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.section-sage .section-text {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Timeline (Our Story) --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: var(--border-light);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-photo {
  flex: 0 0 250px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage-light);
  border: 3px solid var(--border-light);
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder circle when no image */
.timeline-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  padding: 1rem;
}

.timeline-info {
  flex: 1;
}

.timeline-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.3rem;
}

.timeline-info p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-medium);
  font-weight: 500;
}

/* --- Activity Cards (Travel) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 200px;
  background: var(--sage-light);
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  background: transparent;
  border: 1px solid rgba(107,45,62,0.3);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none;
}

.card-link:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* Universal wine-pill button — use on any page for a consistent CTA */
.btn-wine-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  background: transparent;
  border: 1px solid rgba(107,45,62,0.3);
  border-radius: 50px;
  padding: 0.5rem 1.2rem 0.5rem 0.9rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none;
  cursor: pointer;
}
.btn-wine-pill svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.btn-wine-pill:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.btn-wine-pill:hover svg path,
.btn-wine-pill:hover svg circle {
  stroke: #fff;
}

/* --- Restaurant / Eat & Drink Section --- */
.eat-drink {
  padding: 5rem 2rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.eat-drink::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.eat-drink .section-inner {
  position: relative;
  z-index: 2;
}

.eat-drink .section-heading {
  color: #fff;
}

.eat-drink-subtitle {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.restaurant-category {
  margin-bottom: 3rem;
}

.restaurant-category h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-muted);
}

.restaurant-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
}

.restaurant-row .cuisine {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  min-width: 120px;
}

.restaurant-row .names {
  font-size: 1rem;
  font-weight: 500;
}

.restaurant-row .names a {
  color: #fff;
  transition: color 0.3s ease;
}

.restaurant-row .names a:hover {
  color: var(--gold-muted);
}

.drinks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
}

.drinks-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.drinks-list a:hover {
  color: var(--gold-muted);
}

/* --- Registry Section --- */
.registry-block {
  text-align: center;
  padding: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  max-width: 600px;
  margin: 0 auto;
}

.registry-block:last-of-type {
  border-bottom: none;
}

.registry-block h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.registry-block p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.registry-note {
  font-style: italic;
  color: var(--sage) !important;
  margin-top: 2rem;
}

/* --- RSVP Form --- */
.rsvp-form {
  max-width: 550px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--warm-white);
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-sage {
  background: var(--sage);
  color: #fff;
}

.btn-sage:hover {
  background: var(--sage-dark);
}

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1px solid var(--sage);
}

.btn-outline:hover {
  background: var(--sage);
  color: #fff;
}

/* --- Footer --- */
.site-footer {
  background: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M20 160 Q50 120 80 140 Q110 160 140 110 Q160 75 180 90' stroke='rgba(255,255,255,0.03)' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 4.5rem 2rem 3.5rem;
}

.footer-script {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto;
  max-width: 200px;
}

.footer-ornament::before,
.footer-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

.footer-ornament svg {
  width: 22px;
  opacity: 0.5;
}

.footer-date {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #faf8f5;
    padding: 0.5rem 0 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
    transform-origin: top center;
  }

  .nav-links.open {
    display: flex;
    animation: navSlideDown 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  /* Each <li> must stretch full width */
  .nav-links li {
    display: block;
    width: 100%;
    list-style: none;
  }

  /* Mobile links — display:block is the critical fix so width/padding/text-align work */
  .nav-links a,
  .site-nav .nav-links a,
  .site-nav.scrolled .nav-links a,
  .site-nav:hover:not(.scrolled) .nav-links a {
    display: block !important;
    color: var(--text-dark) !important;
    padding: 1.3rem 2.4rem;
    width: 100%;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    border-bottom: none;
    position: static;
    transition: color 0.18s ease, background 0.18s ease;
  }

  /* Suppress the ::after desktop underline — shows as strikethrough on mobile */
  .nav-links a::after {
    display: none !important;
  }

  /* Hover: crisp single-row wine tint */
  .nav-links a:hover,
  .site-nav .nav-links a:hover {
    color: var(--wine) !important;
    background: rgba(107, 45, 62, 0.06) !important;
  }

  /* Active page: wine text, no background */
  .nav-links a.active,
  .site-nav .nav-links a.active {
    color: var(--wine) !important;
    background: transparent !important;
    font-weight: 600;
  }

  /* Hamburger → X when open */
  .nav-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    height: 80vh;
    min-height: 400px;
  }

  .hero-short {
    height: 55vh;
  }

  .hero-content .script-heading {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .section {
    padding: 3rem 1.5rem;
  }

  /* Timeline stacked on mobile */
  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-photo {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .eat-drink {
    background-attachment: scroll;
  }
}

/* Slide-down animation for mobile nav */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .nav-links a {
    font-size: 0.75rem;
  }

  .hero-content .script-heading {
    font-size: 2.5rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }
}

/* ============================================
   Enhanced Mobile Responsiveness
   ============================================ */

/* Timeline: better mobile layout */
@media (max-width: 768px) {
  .timeline::before { display: none; }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .timeline-photo {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
  }

  .timeline-info h3 { font-size: 1.2rem; }
}

/* Cards: single column on small screens */
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .card-img { height: 180px; }
}

/* Eat & Drink section: better mobile */
@media (max-width: 768px) {
  .eat-drink { padding: 3rem 1rem; background-attachment: scroll; }
  .restaurant-row { flex-direction: column; gap: 0.2rem; margin-bottom: 0.5rem; }
  .restaurant-row .cuisine { font-size: 0.75rem; }
}

/* Section padding reduced on mobile */
@media (max-width: 480px) {
  .section { padding: 2.5rem 1rem; }
  .section-heading { font-size: 1.4rem; letter-spacing: 0.08em; }
  .section-text { font-size: 0.95rem; }
}

/* Registry blocks: full width on mobile */
@media (max-width: 480px) {
  .registry-block { padding: 1.5rem 1rem; }
}

/* RSVP form: full width on mobile */
@media (max-width: 480px) {
  .rsvp-form { padding: 0; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }
  .btn { width: 100%; text-align: center; }
}

/* Hero text: better mobile sizing */
@media (max-width: 480px) {
  .hero-content .script-heading { font-size: 3rem; }
  .hero-content .subtitle { font-size: 0.8rem; letter-spacing: 0.15em; }
  .hero-short { height: 55vh; }
}

/* Footer: mobile padding */
@media (max-width: 480px) {
  .site-footer { padding: 2rem 1rem; }
  .footer-title { font-size: 1rem; }
}

/* Nav: ensure hamburger works properly */
@media (max-width: 768px) {
  .site-nav { padding: 0 1rem; }
  .nav-links a { font-size: 0.85rem; }
}

/* Images: prevent overflow */
img { max-width: 100%; height: auto; }
.timeline-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
