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

:root {
  --red: #c9556a;
  --teal: #b08968;
  --dark: #3b2f2f;
  --cream: #fdf8f4;
  --lavender: #f5ede4;
  --white: #ffffff;
  --muted: #8c7b75;
  --border: #e8ddd4;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --font-script: 'Pinyon Script', cursive;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.875rem;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.narrow {
  max-width: 800px;
  margin: 0 auto;
}

.narrow-sm {
  max-width: 520px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.divider {
  border-top: 1px solid var(--border);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal,
.reveal-stagger,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal.visible,
.reveal-stagger.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays */
.reveal-stagger:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger:nth-child(6) { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--cream);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1rem;
}

.logo-img {
  height: 56px;
  width: auto;
  transition: filter 0.5s ease;
}

.header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.nav-couple-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.35em;
  color: var(--dark);
  transition: color 0.5s;
  padding: 0.5rem 0.75rem;
}

.header:not(.scrolled) .nav-couple-name {
  color: rgba(255,255,255,0.9);
}

.nav-couple-name:hover {
  color: var(--teal);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--dark);
  padding: 0.5rem 0.75rem;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--teal);
}

.header:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.9);
}

.header:not(.scrolled) .nav-link:hover {
  color: #fff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid var(--cream);
  padding: 0.5rem 0;
  animation: fadeSlideDown 0.2s ease;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: var(--cream);
  color: var(--teal);
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: background 0.5s;
}

.header:not(.scrolled) .hamburger span {
  background: #fff;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mobile-menu.open {
  pointer-events: all;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu.open .mobile-menu-overlay {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 288px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mobile-menu-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.mobile-menu-close {
  font-size: 1.75rem;
  color: var(--dark);
  padding: 0.25rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  color: var(--dark);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--cream);
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: var(--teal);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-mobile { display: none; }

@media (max-width: 768px) {
  .hero-video-desktop { display: none; }
  .hero-video-mobile { display: block; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  white-space: nowrap;
  opacity: 0;
  animation: textReveal 0.8s ease-out 0.3s forwards;
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    letter-spacing: 0.03em;
  }
}

.hero-parents {
  text-align: center;
  opacity: 0;
  animation: textReveal 0.8s ease-out 0.6s forwards;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 2.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
  .hero-parents {
    font-size: 0.85rem;
  }
}

.hero-invitation {
  margin-top: 2rem;
  font-size: 1.125rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0;
  animation: textReveal 0.8s ease-out 0.9s forwards;
}

@keyframes textReveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.scroll-mouse-btn {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-decoration: none;
}

.scroll-arrow-btn {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  z-index: 20;
  color: #fff;
  text-decoration: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  animation: scrollArrowBounce 1.8s ease-in-out infinite;
  transition: opacity 0.3s;
}

.scroll-arrow-btn:hover {
  opacity: 0.85;
}

.scroll-arrow {
  display: block;
}

@keyframes scrollArrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.9; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

.scroll-mouse {
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.scroll-mouse-dot {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  margin-top: 7px;
  animation: mouseDot 1.8s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.scroll-mouse-btn:hover .scroll-mouse {
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

@keyframes mouseDot {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(18px); opacity: 0; }
  46% { transform: translateY(0); opacity: 0; }
  65% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 5rem 0;
}

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

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

.section-lavender {
  background: var(--lavender);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--dark);
  text-align: center;
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1.125rem;
  color: var(--dark);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.section-subtext {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-teal:hover {
  background: #007d7a;
  box-shadow: 0 8px 20px rgba(176,137,104,0.2);
}

.btn-teal-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-teal-outline:hover {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(176,137,104,0.2);
}

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

.btn-red:hover {
  background: #c4362d;
  box-shadow: 0 8px 20px rgba(201,85,106,0.2);
}

.btn-red-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.btn-red-outline:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201,85,106,0.2);
}

.btn-full {
  width: 100%;
}

/* ========================================
   LAVENDER DECORATION
   ======================================== */
.lavender-decoration {
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* ========================================
   MUSIC SECTION
   ======================================== */
.music-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.music-bg {
  position: absolute;
  inset: 0;
}

.music-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.music-content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

/* ========================================
   PHOTO GALLERY
   ======================================== */
/* Story Header */
.story-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Story Timeline */
.story-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
}

.story-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  transform: translateX(-50%);
}

.story-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.story-item:last-child {
  margin-bottom: 0;
}

.story-dot {
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--teal), 0 0 15px rgba(176,137,104,0.3);
  z-index: 2;
  position: relative;
}

.story-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-photo:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-photo:hover img {
  transform: scale(1.08);
}

.story-photo-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(176,137,104,0.15), transparent 60%);
  pointer-events: none;
}

.story-text {
  padding: 1rem 0;
}

.story-left .story-text {
  text-align: left;
}

.story-right .story-text {
  text-align: right;
}

.story-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.5rem;
  position: relative;
}

.story-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--teal);
  margin-top: 0.4rem;
}

.story-right .story-label::after {
  margin-left: auto;
}

.story-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.story-gif {
  text-align: center;
  margin-top: 3.5rem;
}

.story-gif img {
  width: 160px;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(176,137,104,0.15);
  border: 3px solid rgba(176,137,104,0.2);
}

/* Story mobile */
@media (max-width: 768px) {
  .story-line {
    left: 20px;
  }

  .story-item {
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
  }

  .story-item.story-left,
  .story-item.story-right {
    direction: ltr;
  }

  .story-item.story-left .story-photo {
    grid-column: 2;
    grid-row: 1;
  }

  .story-item.story-left .story-dot {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 1.5rem;
  }

  .story-item.story-left .story-text {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .story-item.story-right .story-text {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .story-item.story-right .story-dot {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 0.5rem;
  }

  .story-item.story-right .story-photo {
    grid-column: 2;
    grid-row: 2;
  }

  .story-right .story-label::after {
    margin-left: 0;
  }

  .story-right .story-text {
    text-align: left;
  }
}

/* ========================================
   QUOTE
   ======================================== */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.quote-text p {
  font-size: 1.125rem;
  color: var(--dark);
  line-height: 1.8;
  font-weight: 300;
}

.quote-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  aspect-ratio: 6/5;
}

.quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   EVENTS
   ======================================== */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-top: 2px solid var(--teal);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.event-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark);
}

.event-row svg {
  color: var(--teal);
  stroke: var(--teal);
  flex-shrink: 0;
}

.event-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-top: 0.5rem;
}

.event-location svg {
  stroke: var(--teal);
}

.event-venue {
  font-weight: 500;
  font-size: 0.875rem;
}

.event-address {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ========================================
   EVENT DETAILS
   ======================================== */
.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .event-detail-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

.detail-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--red));
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.detail-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--border);
}

.detail-badge {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.detail-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.detail-meta-item svg {
  stroke: var(--teal);
  flex-shrink: 0;
}

.detail-venue {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  background: var(--cream);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-venue svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.detail-venue strong {
  display: block;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.detail-venue span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.detail-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--cream);
  border-radius: 20px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--border);
}

.detail-chip svg {
  stroke: var(--teal);
  flex-shrink: 0;
}

.detail-note {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.detail-map-buttons {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.map-btn.google {
  background: var(--teal);
  color: #fff;
}

.map-btn.google:hover {
  box-shadow: 0 5px 18px rgba(176,137,104,0.35);
  transform: translateY(-2px);
}

.map-btn.google svg {
  stroke: #fff;
}

.map-btn.apple {
  background: var(--dark);
  color: #fff;
}

@media (max-width: 500px) {
  .detail-card {
    padding: 2rem 1.5rem;
  }
  .detail-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .detail-map-buttons {
    flex-direction: column;
  }
  .map-btn {
    justify-content: center;
  }
}

.map-btn.apple:hover {
  box-shadow: 0 4px 15px rgba(59,47,47,0.35);
  transform: translateY(-2px);
}

.map-btn.apple svg {
  stroke: #fff;
}

/* ========================================
   FORMS
   ======================================== */
.form-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

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

.form-group label:first-child {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(176,137,104,0.1), 0 4px 12px rgba(176,137,104,0.08);
}

.form-group textarea {
  resize: none;
}

.file-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--cream);
}

.file-upload-area:hover {
  border-color: var(--teal);
  background: #fff;
}

.file-upload-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.file-upload-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.file-preview:empty {
  margin-top: 0;
}

.file-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.file-preview-item img,
.file-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-item .remove-file {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}


.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.radio-label input {
  accent-color: var(--teal);
}

/* Success card */
.success-card {
  background: #fff;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  animation: zoomFadeIn 0.5s ease;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--teal);
}

.success-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--muted);
}

.success-card svg {
  margin: 0 auto 1rem;
}

@keyframes zoomFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ========================================
   QUICK LCV FORM
   ======================================== */
.quick-lcv-wrapper {
  max-width: 480px;
  margin: 2.5rem auto 0;
}

.quick-lcv-form {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 8px 30px rgba(176,137,104,0.08), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(176,137,104,0.1);
  position: relative;
  overflow: hidden;
}

.quick-lcv-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #00b4af, var(--teal));
}

.quick-lcv-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.quick-lcv-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--dark);
}

.quick-lcv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quick-lcv-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.toggle-option input {
  display: none;
}

.toggle-btn {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid var(--border);
  color: var(--muted);
}

.toggle-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.toggle-option input:checked ~ .toggle-btn.yes {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(176,137,104,0.25);
}

.toggle-option input:checked ~ .toggle-btn.no {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(201,85,106,0.25);
}

.quick-lcv-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 12px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.quick-lcv-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176,137,104,0.3);
}

.quick-lcv-success {
  background: #fff;
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  box-shadow: 0 8px 30px rgba(176,137,104,0.08), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(176,137,104,0.1);
  text-align: center;
  animation: zoomFadeIn 0.5s ease;
}

.success-check {
  margin-bottom: 1.25rem;
  animation: checkPop 0.5s ease 0.2s both;
}

.quick-lcv-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.quick-lcv-success p {
  color: var(--muted);
  line-height: 1.7;
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 500px) {
  .quick-lcv-row {
    grid-template-columns: 1fr;
  }
  .quick-lcv-form {
    padding: 2rem 1.25rem 1.5rem;
  }
}

/* ========================================
   GUEST BOOK
   ======================================== */
.guestbook-form {
  background: var(--cream);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(176,137,104,0.1);
}

.guestbook-form textarea {
  resize: none;
}

.guestbook-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guest-message {
  background: rgba(245,240,235,0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.guest-message:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(176,137,104,0.3);
}

.guest-text {
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.guest-name {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.guest-message.new-message {
  animation: slideInTop 0.5s ease;
}

@keyframes slideInTop {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 0;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  z-index: 10;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  animation: zoomFadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   GIFT LIST
   ======================================== */
.gift-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.gift-card svg {
  margin: 0 auto 1rem;
  transition: transform 0.3s;
}

.gift-card:hover svg {
  transform: scale(1.1);
}

.gift-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.gift-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.bank-info {
  background: var(--cream);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--dark);
}

.bank-info code {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
}

/* ========================================
   AFTER PARTY
   ======================================== */
.party-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-top: 2rem;
}

.party-icon {
  display: block;
  margin: 0 auto 1.5rem;
  animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.party-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: var(--cream);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.contact-person {
  margin-bottom: 1.5rem;
}

.contact-person strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--teal);
  transition: transform 0.3s;
}

.contact-link:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

.contact-link svg {
  stroke: currentColor;
}

.contact-link.whatsapp {
  color: #16a34a;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-couple {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.heart-pulse {
  color: var(--red);
  display: inline-block;
  animation: heartPulse 1.5s ease-in-out infinite;
}

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

.footer-brand {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 768px) {

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

  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .couple-name-nav {
    display: block;
  }
}

@media (max-width: 1023px) {
  .couple-name-nav {
    display: none;
  }
  .nav-desktop {
    display: flex;
    gap: 1.25rem;
  }
  .nav-desktop .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.1rem;
    text-transform: uppercase;
  }
  .header-inner {
    justify-content: center;
  }
}
