/* ============================================
   Wedding Website - Castle Royal Theme
   Maria & Rareș - 9 Mai 2026
   ============================================ */

:root {
  /* Color Palette - Royal Castle Theme */
  --color-bg: #faf8f5;
  --color-bg-warm: #f5f0e8;
  --color-bg-card: #ffffff;
  --color-bg-accent: #f0ebe3;

  /* Primary - Burgundy/Wine */
  --color-primary: #8b4557;
  --color-primary-light: #a85a6d;
  --color-primary-dark: #6d3544;

  /* Gold Accents */
  --color-gold: #b8956a;
  --color-gold-light: #d4b896;
  --color-gold-dark: #96784d;

  /* Sage/Forest Green (castle garden feel) */
  --color-sage: #7d8b6a;
  --color-sage-light: #a5b294;

  /* Text Colors */
  --color-text: #3d3d3d;
  --color-text-muted: #6b6b6b;
  --color-text-soft: #5a5a5a;
  --color-text-light: #8a8a8a;

  /* Borders & Accents */
  --color-border: rgba(139, 69, 87, 0.15);
  --color-border-gold: rgba(184, 149, 106, 0.3);

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 140px);
  --container-max: 1200px;

  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-primary);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================
   Decorative Castle Elements
   ============================================ */
.castle-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5 L30 15 M25 12 L35 12 M15 20 L15 50 L45 50 L45 20 L30 8 Z M20 50 L20 35 L26 35 L26 50 M34 50 L34 35 L40 35 L40 50 M22 28 L28 28 L28 33 L22 33 Z M32 28 L38 28 L38 33 L32 33 Z' fill='none' stroke='%238b4557' stroke-width='1'/%3E%3C/svg%3E");
}

/* Particles - now golden/warm */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px rgba(139, 69, 87, 0.08);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  position: relative;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  transition: width 0.3s var(--transition-smooth);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s;
}

/* ============================================
   Hero Section - Castle Style
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.95);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 245, 0.75) 0%,
    rgba(250, 248, 245, 0.85) 40%,
    rgba(250, 248, 245, 0.95) 100%
  );
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(139, 69, 87, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(184, 149, 106, 0.08) 0%,
      transparent 50%
    );
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}

/* Castle turrets decoration */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(250, 248, 245, 0.3) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .name {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 50%,
    var(--color-gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .ampersand {
  display: block;
  font-size: 0.5em;
  color: var(--color-gold);
  margin: 0.5rem 0;
  font-style: italic;
}

.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 1.5rem 1rem;
  background: var(--color-bg-card);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(139, 69, 87, 0.08);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.countdown-separator {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-gold);
  opacity: 0.6;
  align-self: flex-start;
  margin-top: 1.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  color: var(--color-primary);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ============================================
   Sections Common
   ============================================ */
.section {
  position: relative;
  padding: var(--section-padding) 2rem;
  z-index: 1;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  margin-bottom: 1.5rem;
  background: var(--color-bg-card);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  margin: 0 auto;
  border-radius: 2px;
}

/* ============================================
   Photo Gallery / Carousel Section
   ============================================ */
.gallery {
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-warm) 100%
  );
  padding-top: clamp(60px, 8vh, 100px);
}

.gallery .section-header {
  margin-bottom: 2.5rem;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 60px;
}

.carousel {
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 25px 80px rgba(139, 69, 87, 0.15),
    0 0 0 1px rgba(139, 69, 87, 0.08);
  position: relative;
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 10;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s var(--transition-smooth);
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-bg-accent) 0%,
    var(--color-bg-warm) 100%
  );
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(
    135deg,
    var(--color-bg-accent) 0%,
    var(--color-bg-warm) 100%
  );
  transition: transform 0.4s ease;
}

.carousel:hover .carousel-slide img {
  transform: scale(1.02);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(
    135deg,
    var(--color-bg-accent) 0%,
    var(--color-bg-warm) 100%
  );
  color: var(--color-text-muted);
  border: 2px dashed var(--color-border);
}

.photo-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-bg-card);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: var(--color-primary-light);
}

/* Story Quote */
.story-quote {
  position: relative;
  padding: 3rem;
  background: var(--color-bg-card);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(139, 69, 87, 0.06);
}

.story-quote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--color-gold);
  opacity: 0.3;
  line-height: 1;
}

.story-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ============================================
   Events Section (Timeline)
   ============================================ */
.events {
  background: var(--color-bg);
  position: relative;
}

.events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 5 L20 35 M5 20 L35 20' stroke='%238b4557' stroke-width='0.3' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--color-primary),
    var(--color-gold),
    var(--color-border)
  );
  border-radius: 3px;
}

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

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item:nth-child(even) {
  text-align: left;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: var(--color-bg-card);
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  z-index: 2;
  box-shadow: 0 4px 20px rgba(139, 69, 87, 0.15);
}

.timeline-content {
  flex: 1;
  background: var(--color-bg-card);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  max-width: calc(50% - 60px);
  box-shadow: 0 8px 30px rgba(139, 69, 87, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 69, 87, 0.12);
}

.timeline-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.timeline-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
  pointer-events: none;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.timeline-content:hover .timeline-image img {
  transform: scale(1.05);
}

.timeline-details {
  padding: 1.5rem 2rem 2rem;
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.timeline-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gold-dark);
  margin-bottom: 1rem;
}

.timeline-location svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.timeline-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Location Section
   ============================================ */
.location {
  background: linear-gradient(
    180deg,
    var(--color-bg-warm) 0%,
    var(--color-bg-accent) 100%
  );
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.location-card {
  background: var(--color-bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition:
    transform 0.4s var(--transition-smooth),
    box-shadow 0.4s;
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(139, 69, 87, 0.15);
}

.location-card.featured {
  border: 2px solid var(--color-gold);
  position: relative;
}

.location-card.featured::before {
  content: "Petrecerea";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold-dark)
  );
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  z-index: 10;
}

.location-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.location-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-card), transparent 50%);
  z-index: 1;
}

.church-image {
  background:
    linear-gradient(135deg, rgba(139, 69, 87, 0.2), rgba(184, 149, 106, 0.2)),
    url("images/church/biserica%201.jpg");
  background-size: cover;
  background-position: center;
}

.castle-image {
  background:
    linear-gradient(135deg, rgba(184, 149, 106, 0.2), rgba(139, 69, 87, 0.15)),
    url("images/castle/castle.jpg");
  background-size: cover;
  background-position: center;
}

.location-info {
  padding: 2rem;
}

.location-info h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.location-address {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.location-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.location-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.location-link svg {
  opacity: 0.7;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.location-link:hover {
  color: var(--color-primary);
}

.location-link:hover svg {
  opacity: 1;
  transform: translateY(-2px);
}

/* ============================================
   Family Section
   ============================================ */
.family {
  background: var(--color-bg);
}

.family-group {
  margin-bottom: 4rem;
}

.family-group:last-child {
  margin-bottom: 0;
}

.family-group-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.family-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.family-card {
  text-align: center;
  padding: 2.5rem 3rem;
  background: var(--color-bg-card);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  min-width: 280px;
  transition:
    transform 0.3s var(--transition-smooth),
    border-color 0.3s,
    box-shadow 0.3s;
}

.family-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px rgba(139, 69, 87, 0.1);
}

.family-card.godparents {
  background: linear-gradient(
    135deg,
    var(--color-bg-card) 0%,
    rgba(184, 149, 106, 0.08) 100%
  );
  border-color: var(--color-gold-light);
}

.family-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139, 69, 87, 0.08);
  color: var(--color-primary);
}

.family-icon.gold {
  background: linear-gradient(
    135deg,
    rgba(184, 149, 106, 0.2),
    rgba(184, 149, 106, 0.1)
  );
  color: var(--color-gold-dark);
}

.family-card h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.family-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    var(--color-bg-warm) 0%,
    var(--color-bg-accent) 100%
  );
  text-align: center;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-date {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.footer-message {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-text-soft);
  margin-bottom: 2rem;
}

.footer-hearts {
  color: var(--color-primary);
  animation: pulse 2s infinite;
}

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

/* ============================================
   Animations
   ============================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--transition-smooth) forwards;
}

.animate-fade-up:nth-child(1) {
  animation-delay: 0.2s;
}
.animate-fade-up:nth-child(2) {
  animation-delay: 0.4s;
}
.animate-fade-up:nth-child(3) {
  animation-delay: 0.6s;
}
.animate-fade-up:nth-child(4) {
  animation-delay: 0.8s;
}
.animate-fade-up:nth-child(5) {
  animation-delay: 1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s var(--transition-smooth);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
    padding-left: 80px;
  }

  .timeline-icon {
    left: 30px;
    width: 60px;
    height: 60px;
  }

  .timeline-content {
    max-width: 100%;
  }

  .timeline-image {
    height: 200px;
  }

  .timeline-details {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .timeline-time {
    font-size: 1.8rem;
  }

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

  .countdown {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .countdown-item {
    min-width: 75px;
    padding: 1rem 0.75rem;
  }

  .countdown-separator {
    display: none;
  }

  .carousel-container {
    padding: 0 50px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

/* Floating Countdown */
.floating-countdown {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.floating-countdown.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-countdown-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 12px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(139, 69, 87, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-date {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 500;
}

.floating-timer {
  display: flex;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.floating-timer span {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 600px) {
  .floating-countdown {
    bottom: 15px;
    right: 15px;
  }

  .floating-countdown-inner {
    padding: 10px 18px;
    gap: 8px;
  }

  .floating-date {
    font-size: 0.8rem;
  }

  .floating-timer {
    font-size: 0.75rem;
  }
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .section {
    padding: 60px 1.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .carousel-container {
    padding: 0 45px;
  }

  .carousel-slide {
    aspect-ratio: 4/3;
  }

  .location-card {
    max-width: 100%;
  }

  .family-cards {
    gap: 1.5rem;
  }

  .family-card {
    min-width: 280px;
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 50px 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-tag {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-date {
    font-size: 1rem;
  }

  .countdown {
    gap: 0.8rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }

  .countdown-separator {
    font-size: 1.5rem;
  }

  .family-card {
    min-width: 100%;
    padding: 1.5rem;
  }

  .location-image {
    height: 160px;
  }

  .location-card {
    margin: 0 0.5rem;
  }

  .carousel-container {
    padding: 0 35px;
    margin-bottom: 2rem;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }

  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }

  .carousel-dots {
    gap: 6px;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
  }

  .story-quote {
    padding: 1.5rem;
  }

  .story-quote blockquote {
    font-size: 1rem;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.85rem;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
  }

  .timeline::before {
    left: 25px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    padding-left: 65px;
  }

  .timeline-icon {
    left: 25px;
  }

  .gallery {
    padding-top: 50px;
  }

  .gallery .section-header {
    margin-bottom: 1.5rem;
  }
}
