﻿body {
    overflow-x: hidden;
    margin: 0;
    background: #e8e5de;
    color: #2e2a26;
    font-family: "Georgia", "Times New Roman", serif;
}

.wedding-page img {
    max-width: 100%;
    display: block;
}

.section-light {
    background: #e8e5de;
    color: #2e2a26;
}

.section-dark {
    background: #050505;
    color: #f3efe8;
}

.hero-section {
    position: relative;
    min-height: 720px;
    height: 100vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    color: #f5f1ea;
    padding: 1.5rem 0;
}

.hero-top,
.hero-bottom {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0;
}

    .hero-title span {
        font-style: italic;
        font-weight: 300;
    }

.hero-center {
    margin: auto 0;
}

.section-title-stacked {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0;
}

.section-heading,
.section-heading-light {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-heading-light {
    color: #f5f1ea;
}

.story-image-wrap {
    max-width: 320px;
    margin: 0 auto;
}

.story-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(100%);
}

.story-text {
    max-width: 420px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.image-split-section .row {
    display: flex;
}

.split-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px; /* controls overall height */
    overflow: hidden;
}

    .split-image-wrap img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tall-image {
    min-height: 520px;
}

.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.dark-panel-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.flower-image {
    max-width: 280px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.ceremony-section .info-card {
    max-width: 260px;
    margin: 0 auto;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-icon {
    font-size: 2rem;
}

.schedule-list {
    margin-top: 2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    font-size: 0.95rem;
}

.schedule-image-wrap {
    max-width: 420px;
    margin: 0 auto;
}

.schedule-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(100%);
}

.gift-title {
    font-size: clamp(1.5rem, 2.8vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.gift-text {
    max-width: 520px;
    margin: 0 auto 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.gift-side-image {
    max-width: 120px;
    margin: 0 auto;
    filter: grayscale(100%);
}

.faq-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0,0,0,0.15);
}

.faq-number {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 0.35rem;
}

.faq-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.faq-content p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-section {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
    filter: grayscale(100%);
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.15));
    display: flex;
    align-items: end;
    padding: 2rem 0;
    color: #f5f1ea;
}

.contact-person {
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 580px;
        height: 85vh;
    }

    .tall-image {
        min-height: 360px;
    }

    .story-text {
        margin: 0 auto;
        text-align: center;
    }

    .section-title-stacked {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-top {
        text-align: center !important;
    }

    .hero-title {
        line-height: 1.1;
    }

    .tall-image {
        min-height: 280px;
    }

    .dark-panel-center {
        padding: 2rem;
    }

    .faq-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .contact-overlay {
        align-items: end;
    }

    .contact-person,
    .section-heading-light {
        text-align: center;
    }
}

.footer-image-section {
    width: 100%;
    background: #000;
}

.footer-top-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.footer-contact-section {
    background: #000;
    color: #f5f1ea;
    padding: 3.5rem 0;
}

.footer-contact-row {
    min-height: 180px;
}

.footer-contact-title {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(2.6rem, 4vw, 4.4rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
    color: #f5f1ea;
}

.footer-contact-person {
    color: #f5f1ea;
}

.footer-contact-name {
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}

.footer-contact-line {
    font-size: 0.95rem;
    line-height: 1.9;
    opacity: 0.95;
}

.footer-rsvp-btn {
    display: inline-block;
    min-width: 190px;
    text-align: center;
    background: #e7e3dd;
    color: #1f1f1f;
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    letter-spacing: 0.04em;
    border: none;
    transition: opacity 0.2s ease;
}

    .footer-rsvp-btn:hover {
        opacity: 0.9;
        color: #1f1f1f;
    }

@media (max-width: 991.98px) {
    .footer-top-image {
        height: 260px;
    }

    .footer-contact-section {
        padding: 2.5rem 0;
    }

    .footer-contact-title {
        text-align: center;
    }

    .footer-contact-person {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .footer-top-image {
        height: 220px;
    }

    .footer-rsvp-btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-contact-section .text-lg-end {
        text-align: center !important;
    }
}