* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ivory: #FFFEF7;
    --cream: #F5F1E8;
    --burgundy: #8B4B5C;
    --burgundy-light: #B8697D;
    --teal: #2D7A7A;
    --teal-light: #4FA8A8;
    --gold: #D4AF37;
    --dark-text: #1A1A1A;
    --light-text: #5A5A5A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--ivory);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 75, 92, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 122, 122, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
    pointer-events: none !important;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loader-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--cream);
    border-top: 3px solid var(--burgundy);
    border-right: 3px solid var(--teal);
    border-bottom: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(139, 75, 92, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--teal);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(45, 122, 122, 0.5);
}

.particle:nth-child(3n) {
    background: var(--burgundy-light);
    box-shadow: 0 0 10px rgba(184, 105, 125, 0.5);
}

.particle:nth-child(5n) {
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation-duration: 20s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-50px) translateX(30px) scale(1.2);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-100px) translateX(50px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-50px) translateX(20px) scale(1.1);
        opacity: 0.5;
    }
}

/* ==============================
   Navigation (Dropdown on Mobile)
   ============================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 254, 247, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  padding: 0.8rem 1rem;
  z-index: 1110;
  transform: translateY(-120%);
  transition: transform 0.4s ease;
  box-shadow: 0 4px 20px rgba(139, 75, 92, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav.visible {
  transform: translateY(0);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Logo ===== */
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--burgundy), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(139, 75, 92, 0.15);
  white-space: nowrap;
}

/* ===== Hamburger ===== */
.nav-toggle {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1200;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

/* ===== Dropdown menu (mobile) ===== */
.nav-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 254, 247, 0.95);
  backdrop-filter: blur(10px);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  animation: dropdownFade 0.4s ease;
}

.nav-links.open {
  display: flex;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy), var(--teal));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--burgundy);
}

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

/* ===== Desktop Layout ===== */
@media (min-width: 900px) {

  .hero {
    min-height: calc(100vh - 90px);
  }

  .hero::before {
    background-attachment: fixed;
    background-position: center top;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    gap: 2rem;
    padding: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* ===== Small Screens (≤450px) ===== */
@media (max-width: 450px) {

  .hero {
    margin-top: 65px;
    min-height: 60vh;
  }

  .hero::before {
    background-size: cover;
    background-position: center center;
  }

  .nav {
    padding: 0.7rem 0.8rem;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-toggle {
    width: 24px;
    height: 18px;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px); /* full height minus nav */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 80px; /* pushes hero below fixed nav */
  overflow: hidden;
  color: var(--dark-text);
  background: linear-gradient(
    rgba(255, 254, 247, 0.85),
    rgba(255, 254, 247, 0.9)
  ); /* fallback if image fails */
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/wed-photo.jpg') center center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(139, 75, 92, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(45, 122, 122, 0.05) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(255, 254, 247, 0.7) 0%, rgba(245, 241, 232, 0.8) 100%);
    z-index: 1;
    pointer-events: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 1;
    animation: fadeInUp 1.5s ease;
}


.hero-content::before {
    content: '✦';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--gold);
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(139, 75, 92, 0.1);
    animation: fadeInScale 1.5s ease forwards;
    z-index: 100;
    opacity: 1;
    position: relative;
}

.hero-ampersand {
    font-size: 4rem;
    display: block;
    margin: 0.5rem 0;
    position: relative;
    height: 4rem;
}


.hero-ampersand::before {
    content: '💍';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    animation: ringRotate 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
}

@keyframes ringRotate {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% { 
        transform: translate(-50%, -50%) rotate(180deg) scale(1.15);
    }
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator::after {
    content: '↓';
    font-size: 2rem;
    background: linear-gradient(180deg, var(--burgundy), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 5px rgba(139, 75, 92, 0.3));
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
    animation: slideInFromLeft 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--teal));
    border-radius: 10px;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(139, 75, 92, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.card::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;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(139, 75, 92, 0.2);
    border-color: var(--gold);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--burgundy), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-text {
    color: var(--light-text);
    line-height: 1.8;
}

/* Color Swatches */
.colors-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.color-swatch {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.color-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.color-circle::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    opacity: 0;
    z-index: -1;
}


.color-name {
    font-weight: 600;
    color: var(--dark-text);
}

/* Invitation Type Badge */
.invitation-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light), var(--teal));
    color: white;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(139, 75, 92, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.invitation-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: badgeShine 3s ease-in-out infinite;
}

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

@keyframes badgeShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* RSVP Forms */
.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(139, 75, 92, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: fadeInUp 0.8s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: formRotate 20s linear infinite;
}

@keyframes formRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(45, 122, 122, 0.1), 0 5px 15px rgba(139, 75, 92, 0.1);
    transform: translateY(-2px);
    background: white;
}

.form-input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px rgba(139, 75, 92, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--burgundy-light), var(--teal));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 75, 92, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    background: linear-gradient(135deg, rgba(45, 122, 122, 0.1), rgba(212, 175, 55, 0.1));
    border: 2px solid var(--teal);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
    display: none;
    animation: successAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(45, 122, 122, 0.2);
}

@keyframes successAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 4rem;
    color: var(--teal);
    margin-bottom: 1rem;
    animation: successIcon 0.8s ease;
    display: inline-block;
}

@keyframes successIcon {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.restriction-notice {
    background: linear-gradient(135deg, rgba(139, 75, 92, 0.1), rgba(212, 175, 55, 0.1));
    border: 2px solid var(--burgundy);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
    animation: noticeSlide 0.5s ease 0.3s backwards;
}

@keyframes noticeSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gift Section */
.gift-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gift-notice {
    background: linear-gradient(135deg, rgba(139, 75, 92, 0.15), rgba(212, 175, 55, 0.15));
    border: 2px solid var(--burgundy);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--burgundy);
    animation: giftPulse 2s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(139, 75, 92, 0.2);
}

@keyframes giftPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 20px rgba(139, 75, 92, 0.2); }
    50% { transform: scale(1.02); box-shadow: 0 8px 30px rgba(139, 75, 92, 0.3); }
}

.account-details {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(139, 75, 92, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

.account-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(139, 75, 92, 0.2);
}

.account-item {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.account-item:hover {
    padding-left: 10px;
    border-bottom-color: var(--teal);
}

.account-item:last-child {
    border-bottom: none;
}

.account-label {
    font-weight: 600;
    color: var(--light-text);
}

.account-value {
    font-weight: 700;
    background: linear-gradient(135deg, var(--burgundy), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

/* Map Container */
.map-container {
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    height: 450px;
    background: var(--cream);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.map-link {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(45, 122, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.map-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.map-link:hover::before {
    width: 300px;
    height: 300px;
}

.map-link:hover {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 75, 92, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--teal) 50%, var(--burgundy-light) 100%);
    color: white;
    text-align: center;
    padding: 3rem 5%;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: footerPulse 15s ease-in-out infinite;
}

@keyframes footerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.footer-text {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    background-size: contain;
    background-position: top center;
    min-height: 70vh;
  }

    .hero::before {
        background-attachment: fixed;
        background-position: center top;
    }

    .hero-ampersand {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

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

    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Ensure iframe can receive input */
#googleFormContainer iframe {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Ensure particles or loaders stay below the form */
#particles,
.page-loader {
  z-index: 1;
}

/* Ensure main content sits above background */
.form-wrapper,
section,
nav {
  position: relative;
  z-index: 5;
}