/* Modern Elegant Wedding Website - The Most Beautiful Design Ever */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Luxury Wedding Color Palette */
:root {
    /* Primary Colors - Elegant & Sophisticated */
    --primary-navy: #1A2B42;
    --secondary-navy: #2C3E50;
    --warm-gold: #D4A574;
    --rich-gold: #B8860B;
    --champagne: #F7E7CE;
    --cream: #FAF7F2;
    --pure-white: #FFFFFF;
    --ivory: #FFFEF7;

    /* Accent Colors */
    --burgundy: #8B4B6B;
    --deep-burgundy: #722F37;
    --sage-green: #9CAF88;
    --soft-gold: #E6D7B7;
    --charcoal: #2D3436;
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --light-gray: #F1F2F6;

    /* Gradients */
    --gradient-navy: linear-gradient(135deg, #1A2B42 0%, #2C3E50 100%);
    --gradient-gold: linear-gradient(135deg, #D4A574 0%, #B8860B 100%);
    --gradient-cream: linear-gradient(135deg, #FAF7F2 0%, #FFFEF7 100%);
    --gradient-luxury: linear-gradient(135deg, #1A2B42 0%, #8B4B6B 50%, #D4A574 100%);
    --gradient-warm: linear-gradient(135deg, #FFFEF7 0%, #F7E7CE 100%);

    /* Typography */
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;

    /* Enhanced Shadows */
    --shadow-soft: 0 10px 40px rgba(26, 43, 66, 0.15);
    --shadow-medium: 0 15px 60px rgba(26, 43, 66, 0.25);
    --shadow-strong: 0 20px 80px rgba(26, 43, 66, 0.35);
    --shadow-luxury: 0 25px 100px rgba(26, 43, 66, 0.4);

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    --transition-bounce: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: all 0.3s ease;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--gradient-cream);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(212, 165, 116, 0.02) 25%,
        rgba(247, 231, 206, 0.03) 50%,
        rgba(212, 165, 116, 0.02) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--gradient-pearl);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.7;
    animation: float 12s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(212, 165, 116, 0.4));
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.float-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.float-element:nth-child(3) { top: 30%; left: 70%; animation-delay: 4s; }
.float-element:nth-child(4) { top: 80%; left: 20%; animation-delay: 6s; }
.float-element:nth-child(5) { top: 40%; left: 90%; animation-delay: 1s; }
.float-element:nth-child(6) { top: 70%; left: 5%; animation-delay: 3s; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 231, 206, 0.9) 100%);
    backdrop-filter: blur(25px);
    z-index: 9999;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 5px 30px rgba(26, 43, 66, 0.1);
    transform: translateY(0);
    opacity: 1;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 231, 206, 0.95) 100%);
    box-shadow: 0 8px 40px rgba(26, 43, 66, 0.15);
    padding: 12px 0;
    backdrop-filter: blur(30px);
    border-bottom: 2px solid rgba(212, 165, 116, 0.3);
}

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

.nav-logo {
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.logo-main {
    font-family: var(--font-script);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-navy);
    text-shadow: 0 2px 10px rgba(26, 43, 66, 0.2);
}

.logo-ampersand {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--warm-gold);
    margin: 0 10px;
    font-style: italic;
}

.logo-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 2px;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    animation: fadeInDown 1s ease-out 0.2s both;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.nav-link i {
    font-size: 0.8rem;
    color: var(--warm-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-navy);
    transform: translateY(-2px);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    z-index: 4;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes border-shimmer {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 40px 40px, -40px -40px;
    }
}

@keyframes corner-lights {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

/* Creative Hero Decorations */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.floating-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(212, 165, 116, 0.2) 0%,
        rgba(247, 231, 206, 0.1) 50%,
        transparent 100%
    );
    backdrop-filter: blur(2px);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.orb-1 {
    top: 15%;
    left: 10%;
    animation: float-drift 18s ease-in-out infinite;
}

.orb-2 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation: float-drift 22s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.orb-3 {
    bottom: 25%;
    left: 20%;
    width: 100px;
    height: 100px;
    animation: float-drift 20s ease-in-out infinite;
    animation-delay: -10s;
}

.orb-4 {
    bottom: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    animation: float-drift 25s ease-in-out infinite reverse;
    animation-delay: -15s;
}

.floating-sparkle {
    position: absolute;
    font-size: 2rem;
    animation: sparkle-dance 8s ease-in-out infinite;
    opacity: 0.7;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.sparkle-1 {
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 40%;
    right: 30%;
    animation-delay: -3s;
}

.sparkle-3 {
    bottom: 30%;
    left: 15%;
    font-size: 1.5rem;
    animation-delay: -6s;
}

@keyframes float-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -20px) scale(1.1) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -40px) scale(0.9) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(-40px, 10px) scale(1.05) rotate(270deg);
        opacity: 0.7;
    }
}

@keyframes sparkle-dance {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translate(20px, -30px) scale(1.3) rotate(180deg);
        opacity: 1;
    }
    50% {
        transform: translate(-15px, -20px) scale(0.8) rotate(360deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(25px, 15px) scale(1.1) rotate(540deg);
        opacity: 0.9;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(247, 231, 206, 0.12) 0%, transparent 50%);
    z-index: 1;
    opacity: 0.6;
}

@keyframes floating-lights {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translate(-10px, -20px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translate(20px, -10px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translate(-15px, 15px) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes pattern-shift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 200px 200px, -150px -150px;
    }
}

.hero-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.75)
        contrast(1.4)
        saturate(1.2)
        sepia(5%)
        hue-rotate(8deg);
    transform: scale(1.02);
    transition: all 2s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(
            135deg,
            rgba(26, 43, 66, 0.7) 0%,
            rgba(139, 75, 107, 0.4) 30%,
            rgba(212, 165, 116, 0.2) 60%,
            rgba(26, 43, 66, 0.8) 100%
        ),
        radial-gradient(
            circle at center,
            transparent 40%,
            rgba(0, 0, 0, 0.3) 100%
        );
    z-index: 2;
}

@keyframes overlay-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

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

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    gap: 40px;
}

/* Stunning Simplified Hero */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 85vh;
    padding: 120px 40px 80px;
    max-width: 800px;
    margin: 0 auto;
    gap: 30px;
}

.hero-text {
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease-out 0.3s both;
    position: relative;
    z-index: 5;
}

.bride-name,
.groom-name {
    display: block;
    color: white;
    font-weight: 600;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
    position: relative;
    letter-spacing: 1px;
}

.bride-name {
    background: linear-gradient(135deg, var(--warm-gold) 0%, #E6D7B7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(212, 165, 116, 0.8));
}

.ampersand {
    font-family: var(--font-serif);
    font-size: 0.4em;
    color: var(--warm-gold);
    margin: 15px 0;
    display: block;
    font-weight: 300;
    font-style: italic;
    opacity: 0.9;
}

.hero-subtitle {
    animation: fadeInUp 1.5s ease-out 0.6s both;
    position: relative;
    z-index: 5;
}

.wedding-date {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--warm-gold);
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.bible-verse {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 25px 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-button {
    animation: fadeInUp 1.5s ease-out 0.9s both;
    margin-top: 20px;
}

.discover-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-gold);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.discover-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.discover-btn i {
    font-size: 1.2rem;
    animation: heartBeat 2s ease-in-out infinite;
}

.scroll-down {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1.2s ease-out 1.2s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    animation: float-bounce 3s ease-in-out infinite;
}

.scroll-arrow:hover {
    transform: scale(1.1);
    border-color: var(--warm-gold);
    box-shadow:
        0 12px 48px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.scroll-arrow i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    animation: arrow-bounce 2s ease-in-out infinite;
}

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

@keyframes float-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.cute-header .section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cute-header .section-title i {
    color: var(--warm-gold);
    font-size: 0.8em;
    animation: gentle-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(212, 165, 116, 0.8));
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Countdown Section - Magical Design */
.countdown-section {
    padding: 120px 0;
    background:
        linear-gradient(135deg,
            var(--primary-navy) 0%,
            var(--charcoal) 30%,
            var(--burgundy) 60%,
            var(--primary-navy) 100%
        ),
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 231, 206, 0.1) 0%, transparent 50%);
    color: white;
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(247, 231, 206, 0.08) 0%, transparent 45%);
    z-index: 1;
    opacity: 0.7;
}

@keyframes floating-aurora {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(-15px, 20px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(30px, 10px) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes diamond-drift {
    0% {
        background-position: 0 0, 0 0;
        transform: rotate(0deg);
    }
    100% {
        background-position: 150px 150px, -200px -200px;
        transform: rotate(360deg);
    }
}

.countdown-container {
    position: relative;
    z-index: 2;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.time-unit {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(247, 231, 206, 0.12) 50%,
            rgba(212, 165, 116, 0.1) 100%
        );
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 165, 116, 0.3);
    padding: 40px 30px;
    text-align: center;
    min-width: 160px;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: gentle-glow-pulse 4s ease-in-out infinite;
}

@keyframes gentle-glow-pulse {
    0%, 100% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 0 rgba(212, 165, 116, 0);
    }
    50% {
        box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 30px rgba(212, 165, 116, 0.4);
    }
}

.time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            transparent 0%,
            rgba(212, 165, 116, 0.2) 25%,
            transparent 50%,
            rgba(247, 231, 206, 0.2) 75%,
            transparent 100%
        );
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: magical-shimmer 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes magical-shimmer {
    0% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateX(0%) rotate(2deg);
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(0deg);
        opacity: 0;
    }
}



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

.time-unit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(232, 180, 184, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.time-unit:hover {
    transform: translateY(-15px) scale(1.08) rotate(3deg);
    border-color: var(--warm-gold);
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(247, 231, 206, 0.2) 50%,
            rgba(212, 165, 116, 0.15) 100%
        );
    box-shadow:
        0 30px 80px rgba(212, 165, 116, 0.5),
        0 0 50px rgba(255, 215, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    animation: hover-magic 0.6s ease-out;
}

.time-unit:hover::before {
    animation-duration: 2s;
}

@keyframes hover-magic {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) scale(1.12) rotate(5deg);
    }
    100% {
        transform: translateY(-15px) scale(1.08) rotate(3deg);
    }
}

/* Staggered floating animations for each unit */
.days-unit {
    animation: gentle-glow-pulse 4s ease-in-out infinite, magical-float 8s ease-in-out infinite;
    animation-delay: 0s, 0s;
}

.hours-unit {
    animation: gentle-glow-pulse 4s ease-in-out infinite, magical-float 8s ease-in-out infinite;
    animation-delay: 0.5s, 1s;
}

.minutes-unit {
    animation: gentle-glow-pulse 4s ease-in-out infinite, magical-float 8s ease-in-out infinite;
    animation-delay: 1s, 2s;
}

.seconds-unit {
    animation: gentle-glow-pulse 4s ease-in-out infinite, magical-float 8s ease-in-out infinite;
    animation-delay: 1.5s, 3s;
}

@keyframes magical-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

.time-value {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg,
        #FFD700 0%,
        #FFF8DC 25%,
        var(--warm-gold) 50%,
        #E6C068 75%,
        #DAA520 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    position: relative;
    z-index: 3;
    animation: number-glow 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    line-height: 1;
}

.time-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 15px;
    font-weight: 600;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.time-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 1.8rem;
    animation: gentle-pulse 2.5s ease-in-out infinite;
    z-index: 3;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.time-decoration {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: gentle-pulse 2s ease-in-out infinite;
}


.countdown-message {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(247, 231, 206, 0.15) 100%);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 40px 50px;
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(255, 255, 255, 0.3);
}

.countdown-message p {
    font-size: 1.4rem;
    color: white;
    font-style: italic;
    line-height: 1.6;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Story Section */
.story-section {
    padding: 120px 0;
    background: var(--gradient-cream);
}

.story-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.story-timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(
        circle at center,
        rgba(212, 165, 116, 0.1) 0%,
        rgba(247, 231, 206, 0.05) 50%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--warm-gold) 20%,
        var(--champagne) 50%,
        var(--warm-gold) 80%,
        transparent 100%
    );
    border-radius: 2px;
    opacity: 0.8;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(2) {
    flex-direction: row-reverse;
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 231, 206, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow:
        0 8px 32px rgba(212, 165, 116, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.8),
        0 0 0 6px rgba(212, 165, 116, 0.2);
    border: 2px solid rgba(212, 165, 116, 0.4);
    z-index: 3;
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.timeline-icon:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow:
        0 12px 48px rgba(212, 165, 116, 0.4),
        0 0 0 3px rgba(255, 255, 255, 1),
        0 0 0 8px rgba(212, 165, 116, 0.3);
}

.timeline-content {
    width: 42%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 247, 242, 0.9) 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow:
        0 10px 40px rgba(212, 165, 116, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid rgba(212, 165, 116, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-gold) 0%, var(--champagne) 50%, var(--warm-gold) 100%);
    opacity: 0.6;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 15px 60px rgba(212, 165, 116, 0.25),
        0 0 0 1px rgba(212, 165, 116, 0.3);
    border-color: rgba(212, 165, 116, 0.3);
}

.timeline-content:hover::before {
    opacity: 1;
    height: 4px;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.story-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.timeline-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* Artistic decorative elements for timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle at center,
        rgba(212, 165, 116, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: gentle-float 6s ease-in-out infinite;
}

.timeline-item:nth-child(1)::before { animation-delay: 0s; }
.timeline-item:nth-child(2)::before { animation-delay: 2s; }
.timeline-item:nth-child(3)::before { animation-delay: 4s; }

@keyframes gentle-float {
    0%, 100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(-50%) translateY(-10px) scale(1.1);
        opacity: 0.6;
    }
}

/* Details Section */
.details-section {
    padding: 120px 0;
    background: var(--gradient-cream);
}

.details-section .section-subtitle {
    font-size: 1.4rem;
    color: var(--primary-navy);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px 40px;
    border-radius: 25px;
    border: 2px solid var(--warm-gold);
    box-shadow: var(--shadow-soft);
}

/* Beautiful Date Hero */
.date-hero {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--rich-gold) 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    margin-bottom: 80px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    animation: fadeInUp 0.8s ease-out;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.date-hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.date-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-hearts span {
    position: absolute;
    font-size: 2rem;
    animation: floatAround 8s ease-in-out infinite;
    opacity: 0.3;
}

.floating-hearts span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-hearts span:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.floating-hearts span:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

.floating-hearts span:nth-child(4) {
    bottom: 20%;
    right: 25%;
    animation-delay: 6s;
}

.date-hero-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.date-hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.date-number {
    font-family: var(--font-serif);
    font-size: 8rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: gentle-pulse 3s ease-in-out infinite;
}

.date-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.date-month {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
}

.date-year {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.date-hero-subtitle {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 25px;
    opacity: 0.95;
}

.date-countdown-mini {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    color: var(--primary-navy);
    padding: 20px 40px;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 700;
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.8);
    display: inline-block;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.5);
    animation: gentle-pulse 3s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(26, 43, 66, 0.3);
    position: relative;
    z-index: 10;
    letter-spacing: 1px;
}

/* Wedding Schedule Timeline */
.wedding-schedule {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.schedule-title {
    font-family: var(--font-script);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.schedule-title i {
    color: var(--warm-gold);
    animation: gentle-pulse 3s ease-in-out infinite;
}

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

.schedule-item {
    display: grid;
    grid-template-columns: 120px 60px 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 60px;
    animation: fadeInLeft 0.8s ease-out;
}

.schedule-item:nth-child(2) { animation-delay: 0.2s; }
.schedule-item:nth-child(3) { animation-delay: 0.4s; }

.schedule-time {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--champagne);
}

.time-main {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    display: block;
    line-height: 1;
}

.time-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.connector-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--warm-gold);
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--champagne);
    margin-top: 30px;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.connector-dot.featured {
    background: var(--primary-gold);
    width: 25px;
    height: 25px;
    box-shadow: 0 0 0 3px var(--primary-gold), 0 0 0 6px white, 0 0 0 8px var(--champagne);
}

.connector-line {
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--champagne), var(--warm-gold));
    margin-top: 10px;
    border-radius: 2px;
}

.connector-line.last {
    height: 50px;
}

.schedule-content {
    padding-top: 10px;
}

.schedule-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--champagne);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.schedule-card.featured {
    border-color: var(--primary-gold);
    background: var(--gradient-cream);
    transform: scale(1.02);
}

.schedule-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-luxury);
    border-color: var(--warm-gold);
    background: linear-gradient(135deg, white 0%, var(--champagne) 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.schedule-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: gentle-bounce 3s ease-in-out infinite;
}

.morning-icon {
    background: linear-gradient(135deg, #FFE0B2 0%, #FFF8E1 100%);
    border: 3px solid #FF9800;
}

.afternoon-icon {
    background: linear-gradient(135deg, #E1BEE7 0%, #F3E5F5 100%);
    border: 3px solid #9C27B0;
}

.evening-icon {
    background: linear-gradient(135deg, #C8E6C9 0%, #E8F5E8 100%);
    border: 3px solid #4CAF50;
}

.schedule-title-section h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 5px;
    font-weight: 600;
}

.schedule-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--warm-gold);
    font-weight: 500;
    margin-bottom: 20px;
}

.schedule-location i {
    font-size: 1.1rem;
}

.schedule-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.schedule-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.highlight {
    background: var(--champagne);
    color: var(--primary-navy);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--champagne);
}

/* Wedding Call to Action */
.wedding-cta {
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--champagne) 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--champagne);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-content {
    position: relative;
    z-index: 3;
}

.cta-content h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-soft);
}

.cta-btn.primary {
    background: var(--gradient-gold);
    color: white;
}

.cta-btn.secondary {
    background: white;
    color: var(--primary-navy);
    border: 2px solid var(--warm-gold);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-element {
    position: absolute;
    font-size: 2.5rem;
    animation: floatAround 10s ease-in-out infinite;
    opacity: 0.2;
}

.decoration-element:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-element:nth-child(2) {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

.decoration-element:nth-child(3) {
    top: 20%;
    right: 20%;
    animation-delay: 6s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-25px) rotate(270deg);
    }
}

/* Map Section */
.map-section {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--champagne);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.map-title {
    font-family: var(--font-script);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.map-title i {
    color: var(--warm-gold);
    animation: gentle-pulse 3s ease-in-out infinite;
}

.interactive-map-container {
    margin-bottom: 40px;
}

.wedding-map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 3px solid var(--warm-gold);
    position: relative;
    z-index: 1;
}

.map-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.map-btn {
    background: var(--gradient-gold);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.map-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.map-btn.directions {
    background: var(--gradient-gold);
}

.map-btn i {
    font-size: 1.1rem;
}

.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-card {
    background: var(--gradient-cream);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--champagne);
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.location-card.church-card:hover {
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--soft-lavender) 100%);
}

.location-card.garden-card:hover {
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--champagne) 100%);
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.location-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.location-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.location-time {
    background: var(--primary-gold);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: var(--gradient-cream);
}

.photo-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 600px;
}

.gallery-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    background: white;
    animation: fadeInUp 0.8s ease-out;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
}

.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.3s; }

.featured-photo {
    grid-column: 1;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-luxury);
    border: 3px solid var(--warm-gold);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    min-height: 300px;
}

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

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.gallery-item:hover .photo-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: center;
    width: 100%;
}

.overlay-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--champagne);
}

.overlay-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.view-btn {
    background: var(--gradient-gold);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(232, 180, 184, 0.4);
}

.photo-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--warm-gold);
    border-radius: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.gallery-item:hover .photo-frame {
    opacity: 1;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

/* RSVP Section */
.rsvp-section {
    padding: 120px 0;
    background: var(--gradient-gold);
    color: white;
    position: relative;
    overflow: hidden;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M500,100 Q600,200 500,300 Q400,200 500,100" fill="%23FFF" opacity="0.05"/><path d="M200,400 Q300,500 200,600 Q100,500 200,400" fill="%23FFF" opacity="0.05"/><path d="M800,600 Q900,700 800,800 Q700,700 800,600" fill="%23FFF" opacity="0.05"/></svg>');
    background-size: 400px 400px;
    animation: gentle-rotate 40s linear infinite;
}

.rsvp-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.rsvp-message {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.rsvp-message h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.rsvp-message p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px;
    transition: var(--transition-bounce);
    animation: fadeInUp 0.8s ease-out;
}

.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.4s; }

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.contact-avatar {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: gentle-bounce 3s ease-in-out infinite;
}

.contact-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.blessing-quote {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.blessing-quote p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.final-message {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.final-message h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.couple-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bride-name,
.groom-name {
    font-family: var(--font-script);
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.heart {
    font-size: 2rem;
    animation: heartBeat 2s ease-in-out infinite;
}

.wedding-date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--charcoal) 100%);
    color: white;
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="%23D4A574" opacity="0.1"/><circle cx="800" cy="300" r="150" fill="%23F7E7CE" opacity="0.1"/></svg>');
    background-size: 600px 600px;
    animation: gentle-rotate 40s linear infinite;
}

.footer-content {
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.footer-heart {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: heartBeat 3s ease-in-out infinite;
}

.footer p {
    margin: 10px 0;
    opacity: 0.8;
}

/* Photo Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.3s ease-out;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close:hover {
    color: var(--warm-gold);
    transform: scale(1.1);
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 40px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes modalZoom {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

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

@keyframes heartBeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

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

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

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

@keyframes gentle-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

@keyframes number-glow {
    0%, 100% {
        text-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    }
    50% {
        text-shadow: 0 6px 25px rgba(255, 215, 0, 0.9);
        filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.3));
    }
}


@keyframes gentle-glow {
    0%, 100% {
        filter: drop-shadow(0 6px 20px rgba(212, 165, 116, 0.9));
    }
    50% {
        filter: drop-shadow(0 8px 30px rgba(212, 165, 116, 1)) drop-shadow(0 0 40px rgba(230, 215, 183, 0.8));
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

.shimmer-effect {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .featured-photo {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Mobile Timeline Animations */
@media (max-width: 768px) {
    .timeline-item {
        animation: slideInFromLeft 0.8s ease-out;
    }

    .timeline-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .timeline-item:nth-child(3) {
        animation-delay: 0.4s;
    }

    .timeline-icon {
        animation: popIn 0.6s ease-out;
        animation-delay: 0.3s;
        animation-fill-mode: both;
    }

    .timeline-content {
        animation: slideInContent 0.8s ease-out;
        animation-delay: 0.4s;
        animation-fill-mode: both;
        transform: translateX(-20px);
        opacity: 0;
    }

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

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

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

    /* Custom Map Marker Styles */
    .custom-marker {
        background: transparent !important;
        border: none !important;
    }

    .marker-content {
        position: relative;
        text-align: center;
    }

    .marker-icon {
        font-size: 2rem;
        background: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border: 3px solid var(--warm-gold);
        animation: markerBounce 2s ease-in-out infinite;
        position: relative;
        z-index: 2;
    }

    .marker-pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--warm-gold);
        opacity: 0.3;
        animation: markerPulse 2s ease-in-out infinite;
    }

    .marker-label {
        position: absolute;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.95);
        padding: 8px 12px;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--primary-navy);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        white-space: nowrap;
        border: 2px solid var(--champagne);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .marker-content:hover .marker-label {
        opacity: 1;
    }

    .church-marker .marker-icon {
        border-color: #9C27B0;
        background: linear-gradient(135deg, #E1BEE7 0%, white 100%);
    }

    .garden-marker .marker-icon {
        border-color: #4CAF50;
        background: linear-gradient(135deg, #C8E6C9 0%, white 100%);
    }

    /* Map Popup Styles */
    .map-popup h3 {
        font-family: var(--font-serif);
        font-size: 1.3rem;
        color: var(--primary-navy);
        margin-bottom: 10px;
    }

    .map-popup p {
        margin: 5px 0;
        color: var(--text-secondary);
    }

    .popup-directions {
        display: inline-block;
        margin-top: 10px;
        background: var(--gradient-gold);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: var(--transition-fast);
    }

    .popup-directions:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(232, 180, 184, 0.4);
    }

    /* Map Fallback Styles */
    .map-fallback {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        background: var(--gradient-cream);
        border-radius: 20px;
        padding: 60px 40px;
        text-align: center;
    }

    .map-fallback i {
        font-size: 4rem;
        color: var(--warm-gold);
        margin-bottom: 20px;
        animation: gentle-pulse 3s ease-in-out infinite;
    }

    .map-fallback h3 {
        font-family: var(--font-serif);
        font-size: 2rem;
        color: var(--primary-navy);
        margin-bottom: 15px;
    }

    .map-fallback p {
        color: var(--text-secondary);
        margin-bottom: 25px;
        font-size: 1.1rem;
    }

    .fallback-btn {
        background: var(--gradient-gold);
        color: white;
        padding: 15px 30px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition-bounce);
        box-shadow: var(--shadow-soft);
    }

    .fallback-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: var(--shadow-medium);
    }

    /* Map Animation Keyframes */
    @keyframes markerBounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes markerPulse {
        0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.3;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.5);
            opacity: 0.1;
        }
        100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.3;
        }
    }

    @keyframes mapSparkle {
        0% {
            opacity: 0;
            transform: scale(0) rotate(0deg);
        }
        50% {
            opacity: 1;
            transform: scale(1) rotate(180deg);
        }
        100% {
            opacity: 0;
            transform: scale(0.5) rotate(360deg);
        }
    }

    @keyframes markerSparkle {
        0% {
            opacity: 0;
            transform: scale(0) translateY(0);
        }
        50% {
            opacity: 1;
            transform: scale(1) translateY(-20px);
        }
        100% {
            opacity: 0;
            transform: scale(0.5) translateY(-40px);
        }
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        padding: 100px 20px 40px;
        min-height: 80vh;
    }

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

    .pre-title .line {
        width: 30px;
    }

    .pre-title .text {
        font-size: 0.9rem;
    }

    .bible-quote {
        padding: 20px;
        margin: 0 auto;
    }

    .date-badge {
        padding: 15px 25px;
        flex-direction: column;
        gap: 8px;
    }

    .date-badge span {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
        gap: 10px;
    }

    .story-timeline {
        padding: 0 20px;
    }

    .story-timeline::before {
        left: 30px;
        transform: none;
        width: 3px;
        background: var(--gradient-gold);
    }

    .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
        margin-bottom: 60px;
        padding-left: 80px;
        position: relative;
    }

    .timeline-item:nth-child(2) {
        flex-direction: row !important;
    }

    .timeline-icon {
        position: absolute;
        left: 0;
        top: 20px;
        transform: none;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border: 3px solid var(--warm-gold);
        box-shadow: 0 0 0 5px var(--pearl-white), var(--shadow-soft);
    }

    .timeline-content {
        width: 100%;
        margin-top: 0;
        padding: 25px 20px;
        margin-left: 0;
        border-left: 3px solid var(--champagne);
        border-radius: 0 20px 20px 0;
        background: linear-gradient(135deg, white 0%, var(--champagne) 100%);
        position: relative;
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 30px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 8px solid white;
    }

    .timeline-content h3 {
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .timeline-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .story-image {
        margin-top: 15px;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid var(--champagne);
    }

    .timeline-img {
        height: 180px;
    }

    /* Mobile Touch Effects */
    .timeline-content:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-medium);
    }

    .timeline-icon:active {
        transform: scale(1.1);
        animation: heartBeat 0.5s ease-in-out;
    }

    /* Enhanced Mobile Timeline Styling */
    .timeline-item:nth-child(2) .timeline-content {
        background: linear-gradient(135deg, white 0%, var(--champagne) 100%);
        border-left-color: var(--warm-gold);
    }

    .timeline-item:nth-child(3) .timeline-content {
        background: linear-gradient(135deg, white 0%, var(--soft-lavender) 100%);
        border-left-color: var(--dusty-rose);
    }

    .countdown-timer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .time-unit {
        padding: 20px 15px;
        min-width: auto;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-separator {
        display: none;
    }

    .date-hero {
        padding: 40px 20px;
        margin-bottom: 50px;
    }

    .date-hero-main {
        flex-direction: column;
        gap: 15px;
    }

    .date-number {
        font-size: 5rem;
    }

    .date-month {
        font-size: 2rem;
    }

    .date-year {
        font-size: 1.2rem;
    }

    .schedule-item {
        grid-template-columns: 80px 40px 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .schedule-time {
        padding: 15px 10px;
    }

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

    .time-period {
        font-size: 0.8rem;
    }

    .connector-dot {
        width: 15px;
        height: 15px;
        margin-top: 20px;
    }

    .connector-dot.featured {
        width: 18px;
        height: 18px;
    }

    .schedule-card {
        padding: 25px 20px;
    }

    .schedule-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .schedule-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .schedule-highlights {
        justify-content: center;
    }

    .wedding-cta {
        padding: 40px 20px;
    }

    .cta-content h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .map-section {
        padding: 40px 20px;
    }

    .wedding-map {
        height: 350px;
        border: 2px solid var(--warm-gold);
    }

    .map-controls {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .map-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 20px;
    }

    .location-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-card {
        padding: 25px 20px;
    }

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

    .contact-card {
        padding: 30px 20px;
    }

    .couple-names {
        flex-direction: column;
        gap: 10px;
    }

    .travel-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        min-height: auto;
    }

    .featured-photo {
        grid-column: 1;
        grid-row: auto;
    }

    .gallery-item:nth-child(2) {
        grid-column: 1;
        grid-row: auto;
    }

    .gallery-item:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        gap: 10px;
    }

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

    .section-title {
        font-size: 2rem !important;
        gap: 10px;
    }

    .countdown-timer {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .time-unit {
        padding: 15px 10px;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 25px;
    }

    .event-card {
        padding: 30px 20px;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-elements,
    .scroll-down,
    #particles-js {
        display: none;
    }

    .hero-section {
        page-break-after: always;
    }

    section {
        page-break-inside: avoid;
    }

    .photo-gallery {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --warm-gold: #B8405E;
        --champagne: #D63384;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
}