:root {
    --color-primary: #d4a5a5;
    --color-secondary: #f4e4e4;
    --color-accent: #c77f7f;
    --color-gold: #d4af37;
    --color-dark-gold: #8c8059;
    --color-rose: #ffb6c1;
    --color-dark: #2c2c2c;
    --color-text-light: #ffffff;
    --color-text-dark: #333333;
    
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    overflow-x: hidden;
    background: #fce4ec;
    color: var(--color-text-light);
    position: relative;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4a5a5 0%, #c77f7f 50%, #a26969 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, transform 1s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.couple-story {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-rings {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringFloat 3s ease-in-out infinite;
}

.ring-1 {
    left: 0;
    top: 20px;
    border-color: var(--color-gold);
    animation-delay: 0s;
}

.ring-2 {
    right: 0;
    top: 20px;
    border-color: rgba(255, 255, 255, 0.9);
    animation-delay: 0.5s;
}

.couple-names {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.ampersand {
    font-family: var(--font-script);
    font-size: 1.2em;
    color: var(--color-gold);
    margin: 0 0.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.loading-quote {
    font-family: var(--font-elegant);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 2rem;
}

.loading-hearts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.loading-heart {
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    animation: heartBeat 1.5s ease-in-out infinite;
    position: relative;
}

.loading-heart:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-heart:nth-child(3) {
    animation-delay: 0.6s;
}

.loading-heart::before,
.loading-heart::after {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.loading-heart::before {
    top: -10px;
    left: 0;
}

.loading-heart::after {
    left: 10px;
    top: 0;
}

/* Canvas Background - Cinematic 3D Scene */
#scene-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    background: radial-gradient(ellipse at center, rgba(252, 228, 236, 0.3) 0%, rgba(212, 165, 165, 0.5) 100%);
}

/* Decorative Florals */
.floral-left,
.floral-right {
    position: fixed;
    width: 300px;
    height: 400px;
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

.floral-left {
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300"><path d="M50 50Q30 80 40 110Q50 140 30 170" stroke="%23d4a5a5" stroke-width="2" fill="none"/><circle cx="40" cy="50" r="15" fill="%23f4e4e4"/><circle cx="35" cy="110" r="12" fill="%23d4a5a5"/><circle cx="30" cy="170" r="18" fill="%23ffb6c1"/></svg>');
}

.floral-right {
    bottom: 0;
    right: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300"><path d="M150 250Q170 220 160 190Q150 160 170 130" stroke="%23d4a5a5" stroke-width="2" fill="none"/><circle cx="160" cy="250" r="15" fill="%23f4e4e4"/><circle cx="165" cy="190" r="12" fill="%23d4a5a5"/><circle cx="170" cy="130" r="18" fill="%23ffb6c1"/></svg>');
}

/* Cinematic Depth Overlay */
.cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(to bottom, rgba(252, 228, 236, 0.1) 0%, transparent 30%, transparent 70%, rgba(212, 165, 165, 0.2) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Main Wrapper */
.main-wrapper {
    position: relative;
    z-index: 3;
    transform-style: preserve-3d;
    overflow: hidden;
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
    transform-style: preserve-3d;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease 0.5s both;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 30px;
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.save-date {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-light);
    text-shadow: 
        0 2px 10px rgba(255, 255, 255, 0.9),
        0 4px 20px rgba(212, 165, 165, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
}

.elegant-ampersand {
    font-family: var(--font-script);
    font-size: 1.3em;
    color: var(--color-gold);
    margin: 0 0.3em;
    display: inline-block;
    animation: glow 3s ease-in-out infinite;
}

.wedding-tagline {
    font-family: var(--font-elegant);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-style: italic;
    color: var(--color-dark-gold);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.wedding-date {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 3px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 4rem;
}

.scroll-indicator {
    margin-top: 4rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--color-accent);
}

/* Section Styling */
section {
    padding: 5rem 2rem;
    position: relative;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
}

.divider-heart {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin: 0 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.section-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    color: var(--color-accent);
    opacity: 0.8;
}

/* Story Section */
.story-section {
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
    box-shadow: 0 8px 32px rgba(212, 165, 165, 0.15);
    overflow: hidden;
}

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

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

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

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

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    font-size: 3rem;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 4px solid var(--color-accent);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    margin: 0 2rem;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.timeline-content p {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    opacity: 0.9;
}

/* Countdown Section */
.countdown-section {
    background: rgba(212, 165, 165, 0.15);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    transform-style: preserve-3d;
    box-shadow: 0 8px 32px rgba(212, 165, 165, 0.15);
}

.countdown-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.countdown-item {
    position: relative;
}

.countdown-circle {
    position: relative;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.countdown-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-track {
    fill: none;
    stroke: rgba(212, 165, 165, 0.2);
    stroke-width: 8;
}

.countdown-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s ease;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-white);
    opacity: 0.7;
    display: block;
    margin-top: 0.5rem;
}

/* Details Section */
.details-section {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.detail-highlight {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 600;
    margin: 0.5rem 0;
}

.detail-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    opacity: 0.8;
}

.detail-btn {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.detail-btn:hover {
    background: var(--color-dark);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Quote Section */
.quote-section {
    background: rgba(212, 165, 165, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 6rem 2rem;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: var(--font-script);
    font-size: 8rem;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 0;
    margin-bottom: 1rem;
}

.quote-text {
    font-family: var(--font-elegant);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* RSVP Section */
.rsvp-section {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.rsvp-section .section-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    color: var(--color-text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
}

/* RSVP Form Container (Inline) */
.rsvp-form-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.5s ease;
}

.rsvp-form-container.show {
    animation: slideDownFade 0.6s ease forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px;
    }
}

/* Fade out animation when closing */
.rsvp-form-container:not(.show) {
    animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px;
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
        max-height: 0;
    }
}

.rsvp-form-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 0.5rem;
}

.rsvp-form-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    color: var(--color-text-dark);
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.rsvp-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.rsvp-btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn {
    background: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
}

.primary-btn:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.secondary-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.wedding-footer {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.footer-names {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-date {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.footer-hearts {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    color: var(--color-accent);
}

.footer-text {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.8;
}

/* Music Toggle */
.music-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 165, 165, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.music-toggle:hover {
    background: var(--color-accent);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.music-toggle svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 300;
}

.modal-close:hover {
    background: var(--color-dark);
    transform: rotate(90deg);
}

.modal h3 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.modal-venue-name {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-datetime {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.modal-map {
    margin-bottom: 2rem;
}

.modal-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-directions-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.modal-directions-btn:hover {
    background: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* RSVP Form Styles */
.rsvp-form {
    margin-top: 2rem;
}

.modal-subtitle {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(212, 165, 165, 0.3);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.rsvp-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    display: none;
}

.rsvp-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rsvp-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.rsvp-status.loading {
    display: block;
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

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

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

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

@keyframes heartBeat {
    0%, 100% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(45deg) scale(1.3);
    }
}

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

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
}

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

/* Floating Hearts Effect */
.floating-heart {
    position: fixed;
    font-size: 2rem;
    animation: floatUp 8s ease-in infinite;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-icon {
        min-width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .timeline-content {
        text-align: left !important;
        margin: 0 0 0 1.5rem;
    }
    
    .countdown-container {
        gap: 1.5rem;
    }
    
    .countdown-circle {
        width: 140px;
        height: 140px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .rsvp-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rsvp-btn {
        width: 100%;
    }
    
    .rsvp-form-container {
        padding: 2rem 1.5rem;
    }
    
    .music-toggle {
        width: 60px;
        height: 60px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .modal-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .countdown-circle {
        width: 120px;
        height: 120px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .timeline-icon {
        min-width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}