
/* ============================================
   WEDDING WEBSITE - WILDFLOWER GARDEN THEME
   Matching Нанси & Марио Invitation 🌸🌿
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette - From Your Invitation */
    --color-cream: #fdfbf7;           /* Background */
    --color-ivory: #faf6ef;           /* Soft ivory */
    --color-warm-white: #f7f4ed;      /* Cards background */
    --color-butter: #f4e8c1;          /* Soft butter yellow */
    
    --color-sage: #c5cba8;            /* Light sage (stems) */
    --color-olive: #8b9068;           /* Olive green (leaves) */
    --color-olive-dark: #6b7050;      /* Darker olive for text */
    
    --color-pink: #e8b4a8;            /* Dusty pink */
    --color-coral: #d4a574;           /* Soft coral/terracotta */
    --color-lavender: #c4b5cb;        /* Soft lavender */
    
    /* Text Colors */
    --color-heading: #5a5d4a;         /* Muted olive for headings */
    --color-text: #5c5c5c;            /* Soft dark gray */
    --color-text-light: #8a8a8a;      /* Light gray */
    
    /* Fonts - Matching invitation style */
    --font-script: 'Cormorant Garamond', serif;
    --font-body: 'EB Garamond', serif;
    
    /* Spacing */
    --section-padding: 100px 20px;
    
    /* Shadows - Very soft */
    --shadow-soft: 0 4px 20px rgba(139, 144, 104, 0.08);
    --shadow-medium: 0 8px 30px rgba(139, 144, 104, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-cream);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY - Matching Invitation ===== */
h1, h2, h3, h4 {
    font-family: var(--font-script);
    color: var(--color-heading);
    font-weight: 400;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Delicate underline like invitation */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-butter);
    margin: 20px auto 0;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 1px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--color-olive);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-coral);
}

/* ===== DECORATIVE ELEMENTS ===== */
.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-top: -35px;
    margin-bottom: 50px;
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 1px;
}

/* Delicate divider matching invitation */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.divider::before,
.divider::after {
    content: '';
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--color-sage), transparent);
}

.divider span {
    margin: 0 20px;
    color: var(--color-sage);
    font-size: 1.2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 251, 247, 0.95);
    padding: 18px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 203, 168, 0.3);
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    flex-wrap: wrap;
}

.navbar li {
    opacity: 0;
    transform: translateX(30px);
    animation: navSlideIn 0.5s ease forwards;
}

.navbar li:nth-child(1) { animation-delay: 0.1s; }
.navbar li:nth-child(2) { animation-delay: 0.2s; }
.navbar li:nth-child(3) { animation-delay: 0.3s; }
.navbar li:nth-child(4) { animation-delay: 0.4s; }
.navbar li:nth-child(5) { animation-delay: 0.5s; }

@keyframes navSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar a {
    text-decoration: none;
    color: var(--color-olive-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--color-coral);
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: var(--color-coral);
}

.navbar a:hover::after {
    width: 100%;
}


/* ===== HERO SECTION - WITH CREAMY TRANSPARENT BOX ===== */
.hero {
    min-height: 100vh;
    background: 
        linear-gradient(
            to bottom,
            rgba(90, 93, 74, 0.3) 0%,
            rgba(90, 93, 74, 0.2) 50%,
            rgba(90, 93, 74, 0.3) 100%
        ),
        url('./images/venue.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Add padding to account for navbar and border */
    padding: 120px 60px 60px 60px;
}

/* Decorative border frame */
.hero::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
}

/* Creamy transparent box - constrained within the border */
.hero-content {
    padding: 50px 55px;
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 2;
    background: rgba(253, 251, 247, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(197, 203, 168, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUp 1s ease 0.4s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Monogram */
.monogram {
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 22px;
    color: var(--color-olive);
}

.monogram-divider {
    display: inline-block;
    width: 1px;
    height: 26px;
    background: var(--color-olive);
    margin: 0 14px;
    vertical-align: middle;
}

.pre-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 400;
    color: var(--color-text);
}

.couple-names {
    font-family: var(--font-script);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: 2px;
    color: var(--color-heading);
}

.couple-names .and-text {
    display: block;
    font-size: 2rem;
    letter-spacing: 4px;
    text-transform: lowercase;
    margin: 10px 0;
    font-family: var(--font-script);
    color: var(--color-heading);
}

.wedding-date {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 6px;
    font-weight: 400;
    color: var(--color-olive-dark);
}

.wedding-venue {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
}

.hero-tagline {
    font-family: 'Dancing Script', 'Cormorant Garamond', cursive;
    font-size: 1.4rem;
    margin-top: 25px;
    color: var(--color-coral);
    letter-spacing: 1px;
}

/* Countdown Section */
.countdown-section {
    background: var(--color-olive);
    padding: 40px 20px;
    text-align: center;
}

.countdown-date-label {
    font-family: var(--font-script);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--color-cream);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.countdown-item {
    text-align: center;
    padding: 8px 12px;
}

.countdown-number {
    font-family: var(--font-script);
    font-size: 3rem;
    font-weight: 300;
    display: block;
    line-height: 1;
    color: var(--color-cream);
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(253, 251, 247, 0.75);
    margin-top: 8px;
    display: block;
}


/* ===== BUTTER YELLOW SECTION DIVIDERS ===== */

/* ===== SUBTLE YELLOW LINE DIVIDERS ===== */
.section-divider {
    height: 3px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-butter),
        var(--color-butter),
        transparent
    );
    margin: 0;
}

/* ===== OUR STORY SECTION ===== */
.story {
    padding: var(--section-padding);
    background: var(--color-cream);
    text-align: center;
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
}

.story p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text);
}

.story-date {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 35px;
    background: transparent;
    border: 1px solid var(--color-sage);
    border-radius: 30px;
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: var(--color-olive);
    letter-spacing: 2px;
}

/* ===== PHOTO GALLERY ===== */
.gallery {
    padding: var(--section-padding);
    background: var(--color-ivory);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(90, 93, 74, 0.85));
    padding: 50px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: var(--color-cream);
    font-family: var(--font-script);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 1px;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    background: var(--color-ivory);
    padding: 80px 20px;
}

.welcome-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-photo-wrap {
    position: relative;
    padding: 14px;
    background: var(--color-cream);
    box-shadow: 0 12px 50px rgba(107, 112, 80, 0.15);
}

.welcome-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(197, 203, 168, 0.5);
    pointer-events: none;
    z-index: 1;
}

.welcome-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.welcome-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-heading {
    font-family: var(--font-script);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--color-heading);
}

.welcome-divider {
    width: 60px;
    height: 1px;
    background: var(--color-sage);
}

.welcome-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.9;
    font-style: italic;
}

@media (max-width: 768px) {
    .welcome-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .welcome-photo {
        height: 320px;
    }
    .welcome-heading {
        font-size: 2.2rem;
    }
}

/* ===== POLAROID GALLERY ===== */
.polaroid-gallery {
    padding: var(--section-padding);
    background: var(--color-ivory);
    overflow: hidden;
}

.polaroid-scatter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.polaroid {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.polaroid:hover {
    z-index: 10;
    transform: rotate(0deg) scale(1.08) !important;
}

.polaroid-frame {
    background: white;
    padding: 12px 12px 45px 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    position: relative;
}

.polaroid-frame img {
    width: 200px;
    height: 230px;
    object-fit: cover;
    display: block;
}

.polaroid-caption {
    display: block;
    text-align: center;
    font-family: var(--font-script);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-heading);
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* Each polaroid tilted differently for a scattered look */
.polaroid-1 {
    transform: rotate(-6deg);
    margin-top: 20px;
}

.polaroid-2 {
    transform: rotate(3deg);
    margin-top: -10px;
}

.polaroid-3 {
    transform: rotate(-2deg);
    margin-top: 30px;
}

.polaroid-4 {
    transform: rotate(5deg);
    margin-top: -5px;
}

/* Tape effect on some polaroids */
.polaroid-1 .polaroid-frame::before,
.polaroid-3 .polaroid-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 60px;
    height: 24px;
    background: rgba(244, 232, 193, 0.6);
    border: 1px solid rgba(197, 203, 168, 0.3);
    z-index: 2;
}

.polaroid-2 .polaroid-frame::before,
.polaroid-4 .polaroid-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
    width: 55px;
    height: 22px;
    background: rgba(232, 180, 168, 0.35);
    border: 1px solid rgba(212, 165, 116, 0.2);
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .polaroid-scatter {
        gap: 5px;
        padding: 20px 0;
    }

    .polaroid-frame {
        padding: 8px 8px 35px 8px;
    }

    .polaroid-frame img {
        width: 140px;
        height: 170px;
    }

    .polaroid-caption {
        font-size: 0.9rem;
    }

    .polaroid-1 { transform: rotate(-4deg); margin-top: 10px; }
    .polaroid-2 { transform: rotate(2deg); margin-top: -5px; }
    .polaroid-3 { transform: rotate(-1deg); margin-top: 15px; }
    .polaroid-4 { transform: rotate(3deg); margin-top: 0; }
}

@media (max-width: 480px) {
    .polaroid-scatter {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .polaroid-frame img {
        width: 120px;
        height: 150px;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 93, 74, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: var(--color-cream);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--color-coral);
}

/* ===== EVENT TIMELINE SECTION ===== */
.details {
    padding: var(--section-padding);
    background: var(--color-cream);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-sage) 8%,
        var(--color-sage) 92%,
        transparent
    );
}

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

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

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--color-butter);
    border: 3px solid var(--color-sage);
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    background: var(--color-coral);
    border-color: var(--color-olive);
}

.timeline-content {
    background: var(--color-warm-white);
    padding: 30px 28px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(197, 203, 168, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--color-sage);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -30px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -30px;
    transform: translateY(-50%);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.timeline-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.timeline-time {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-olive);
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: rgba(197, 203, 168, 0.15);
    padding: 3px 14px;
    border-radius: 20px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--color-heading);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Color Palette */
.color-palette {
    text-align: center;
    margin-top: 60px;
}

.color-palette h3 {
    font-size: 1.4rem;
    color: var(--color-heading);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.dresscode-text {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 18px;
}

.dresscode-note {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 18px;
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.color-swatch {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

/* ===== LOCATION SECTION ===== */
.location-section {
    padding: 100px 0 0;
    background: var(--color-ivory);
}

.location-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
}

.location-venue {
    text-align: center;
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--color-olive);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.map-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 20px;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
    height: 450px;
}

.map-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-olive);
    background: transparent;
    border: 1.5px solid var(--color-olive);
    border-radius: 30px;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    width: fit-content;
}

.location-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 40px;
    align-items: stretch;
}

.map-directions-btn:hover {
    background: var(--color-olive);
    color: var(--color-cream);
    transform: translateY(-2px);
}

/* ===== WEDDING PARTY ===== */
.wedding-party {
    padding: var(--section-padding);
    background: var(--color-ivory);
}

.party-section {
    margin-bottom: 60px;
}

.party-section:last-child {
    margin-bottom: 0;
}

.party-title {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-olive);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 35px;
    max-width: 850px;
    margin: 0 auto;
}

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

.member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-sage);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.3s ease;
}

.party-member:hover .member-photo {
    border-color: var(--color-coral);
}

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

.party-member:hover .member-photo img {
    transform: scale(1.1);
}

.party-member h4 {
    font-family: var(--font-script);
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--color-heading);
    letter-spacing: 1px;
}

.member-role {
    color: var(--color-olive);
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.member-relation {
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* ===== LOCATIONS / MAPS ===== */
.locations {
    padding: var(--section-padding);
    background: var(--color-cream);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
}

.map-card {
    background: var(--color-warm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 203, 168, 0.3);
}

.map-container iframe {
    display: block;
}

.map-info {
    padding: 28px;
    text-align: center;
}

.map-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-heading);
    letter-spacing: 2px;
}

.venue-name {
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.venue-address {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.directions-btn {
    display: inline-block;
    background: transparent;
    color: var(--color-olive);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 25px;
    border-radius: 25px;
    border: 1px solid var(--color-sage);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.directions-btn:hover {
    background: var(--color-olive);
    color: var(--color-cream);
    border-color: var(--color-olive);
}

/* ===== ACCOMMODATIONS ===== */
.accommodations {
    padding: var(--section-padding);
    background: var(--color-ivory);
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 950px;
    margin: 0 auto 40px;
}

.hotel-card {
    background: var(--color-cream);
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(197, 203, 168, 0.3);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.hotel-card.featured {
    border-color: var(--color-sage);
}

.hotel-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-sage);
    color: var(--color-cream);
    padding: 5px 18px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hotel-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-heading);
    letter-spacing: 1px;
}

.hotel-rating {
    color: var(--color-coral);
    margin-bottom: 12px;
    font-size: 1rem;
}

.hotel-distance {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.hotel-price {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-heading);
    margin-bottom: 18px;
    font-family: var(--font-script);
}

.hotel-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-sage);
    font-family: var(--font-body);
}

.hotel-amenities {
    list-style: none;
    margin-bottom: 18px;
}

.hotel-amenities li {
    padding: 5px 0;
    color: var(--color-text);
    font-size: 0.9rem;
}

.hotel-code {
    background: var(--color-ivory);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 18px;
}

.hotel-btn {
    display: block;
    text-align: center;
    background: var(--color-olive);
    color: var(--color-cream);
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hotel-btn:hover {
    background: var(--color-olive-dark);
    color: var(--color-cream);
}

.accommodations-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* ===== RSVP SECTION ===== */
.rsvp {
    padding: var(--section-padding);
    background: var(--color-olive);
    color: var(--color-cream);
    position: relative;
}

.rsvp h2 {
    color: var(--color-cream);
}

.rsvp h2::after {
    background: var(--color-sage);
}

.rsvp-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    letter-spacing: 1px;
}

.rsvp-form {
    max-width: 520px;
    margin: 0 auto;
    background: var(--color-cream);
    padding: 45px 40px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(197, 203, 168, 0.5);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-cream);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
    width: 100%;
    padding: 14px 60px 14px 18px;
    border: 1px solid rgba(197, 203, 168, 0.5);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-cream);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage);
    box-shadow: 0 0 0 3px rgba(197, 203, 168, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--color-olive);
    color: var(--color-cream);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.spinner {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

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

.form-error {
    background: #fef2f2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 18px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #fecaca;
}


/* Success Messages */
.form-success {
    text-align: center;
    padding: 55px 40px;
    background: var(--color-cream);
    border-radius: 16px;
    max-width: 520px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease;
}

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

.success-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
}

.form-success h3 {
    color: var(--color-heading);
    margin-bottom: 15px;
    font-size: 2rem;
    letter-spacing: 2px;
}

.form-success p {
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.8;
}

.success-details {
    font-size: 0.9rem;
    color: var(--color-text-light) !important;
    margin-top: 20px !important;
    font-style: italic;
}

.attending-fields {
    animation: slideDown 0.4s ease;
}

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

/* ===== REGISTRY SECTION ===== */
.registry {
    padding: var(--section-padding);
    background: var(--color-cream);
}

.registry-message {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 50px;
    color: var(--color-text);
    line-height: 1.9;
    font-style: italic;
}

.registry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 850px;
    margin: 0 auto 40px;
}

.registry-card {
    background: var(--color-warm-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(197, 203, 168, 0.3);
}

.registry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.registry-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}

.registry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-heading);
    letter-spacing: 1px;
}

.registry-card p {
    color: var(--color-text-light);
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.registry-link {
    color: var(--color-olive);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.registry-card:hover .registry-link {
    color: var(--color-coral);
}

/* Honeymoon Fund Special Card */
.honeymoon-fund {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-olive) 100%);
    border: none;
}

.honeymoon-fund h3,
.honeymoon-fund p {
    color: var(--color-cream);
}

.honeymoon-fund .registry-link {
    background: var(--color-cream);
    color: var(--color-olive);
    padding: 10px 22px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.honeymoon-fund:hover .registry-link {
    background: var(--color-butter);
    color: var(--color-olive-dark);
}

.registry-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
    font-style: italic;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--section-padding);
    background: var(--color-ivory);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-cream);
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    will-change: transform;
}

.faq-item:hover {
    border-color: rgba(197, 203, 168, 0.5);
}

.faq-item.active {
    border-color: var(--color-sage);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--color-cream);
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    letter-spacing: 0.5px;
}

.faq-item.active .faq-question {
    background: var(--color-butter);
    color: var(--color-olive-dark);
}

.faq-question:hover {
    background: rgba(247, 225, 166, 0.3);  /* Light butter yellow */
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-sage);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    background: var(--color-cream);
}

.faq-answer p {
    overflow: hidden;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
    padding: 0 25px;
}

.faq-item.active .faq-answer p {
    padding: 20px 25px;
}

/* FAQ Answer - Visible when active */
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

/* Icon rotation */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-coral);
}

/* ===== FOOTER ===== */
.footer {
    padding: 70px 20px;
    background: var(--color-olive);
    color: var(--color-cream);
    text-align: center;
}

/* Footer Monogram */
.footer-monogram {
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-monogram-divider {
    display: inline-block;
    width: 1px;
    height: 22px;
    background: var(--color-sage);
    margin: 0 12px;
    vertical-align: middle;
}

.footer-names {
    font-family: var(--font-script);
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 3px;
}

.footer-date {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.85;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-decoration {
    margin: 20px 0;
    font-size: 1.2rem;
    letter-spacing: 12px;
    opacity: 0.5;
}

/* Script tagline like invitation */
.footer-tagline {
    font-family: 'Dancing Script', 'Cormorant Garamond', cursive;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-style: italic;
    opacity: 0.9;
}

.footer-hashtag {
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--color-olive-dark);
    background: var(--color-cream);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

.contact-info {
    font-size: 0.9rem;
    opacity: 0.85;
}

.contact-info a {
    color: var(--color-butter);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-cream);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1200px) {
    .hero {
        padding: 140px 80px 80px 80px;
    }

    .hero::before {
        top: 40px;
        left: 40px;
        right: 40px;
        bottom: 40px;
    }

    .hero-content {
        max-width: 580px;
        padding: 55px 60px;
    }

    .couple-names {
        font-size: 4rem;
    }

    .countdown-number {
        font-size: 2.2rem;
    }
}
/* Tablet */
@media (max-width: 900px) {
    h2 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 100px 50px 50px 50px;
    }

    .hero::before {
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .hero-content {
        padding: 40px 45px;
        max-width: 480px;
    }

    .couple-names {
        font-size: 3rem;
    }

    .countdown {
        gap: 12px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-item {
        padding: 15px 18px;
    }

    .navbar ul {
        gap: 25px;
    }

    .maps-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Timeline: switch to single-column layout */
    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 55px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.3);
    }

    .timeline-content::after,
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -25px;
        right: auto;
        transform: translateY(-50%);
        width: 14px;
    }

    .monogram {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 20px;
    }

    body {
        font-size: 16px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar ul {
        gap: 18px;
        padding: 0 10px;
    }

    .navbar a {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 6px 4px;
    }

    .hero {
        padding: 80px 25px 35px 25px;
    }

    .hero::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .hero-content {
        padding: 30px 25px;
        max-width: 100%;
        margin: 0 10px;
        border-radius: 14px;
    }

    .monogram {
        font-size: 1.6rem;
        letter-spacing: 6px;
        margin-bottom: 18px;
    }

    .monogram-divider {
        height: 20px;
        margin: 0 10px;
    }

    .pre-title {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        margin-bottom: 14px;
    }

    .couple-names {
        font-size: 2.4rem;
        letter-spacing: 1px;
    }

    .couple-names .and-text {
        font-size: 1.8rem;
        margin: 5px 0;
    }

    .wedding-date {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .wedding-venue {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .hero-tagline {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .countdown {
        gap: 8px;
        margin-top: 20px;
        padding-top: 18px;
        flex-wrap: wrap;
    }

    .countdown-item {
        padding: 6px 10px;
        min-width: 55px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 35px;
        letter-spacing: 1px;
    }

    h2::after {
        width: 50px;
        margin-top: 15px;
    }

    .section-subtitle {
        margin-top: -22px;
        margin-bottom: 35px;
        font-size: 0.9rem;
    }

    .story p {
        font-size: 1rem;
    }

    .story-date {
        padding: 10px 28px;
        font-size: 1rem;
    }

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

    .gallery-item {
        aspect-ratio: 1/1;
    }

    .party-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .member-photo {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }

    .party-member h4 {
        font-size: 1.1rem;
    }

    .member-role {
        font-size: 0.7rem;
    }

    .timeline-content {
        padding: 22px 20px;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-item {
        margin-bottom: 35px;
    }

    .rsvp {
        padding: 70px 15px;
    }

    .rsvp-form {
        padding: 35px 25px;
        border-radius: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.85rem;
    }

    .form-success {
        padding: 40px 25px;
    }

    .success-icon {
        font-size: 3.5rem;
    }

    .form-success h3 {
        font-size: 1.7rem;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .hotel-card {
        padding: 28px 22px;
    }

    .registry-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .registry-card {
        padding: 32px 25px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
    }

    .footer {
        padding: 55px 20px;
    }

    .footer-monogram {
        font-size: 1.6rem;
        letter-spacing: 5px;
    }

    .footer-names {
        font-size: 2.2rem;
    }

    .footer-date {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .footer-tagline {
        font-size: 1.1rem;
    }

    .footer-hashtag {
        font-size: 0.9rem;
        padding: 8px 22px;
    }

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

    .map-card {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar ul {
        gap: 14px;
    }

    .navbar a {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
        padding: 6px 2px;
    }

    .hero {
        padding: 75px 20px 30px 20px;
    }

    .hero::before {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .monogram {
        font-size: 1.4rem;
        letter-spacing: 5px;
    }

    .couple-names {
        font-size: 2rem;
    }

    .pre-title {
        font-size: 0.7rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .party-grid {
        grid-template-columns: 1fr;
        max-width: 180px;
        margin: 0 auto;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-item {
        min-width: 50px;
        padding: 5px 8px;
    }

    .countdown-number {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .timeline-content h3 {
        font-size: 1.15rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 45px;
    }

    .timeline-content {
        padding: 18px 16px;
    }

    .timeline-icon {
        font-size: 1.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-olive {
    color: var(--color-olive);
}

.text-sage {
    color: var(--color-sage);
}

.text-coral {
    color: var(--color-coral);
}

/* Margin utilities */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

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

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

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

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

/* ===== SELECTION HIGHLIGHT ===== */
::selection {
    background: var(--color-sage);
    color: var(--color-cream);
}

::-moz-selection {
    background: var(--color-sage);
    color: var(--color-cream);
}

/* ===== FOCUS STATES ===== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-sage);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .rsvp,
    .lightbox,
    .countdown {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 50px 20px;
        background: var(--color-cream) !important;
        color: var(--color-olive) !important;
    }

    .hero::before {
        display: none;
    }

    .couple-names {
        color: var(--color-olive) !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

