/* Fonts: Great Vibes (accents), Playfair Display (headings), Montserrat (body) */
:root {
  --forest: #4a7c59;
  --forest-600: #3d6b4a;
  --forest-700: #2d4a35;
  --forest-dark: #1a2e1f;
  --sage: #a8d5ba;
  --bg: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --text: #e8e8e8;
  --text-light: #f5f5f5;
  --muted: #a0a0a0;
  --surface: #1a1a1a;
  --surface-elevated: #2a2a2a;
  --shadow: 0 10px 30px rgba(0,0,0,.3);
  --shadow-glow: 0 0 30px rgba(212,175,55,0.2);
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --gold-dark: #b8941f;
  --rose: #e8a2c0;
  --rose-light: #f0c8d8;
  --accent: #6b46c1;
  --accent-light: #8b5cf6;
}

/* Particle effects */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, var(--gold-light), transparent);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
  animation-delay: -2s;
  animation-duration: 8s;
}

.particle:nth-child(3n) {
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Sparkle effects */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--gold-light); text-decoration: underline; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 8px 0;
  color: var(--forest-700);
}
.section-head p { color: var(--muted); margin: 0; }
.section-head.light h2, .section-head.light p { color: #fff; }

/* Header / Nav */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  background: rgba(26,26,26,.95); 
  backdrop-filter: saturate(180%) blur(12px); 
  border-bottom: 1px solid rgba(212,175,55,.2); 
  box-shadow: var(--shadow);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { 
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(212,175,55,0.3);
  transition: all 0.3s ease;
}
.logo:hover {
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
}
.nav-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav-links a { 
  color: var(--text); 
  font-weight: 600; 
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { 
  color: var(--gold); 
  text-shadow: 0 0 8px rgba(212,175,55,0.3);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { 
  display: block; 
  width: 24px; 
  height: 2px; 
  background: var(--text); 
  margin: 5px 0; 
  transition: transform .3s; 
}

/* Hero */
.hero { 
  position: relative; 
  height: 78vh; 
  min-height: 520px; 
  display: grid; 
  place-items: center; 
  color: #fff; 
  overflow: hidden;
}
.hero::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background-image: url('https://images.unsplash.com/photo-1522673607200-164d6a30b5c5?auto=format&fit=crop&w=1600&q=80'); 
  background-size: cover; 
  background-position: center; 
  filter: saturate(90%) contrast(95%);
  animation: parallax 20s ease-in-out infinite;
}
@keyframes parallax {
  0%, 100% { transform: scale(1.05); }
  50% { transform: scale(1.1); }
}
.hero-overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.5));
  animation: overlayPulse 4s ease-in-out infinite;
}
@keyframes overlayPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}
.hero-content { 
  position: relative; 
  text-align: center; 
  z-index: 2;
  animation: heroFadeIn 2s ease-out;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.overline { 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  opacity: .9; 
  animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
  from { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
  to { text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.3); }
}
.couple { 
  font-family: "Playfair Display", serif;

  font-size: clamp(36px, 8vw, 72px); 
  line-height: 1.1; 
  margin: 8px 0 12px; 
  animation: coupleFloat 6s ease-in-out infinite;
}
@keyframes coupleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
.couple span { 
  font-family: "Playfair Display", serif;
  color: var(--gold-light); 
  font-weight: 400; 
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  animation: sparkleText 2s ease-in-out infinite;
}
@keyframes sparkleText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
.subtitle { 
  margin: 0 0 20px; 
  font-size: 16px; 
  opacity: .95; 
  animation: subtitleSlide 1.5s ease-out 0.5s both;
}
@keyframes subtitleSlide {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 0.95; transform: translateX(0); }
}

/* Cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card-full { grid-column: 1 / -1; }
.card { 
  background: var(--surface); 
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: var(--shadow); 
  border: 1px solid rgba(212,175,55,.2); 
  transition: all 0.3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(212,175,55,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.card:hover::before {
  opacity: 1;
}
.card-media { 
  height: 180px; 
  background-size: cover; 
  background-position: center; 
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}
.card:hover .card-media {
  transform: scale(1.05);
}
.card-body { 
  padding: 18px; 
  position: relative;
  z-index: 2;
}
.card-body h3 { 
  margin: 0 0 8px; 
  font-family: "Playfair Display", serif; 
  color: var(--text-light); 
  transition: color 0.3s ease;
}
.card:hover .card-body h3 {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212,175,55,0.3);
}
.link { 
  color: var(--gold); 
  font-weight: 600; 
  position: relative;
  transition: color 0.3s ease;
}
.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.link:hover::after {
  width: 100%;
}

/* Countdown */
.countdown { 
  position: relative; 
  color: #fff; 
  overflow: hidden; 
}
.countdown .bg-image { 
  position: absolute; 
  inset: 0; 
  background-size: cover; 
  background-position: center; 
  filter: brightness(.7) saturate(90%); 
  transform: scale(1.02);
  animation: countdownParallax 15s ease-in-out infinite;
}
@keyframes countdownParallax {
  0%, 100% { transform: scale(1.02) translateY(0px); }
  50% { transform: scale(1.05) translateY(-10px); }
}
.countdown .container { position: relative; }
.timer { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 14px; 
  margin-top: 18px; 
}
.time-box { 
  background: rgba(255,255,255,.12); 
  border: 1px solid rgba(255,255,255,.2); 
  border-radius: 12px; 
  padding: 16px; 
  text-align: center; 
  backdrop-filter: blur(6px); 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.time-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.time-box:hover::before {
  left: 100%;
}
.time-box:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.time-box span { 
  display: block; 
  font-size: clamp(24px, 6vw, 44px); 
  font-weight: 700; 
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.time-box:hover span {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(212,175,55,0.5);
}
.time-box small { 
  opacity: .9; 
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 2;
}
.time-box:hover small {
  opacity: 1;
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
}

.timeline-date {
  position: absolute;
  left: 30px;
  top: 0;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
  z-index: 2;
  white-space: nowrap;
}

.timeline-content {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}

.timeline-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.timeline-content:hover .timeline-image {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(212,175,55,0.4);
}

.timeline-text {
  flex: 1;
}

.timeline-text h3 {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.timeline-text p {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid var(--surface);
  box-shadow: 0 0 15px rgba(212,175,55,0.5);
  z-index: 3;
}

/* Responsive timeline */
@media (max-width: 768px) {
  .timeline-container {
    padding: 20px 10px 20px 30px;
    margin-left: 20px;
  }
  
  .timeline-container::before {
    left: 40px;
    width: 2px;
  }
  
  .timeline-item {
    margin-bottom: 40px;
    padding-left: 50px;
  }
  
  .timeline-date {
    left: 40px;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .timeline-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
    margin-left: 10px;
  }
  
  .timeline-image {
    width: 120px;
    height: 120px;
    align-self: center;
  }
  
  .timeline-text h3 {
    font-size: 18px;
    text-align: center;
  }
  
  .timeline-text p {
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
  }
  
  .timeline-item::after {
    left: 40px;
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .timeline-container {
    padding: 15px 5px 15px 25px;
    margin-left: 15px;
  }
  
  .timeline-item {
    padding-left: 40px;
    margin-bottom: 30px;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-date {
    left: 30px;
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .timeline-content {
    padding: 16px;
    gap: 15px;
    margin-left: 5px;
  }
  
  .timeline-image {
    width: 100px;
    height: 100px;
  }
  
  .timeline-text h3 {
    font-size: 16px;
  }
  
  .timeline-text p {
    font-size: 13px;
  }
  
  .timeline-item::after {
    left: 30px;
    width: 10px;
    height: 10px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}
.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

/* RSVP */
.form { 
  background: var(--surface); 
  border: 1px solid rgba(212,175,55,.2); 
  box-shadow: var(--shadow); 
  border-radius: 14px; 
  padding: 18px; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  transition: left 0.5s ease;
}
.form:hover::before {
  left: 100%;
}
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field { 
  display: grid; 
  gap: 8px; 
  position: relative;
}
label { 
  font-weight: 600; 
  color: var(--text-light); 
  transition: color 0.3s ease;
}
input, select, textarea { 
  border: 1px solid rgba(212,175,55,.3); 
  border-radius: 10px; 
  padding: 12px 12px; 
  font: inherit; 
  outline: none; 
  background: var(--surface-elevated); 
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
}
input:focus, select:focus, textarea:focus { 
  border-color: var(--gold); 
  box-shadow: 0 0 0 3px rgba(212,175,55,.15); 
  transform: translateY(-2px);
}
input:hover, select:hover, textarea:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.field-wide { grid-column: 1 / -1; }
.error { 
  color: #b00020; 
  font-size: 12px; 
  min-height: 16px; 
  animation: shake 0.5s ease-in-out;
}

.form-hint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  display: block;
  font-style: italic;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.actions { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  flex-wrap: wrap; 
  margin-top: 8px; 
}
.form-note { 
  color: var(--muted); 
  font-size: 12px; 
  margin: 0; 
}
.form-success { 
  margin-top: 10px; 
  color: var(--gold); 
  font-weight: 600; 
  animation: successPulse 0.6s ease-in-out;
}
@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Family Section - Elegant Design */
.family-elegant {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.family-group {
  text-align: center;
  position: relative;
}

.family-header {
  margin-bottom: 30px;
}

.family-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--gold);
  margin: 0 0 8px 0;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(212,175,55,0.3);
}

.family-header p {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  margin: 0;
}

/* Godparents Section - Full Width */
.godparents-section {
  margin: 30px 0;
}

.godparents-card {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.godparents-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.godparents-card:hover::before {
  opacity: 1;
}

.godparents-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}

.godparents-card h4 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--gold);
  margin: 0 0 12px 0;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.godparents-names {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 600;
  margin: 0 0 16px 0;
  position: relative;
  z-index: 2;
}

.godparents-tribute {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Parents Section - Compact Design */
.parents-section {
  margin: 30px 0;
}

.parents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.parent-group {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.parent-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.parent-group:hover::before {
  opacity: 1;
}

.parent-group:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}

.parent-group h4 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--gold);
  margin: 0 0 12px 0;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.parent-names {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 600;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 2;
}

.parent-tribute {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.family-tribute {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.family-tribute::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.family-tribute:hover::before {
  opacity: 1;
}

.family-tribute:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}

.family-tribute p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.family-message {
  background: linear-gradient(135deg, var(--surface), var(--surface-elevated));
  border: 2px solid var(--gold);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.family-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05));
  border-radius: 25px;
}

.message-text {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0 0 20px 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.signature {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.couple-names {
  font-family: "playfair display", serif;
  font-size: 20px;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(212,175,55,0.3);
}

/* Responsive family section */
@media (max-width: 768px) {
  .family-elegant {
    gap: 40px;
  }
  
  .family-header h3 {
    font-size: 24px;
  }
  
  .godparents-card {
    padding: 24px;
  }
  
  .godparents-card h4 {
    font-size: 18px;
  }
  
  .godparents-names {
    font-size: 16px;
  }
  
  .godparents-tribute {
    font-size: 15px;
  }
  
  .parents-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .parent-group {
    padding: 20px;
  }
  
  .parent-group h4 {
    font-size: 16px;
  }
  
  .parent-names {
    font-size: 15px;
  }
  
  .parent-tribute {
    font-size: 13px;
  }
  
  .family-tribute {
    padding: 24px;
  }
  
  .family-tribute p {
    font-size: 15px;
  }
  
  .family-message {
    padding: 30px;
  }
  
  .message-text {
    font-size: 16px;
  }
  
  .signature {
    font-family: "Playfair Display", serif;
    font-size: 14px;
  }
  
  .couple-names {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .family-elegant {
    gap: 30px;
  }
  
  .family-header h3 {
    font-size: 20px;
  }
  
  .godparents-card {
    padding: 20px;
  }
  
  .godparents-card h4 {
    font-size: 16px;
  }
  
  .godparents-names {
    font-size: 15px;
  }
  
  .godparents-tribute {
    font-size: 14px;
  }
  
  .parents-grid {
    gap: 16px;
  }
  
  .parent-group {
    padding: 16px;
  }
  
  .parent-group h4 {
    font-size: 15px;
  }
  
  .parent-names {
    font-size: 14px;
  }
  
  .parent-tribute {
    font-size: 12px;
  }
  
  .family-tribute {
    padding: 20px;
  }
  
  .family-tribute p {
    font-size: 14px;
  }
  
  .family-message {
    padding: 24px;
  }
  
  .message-text {
    font-size: 15px;
  }
  
  .signature {
    font-family: "Playfair Display", serif;
    font-size: 13px;
  }
  
  .couple-names {
    font-size: 16px;
  }
}

/* Location info in details section */
.location-info {
  margin: 16px 0;
  padding: 16px;
  background: rgba(212,175,55,0.1);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.location-info p {
  margin: 8px 0;
  color: var(--text);
}

.location-info p:first-child {
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
}

.navigation-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  transition: left 0.5s ease;
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
  border-color: var(--gold);
}

.nav-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.nav-btn:hover .nav-icon {
  transform: scale(1.1);
}

/* Responsive navigation buttons */
@media (min-width: 768px) {
  .navigation-buttons {
    flex-direction: row;
    gap: 16px;
  }
  
  .nav-btn {
    flex: 1;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .location-info {
    padding: 12px;
  }
  
  .location-info p:first-child {
    font-size: 15px;
  }
  
  .nav-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Contact */
.contacts { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-card { 
  background: var(--surface); 
  border: 1px solid rgba(212,175,55,.2); 
  box-shadow: var(--shadow); 
  border-radius: 14px; 
  padding: 18px; 
  text-align: center; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.contact-card:hover::before {
  opacity: 1;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}
.avatar { 
  width: 96px; 
  height: 96px; 
  border-radius: 50%; 
  margin: 0 auto 10px; 
  background-size: cover; 
  background-position: center; 
  border: 3px solid var(--sage); 
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.contact-card:hover .avatar {
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* Contact info styling */
.contact-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-item:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-2px);
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.contact-value:hover {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(212,175,55,0.3);
}

.contact-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.contact-value:hover::after {
  width: 100%;
}

/* Buttons */
.btn { 
  display: inline-block; 
  border-radius: 999px; 
  padding: 12px 20px; 
  font-weight: 700; 
  border: 2px solid transparent; 
  text-decoration: none; 
  cursor: pointer; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary { 
  background: var(--forest); 
  color: #fff; 
  box-shadow: 0 4px 15px rgba(46,125,50,0.3);
}
.btn-primary:hover { 
  background: var(--forest-600); 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,125,50,0.4);
}
.btn-outline { 
  background: transparent; 
  color: var(--gold); 
  border-color: var(--gold); 
}
.btn-outline:hover { 
  background: var(--gold); 
  color: var(--bg); 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

/* Footer */
.footer { 
  background: var(--bg-secondary); 
  border-top: 1px solid rgba(212,175,55,.2); 
  padding: 24px 0; 
  text-align: center; 
  color: var(--muted); 
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { 
    position: absolute; 
    top: 56px; 
    right: 4%; 
    background: var(--surface); 
    border: 1px solid rgba(212,175,55,.2); 
    box-shadow: var(--shadow); 
    border-radius: 12px; 
    padding: 12px; 
    display: none; 
    flex-direction: column; 
    gap: 12px; 
  }
  .nav-links.show { display: flex; }
  .hero { height: 70vh; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; }
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-full { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .hero { height: 86vh; }
}


