:root {
    --primary-color: #809076;
    --primary-dark: #344d41;
    --secondary-color: #e5d7c4;
    --text-color: #111918;
    --text-light: #666666;
    --bg-color: #f2f6ef;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #f2f6ef;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background: url('/static/wedding-photo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 0;
    /* Reset margin */
}









@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout */
main {
    padding-bottom: 4rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Countdown Section */
.countdown-section {
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(52, 77, 65, 0.97) 0%, rgba(17, 25, 24, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem 4rem;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
    border: 1px solid rgba(229, 215, 196, 0.2);
}

.countdown-title {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(229, 215, 196, 0.9);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: var(--primary-dark);
    border-radius: 16px;
    padding: 1.4rem 2rem;
    min-width: 100px;
    box-shadow: 0 8px 24px rgba(52, 77, 65, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* Separator dots between units */
.countdown-unit:not(:last-child)::after {
    content: ":";
    position: absolute;
    right: -2.2rem;
    top: 50%;
    transform: translateY(-60%);
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.7;
    font-family: var(--font-heading);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.6rem;
    font-weight: 700;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .countdown-section {
        padding: 2rem 1rem;
        border-radius: 30px;
    }

    .countdown-timer {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-unit {
        padding: 1rem 1.2rem;
        min-width: 70px;
    }

    .countdown-unit:not(:last-child)::after {
        display: none;
    }

    .countdown-number {
        font-size: 2rem;
    }
}

/* About Us Section */
.about-us-section {
    padding: 5rem 0;
    background: linear-gradient(160deg, #ffffff 0%, #f2f6ef 100%);
    border-radius: 30px;
    margin-bottom: 2rem;
}

.about-us-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-us-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.about-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.photo-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.3s;
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.couple-image {
    width: 100%;
    height: auto;
    display: block;
}

.love-story {
    font-size: 1.1rem;
    color: var(--text-color);
}

.story-paragraph {
    margin-bottom: 1.5rem;
}

.story-highlight {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-style: italic;
    border-left: 3px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

/* Details Grid */
.wedding-details {
    background: linear-gradient(160deg, #ffffff 0%, #f2f6ef 100%);
    border-radius: 30px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.wedding-details h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: none;
    /* Removed border */
    position: relative;
    overflow: hidden;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Top border accent */
.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
}

.detail-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.detail-card p {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.detail-card a:not(.menu-link) {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dotted var(--secondary-color);
}

.menu-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(128, 144, 118, 0.3);
}

.menu-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(20, 32, 27, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(128, 144, 118, 0.4);
}

/* ======= VENUE PHOTO SECTIONS ======= */

/* Full-width parallax castle banner */
.venue-banner {
    width: 100%;
    height: 520px;
    background-image: url('https://laboheme.bg/wp-content/uploads/2025/11/ab1.webp');
    background-size: cover;
    background-position: center 40%;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.venue-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 18, 10, 0.3) 0%, rgba(10, 18, 10, 0.55) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.venue-banner-tagline {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.venue-banner-sub {
    font-size: 0.9rem;
    color: rgba(229, 215, 196, 0.9);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
}

/* Shorter parallax ceremony strip */
.ceremony-strip {
    width: 100%;
    height: 380px;
    background-image: url('https://laboheme.bg/wp-content/uploads/2025/12/dsc04819.jpg');
    background-size: cover;
    background-position: center 55%;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.ceremony-strip-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 10, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ceremony-strip-label {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ceremony-strip-time {
    font-size: 0.85rem;
    color: rgba(229, 215, 196, 0.9);
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Reception photo gallery row */
.reception-gallery {
    padding: 4rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reception-gallery-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.reception-gallery-sub {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
}

.reception-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.reception-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.reception-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.reception-photo:hover img {
    transform: scale(1.07);
}

.reception-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1.5rem 1rem 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reception-photo:hover .reception-photo-caption {
    opacity: 1;
}

@media (max-width: 768px) {
    .reception-photos {
        grid-template-columns: 1fr;
    }

    .venue-banner {
        height: 320px;
        background-attachment: scroll;
    }

    .ceremony-strip {
        height: 260px;
        background-attachment: scroll;
    }

    .venue-banner-tagline {
        font-size: 1.6rem;
    }

    .ceremony-strip-label {
        font-size: 1.3rem;
    }
}

/* ======= RSVP Section ======= */
.rsvp-section {
    background: linear-gradient(160deg, #ffffff 0%, #ffffff 100%);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 4rem auto;
    max-width: 800px;
    border: 1px solid rgba(229, 215, 196, 0.15);
}

.rsvp-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rsvp-section>p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(128, 144, 118, 0.1);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
    width: 1.2rem;
    height: 1.2rem;
}

/* Menu Selection Cards */
.menu-option-label {
    background-color: var(--white);
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-option-label:hover {
    border-color: var(--secondary-color);
}

.menu-option input[type="radio"]:checked+.menu-option-label {
    border-color: var(--primary-color);
    background-color: #f4f7f3;
    /* Slight green tint */
    border-left-width: 5px;
}

.menu-option-label strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.menu-preview p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Buttons */
.rsvp-submit {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(128, 144, 118, 0.3);
}

.rsvp-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(20, 32, 27, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 144, 118, 0.4);
}

/* Conditional Sections */
.attending-details,
.kids-details {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 3px solid var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 3rem;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .countdown-section {
        padding: 2rem 1rem;
    }

    .countdown-timer {
        gap: 1.5rem;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .about-us-content {
        grid-template-columns: 1fr;
    }

    .menu-selection,
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modal Styles maintained but updated */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Darker overlay */
    backdrop-filter: blur(5px);
    /* Blur effect */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.menu-modal-content {
    background: var(--white);
    border-radius: var(--radius-md);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.menu-modal-header {
    background: #fcfcfc;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.menu-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.menu-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.menu-course {
    margin-bottom: 2rem;
}

.course-title {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.menu-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.item-name {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.dietary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 5px;
}

.dietary-vegetarian {
    background-color: #4caf50;
}

.dietary-vegan {
    background-color: #2e7d32;
}

.dietary-gluten-free {
    background-color: #ff9800;
}

.dietary-dairy-free {
    background-color: #2196f3;
}

.dietary-nut-free {
    background-color: #9c27b0;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}