/* Floral Locomotive Theme Styles */

/* CSS Variables */
:root {
    --primary-emerald: #10b981;
    --primary-teal: #14b8a6;
    --primary-sky: #0ea5e9;
    --primary-slate: #475569;
    --primary-slate-light: #64748b;
    --bg-emerald-light: #ecfdf5;
    --bg-teal-light: #f0fdfa;
    --bg-sky-light: #e0f2fe;
    --text-white: #ffffff;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.8;
    color: var(--primary-slate);
}

/* Enhanced Hero Section */
.loco-root {
    background: linear-gradient(135deg, #f7fff9 0%, #ffffff 50%, #f4fbff 100%);
}

.hero-content-enhanced {
    position: relative;
    z-index: 20;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.35);
}

.couple-name-enhanced {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 4px 50px rgba(0, 0, 0, 0.25);
    margin-bottom: 0.5rem;
    letter-spacing: 0.12em;
    line-height: 1.1;
}

.ampersand-enhanced {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-emerald);
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.75), 0 2px 15px rgba(0, 0, 0, 0.3);
    margin: 1rem 0;
    display: inline-block;
    animation: emerald-glow 3s ease-in-out infinite alternate;
}

.wedding-date-enhanced {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--primary-slate);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Enhanced Countdown */
.countdown-enhanced {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.countdown-item-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.countdown-item-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
    border-color: var(--primary-emerald);
}

.countdown-number-enhanced {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-emerald);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label-enhanced {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: var(--primary-slate-light);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 500;
}

/* Enhanced Flower Animations */
.flower-parallax-enhanced {
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.flower-float {
    animation: flower-float 6s ease-in-out infinite;
}

.flower-sway {
    animation: flower-sway 8s ease-in-out infinite;
}

.flower-rotate {
    animation: flower-rotate 12s linear infinite;
}

/* Enhanced Section Headers */
.section-header-enhanced {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

.divider-enhanced {
    width: 6rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-emerald), var(--primary-teal));
    margin: 0 auto 2rem;
    border-radius: 1px;
}

/* Enhanced Couple Profiles */
.couple-card-enhanced {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.couple-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-emerald);
}

.couple-image-overlay {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(20, 184, 166, 0.1) 50%,
        rgba(14, 165, 233, 0.1) 100%);
}

.couple-name-overlay {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Enhanced Social Links */
.social-link-enhanced {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.social-link-enhanced::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.social-link-enhanced:hover::after {
    opacity: 1;
}

.social-link-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced Events Timeline */
.events-timeline-enhanced {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line-enhanced {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-emerald), var(--primary-teal));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-dot-enhanced {
    position: absolute;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    z-index: 10;
}

.event-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f7fff9 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.event-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-emerald), var(--primary-teal));
}

.event-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-emerald);
}

.event-icon-enhanced {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.event-title-enhanced {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-slate);
    margin-bottom: 0.5rem;
}

.event-time-enhanced {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Enhanced Gallery */
.gallery-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.gallery-item-enhanced {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    aspect-ratio: 1;
}

.gallery-item-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.gallery-overlay-enhanced {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item-enhanced:hover .gallery-overlay-enhanced {
    transform: translateY(0);
}

.gallery-text-enhanced {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Enhanced Venue */
.venue-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f7fff9 100%);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    border: 2px solid rgba(16, 185, 129, 0.1);
}

.venue-content-enhanced {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(247, 255, 249, 0.95) 100%);
}

.venue-header-enhanced {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.venue-icon-enhanced {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.venue-name-enhanced {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-slate);
    margin-bottom: 0.5rem;
}

.venue-address-enhanced {
    color: var(--primary-slate-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.btn-venue-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    color: white;
    padding: 1rem 2rem;
    border-radius: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    align-self: flex-start;
}

.btn-venue-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.venue-map-enhanced {
    position: relative;
    background: url('https://images.unsplash.com/photo-1519904981063-b0cf448d479e?w=1200&h=800&fit=crop') center/cover;
}

.venue-map-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(20, 184, 166, 0.2) 100%);
}

/* Venue Full-Map Design */
.venue-event-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}
.venue-event-label span {
    flex: 1;
    max-width: 70px;
    height: 1px;
    background: var(--primary-emerald);
    opacity: 0.4;
}
.venue-event-label p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--primary-emerald);
    text-transform: uppercase;
}
.venue-fullmap-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-top: 1.5rem;
}
.venue-fullmap-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.venue-overlay-card {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    width: 272px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}
.venue-overlay-icon {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.venue-card-name-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 4px;
}
.venue-card-address-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.5;
}
.btn-venue-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-sky));
    color: white;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}
.btn-venue-directions:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.btn-venue-view-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid var(--primary-emerald);
    color: var(--primary-emerald);
    background: transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}
.btn-venue-view-map:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
}
.venue-mobile-info {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 1.5rem;
}
.venue-mobile-map {
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
}
.venue-mobile-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Enhanced Love Story Timeline */
.love-story-section {
    position: relative;
    min-height: 400px;
}

.timeline {
    position: relative;
    min-height: 200px;
}

.milestone {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.milestone:nth-child(1) { animation-delay: 0.2s; }
.milestone:nth-child(2) { animation-delay: 0.4s; }
.milestone:nth-child(3) { animation-delay: 0.6s; }
.milestone:nth-child(4) { animation-delay: 0.8s; }
.milestone:nth-child(5) { animation-delay: 1s; }
.milestone:nth-child(6) { animation-delay: 1.2s; }

/* RSVP Submit Button */
.rsvp-submit-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-sky));
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}
.rsvp-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
}
.rsvp-submit-btn:disabled,
.rsvp-submit-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.loco-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}
.loco-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-emerald) 50%, transparent 100%);
}
.loco-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 2rem;
}
.loco-footer-left {
    text-align: left;
}
.loco-footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.loco-footer-right {
    text-align: right;
}
.loco-copyright {
    color: #d1d5db;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}
.loco-powered-by {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.loco-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}
.loco-footer-brand:hover {
    transform: translateY(-2px);
}
.loco-footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.loco-footer-app-name {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
.loco-footer-cta {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.loco-footer-cta:hover {
    color: var(--primary-emerald);
    transform: translateY(-2px);
}
.loco-footer-message {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-style: italic;
}
@media (max-width: 768px) {
    .loco-footer { padding: 2.5rem 1rem; }
    .loco-footer-content { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .loco-footer-left, .loco-footer-right { text-align: center; }
    .loco-footer-center { order: -1; }
    .loco-footer-logo { width: 28px; height: 28px; }
    .loco-footer-app-name { font-size: 1rem; }
    .loco-footer-cta { font-size: 0.875rem; }
}

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

.milestone-content {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.milestone-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.milestone-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.milestone-date {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
}

.milestone-story {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
}

.milestone-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.milestone-content:hover .milestone-icon {
    opacity: 1;
}

.milestone-image img {
    transition: transform 0.5s ease;
}

/* Mobile Timeline Fix */
@media (max-width: 767px) {
    .timeline {
        padding-left: 1rem;
    }
    
    .milestone {
        position: relative;
    }
    
    .milestone-content {
        margin-left: 0.5rem;
    }
}

/* Desktop Timeline Fix */
@media (min-width: 768px) {
    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--emerald-300), var(--teal-300));
        transform: translateX(-50%);
        z-index: 1;
    }
    
    .milestone {
        min-height: 120px;
    }
}   

/* Enhanced RSVP */
.rsvp-section-enhanced {
    background: linear-gradient(135deg, 
        #ecfdf5 0%, 
        #f0fdfa 50%, 
        #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.rsvp-content-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.1);
}

.rsvp-title-enhanced {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

/* Enhanced Footer */
.footer-enhanced {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-emerald) 50%, 
        transparent 100%);
}

.footer-content-enhanced {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-brand-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.footer-brand-enhanced:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-cta-enhanced {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
}

.footer-cta-enhanced:hover {
    color: white;
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--primary-emerald);
    transform: translateY(-2px);
}

/* Animations */
@keyframes emerald-glow {
    from {
        text-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
    }
    to {
        text-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
    }
}

@keyframes flower-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes flower-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

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

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

.slide-in-enhanced {
    animation: slideInUp 1s ease-out;
}

/* Hero Depth */
.hero-zoom-img {
    will-change: transform;
    animation: hero-zoom 22s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    from { transform: scale(1.0); }
    to   { transform: scale(1.09); }
}

/* Hero Radial Spotlight */
.hero-radial-spotlight {
    background: radial-gradient(ellipse 65% 55% at 50% 48%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 70%);
}

/* Premium Event Cards */
.event-card-premium {
    background: linear-gradient(160deg, #ffffff 0%, rgba(240, 253, 244, 0.45) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.10);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.event-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-emerald), var(--primary-sky));
}

.event-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(16, 185, 129, 0.13), 0 4px 14px rgba(0, 0, 0, 0.06);
    border-color: rgba(16, 185, 129, 0.22);
}

/* RSVP Form Styling */
#rsvp input:focus,
#rsvp textarea:focus,
#rsvp select:focus {
    outline: none;
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

#rsvp label:has(input[type="radio"]),
#rsvp label:has(input[type="checkbox"]) {
    border-color: #e2e8f0;
    transition: background-color 0.2s, border-color 0.2s;
}

#rsvp label:has(input[type="radio"]):hover,
#rsvp label:has(input[type="checkbox"]):hover {
    background-color: #f0fdf4;
    border-color: var(--primary-emerald);
}

#rsvp label:has(input[type="radio"]:checked),
#rsvp label:has(input[type="checkbox"]:checked) {
    background-color: #ecfdf5;
    border-color: var(--primary-emerald);
    color: #065f46;
}

/* Premium Gallery Grid — adaptive per image count */
.gallery-premium-grid {
    display: grid;
    gap: 1rem;
}

/* 1 image: full-width portrait */
.gallery-grid-1 { grid-template-columns: 1fr; grid-template-rows: 480px; max-width: 700px; margin: 0 auto; }

/* 2 images: side by side */
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }

/* 3 images: large left (2/3) + 2 stacked right (1/3) */
.gallery-grid-3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 220px; }
.gallery-grid-3 .gallery-featured { grid-row: span 2; }

/* 4 images: clean 2×2 */
.gallery-grid-4 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }

/* 5 images: featured 2×2 left + 2×2 right */
.gallery-grid-5 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
.gallery-grid-5 .gallery-featured { grid-column: span 2; grid-row: span 2; }

/* 6 images: 3×2 even grid */
.gallery-grid-6 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; }

/* 7 images: banner top + 2×3 below */
.gallery-grid-7 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
.gallery-grid-7 .gallery-featured { grid-column: span 3; }

/* 8 images: 4×2 even grid */
.gallery-grid-8 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }

/* 9 images: 3×3 even grid */
.gallery-grid-9 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; }

/* 10+ images: 4-col grid */
.gallery-grid-many { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }

/* Mobile overrides */
@media (max-width: 767px) {
    .gallery-grid-1 { grid-template-rows: 340px; }
    .gallery-grid-2 { grid-auto-rows: 200px; }
    .gallery-grid-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
    .gallery-grid-4 { grid-auto-rows: 180px; }
    .gallery-grid-5 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-grid-5 .gallery-featured { grid-column: span 2; grid-row: span 1; }
    .gallery-grid-6 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-grid-7 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-grid-7 .gallery-featured { grid-column: span 2; }
    .gallery-grid-8 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-grid-9 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-grid-many { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-enhanced {
        gap: 0.5rem;
    }
    
    .countdown-item-enhanced {
        min-width: 80px;
        padding: 1rem;
    }
    
    .venue-card-enhanced {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .venue-content-enhanced {
        order: 2;
        padding: 2rem 1.5rem;
    }
    
    .venue-map-enhanced {
        min-height: 300px;
        order: 1;
    }
    
    .gallery-enhanced {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .couple-card-enhanced:hover {
        transform: translateY(-4px);
    }
    
    .event-card-enhanced:hover {
        transform: translateY(-3px);
    }
    
    .gallery-item-enhanced:hover {
        transform: translateY(-4px) scale(1.01);
    }
}
