* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: #38252b;

    background: #fffaf8;
}


.container {

    width: 100%;

    max-width: 1050px;

    margin: auto;

    padding:
        0 20px;
}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:

        linear-gradient(
            rgba(55,20,30,.55),
            rgba(55,20,30,.65)
        ),

        url("../../uploads/couples/<?php echo htmlspecialchars($wedding['couple_photo']); ?>")
        center/cover no-repeat;

    color: white;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle,
            transparent 20%,
            rgba(0,0,0,.3)
        );
}


.hero-content {

    position: relative;

    z-index: 2;

    padding: 30px 20px;

    animation:
        heroAppear 1.5s ease;
}


@keyframes heroAppear {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.small-title {

    letter-spacing: 4px;

    font-size: 13px;

    margin-bottom: 25px;
}


.invite-text {

    font-size: 17px;

    font-style: italic;
}


.hero h1 {

    font-size:
        clamp(
            45px,
            8vw,
            85px
        );

    font-weight: 400;

    margin:
        20px 0;

    line-height: 1.1;
}


.hero h1 span {

    display: block;

    font-size: 35px;

    margin: 8px;
}


.heart {

    font-size: 30px;

    animation:
        heartbeat 1.5s infinite;
}


@keyframes heartbeat {

    50% {

        transform: scale(1.25);

    }

}


.hero-date {

    font-size: 18px;

    letter-spacing: 2px;

    margin: 25px 0;
}


.open-btn {

    border: 1px solid white;

    background:
        rgba(255,255,255,.15);

    backdrop-filter:
        blur(10px);

    color: white;

    padding:
        14px 25px;

    border-radius: 30px;

    cursor: pointer;

    font-size: 15px;
}


/* =====================================================
   COMMON
===================================================== */

section {

    padding:
        90px 0;
}


.section-label {

    text-align: center;

    letter-spacing: 4px;

    font-size: 12px;

    color: #9d4d66;

    margin-bottom: 12px;
}


section h2 {

    text-align: center;

    font-size:
        clamp(30px,5vw,48px);

    font-weight: 400;

    margin:
        0 0 20px;
}


.ornament {

    text-align: center;

    color: #b35a73;

    margin:
        20px 0 35px;
}


/* =====================================================
   INTRO
===================================================== */

.intro {

    background:
        linear-gradient(
            180deg,
            #fffaf8,
            #fff
        );

    text-align: center;
}


.welcome {

    max-width: 700px;

    margin:
        0 auto 40px;

    line-height: 1.9;

    color: #735d64;

    font-size: 17px;
}


.couple-photo {

    max-width: 520px;

    margin: auto;

    padding: 10px;

    background: white;

    box-shadow:
        0 15px 50px
        rgba(0,0,0,.12);
}


.couple-photo img {

    width: 100%;

    display: block;

    max-height: 650px;

    object-fit: cover;
}


/* =====================================================
   COUNTDOWN
===================================================== */

.countdown-section {

    background:
        #f8edf0;

    text-align: center;
}


.countdown {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 40px;
}


.count-box {

    width: 120px;

    padding: 20px 10px;

    background: white;

    border-radius: 15px;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.06);
}


.count-box span {

    display: block;

    font-size: 38px;

    color: #8b1e3f;

    font-weight: bold;
}


.count-box small {

    color: #888;
}


/* =====================================================
   FUNCTIONS
===================================================== */

.functions {

    background: #fff;
}


.timeline {

    max-width: 800px;

    margin: 45px auto 0;
}


.event-card {

    display: flex;

    gap: 20px;

    padding: 25px;

    margin-bottom: 18px;

    background: #fff8fa;

    border:
        1px solid #f0dfe4;

    border-radius: 18px;

    transition:
        .3s;
}


.event-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px
        rgba(0,0,0,.08);
}


.event-icon {

    min-width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: white;

    font-size: 27px;

    box-shadow:
        0 5px 15px
        rgba(0,0,0,.07);
}


.event-info h3 {

    margin:
        0 0 10px;

    font-size: 22px;

    color: #8b1e3f;
}


.event-info p {

    margin:
        5px 0;

    color: #76676c;

    font-size: 14px;
}


/* =====================================================
   VENUE
===================================================== */

.venue-section {

    background:
        #f8edf0;

    text-align: center;
}


.venue-card {

    max-width: 650px;

    margin: 40px auto 0;

    padding: 40px 25px;

    background: white;

    border-radius: 25px;

    box-shadow:
        0 15px 45px
        rgba(0,0,0,.07);
}


.venue-icon {

    font-size: 45px;

    margin-bottom: 10px;
}


.venue-card h3 {

    font-size: 27px;

    color: #8b1e3f;

    margin:
        10px 0;
}


.venue-card p {

    color: #76676c;

    line-height: 1.7;
}


.map-btn {

    display: inline-block;

    margin-top: 15px;

    background: #8b1e3f;

    color: white;

    padding:
        13px 20px;

    border-radius: 25px;

    text-decoration: none;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #8b1e3f,
            #b95a75
        );

    color: white;
}


.contact-section h2 {

    color: white;
}


.contact-section p {

    opacity: .9;

    margin-bottom: 30px;
}


.whatsapp-btn {

    display: inline-block;

    padding:
        14px 25px;

    background: white;

    color: #8b1e3f;

    border-radius: 30px;

    text-decoration: none;

    font-weight: bold;
}


/* =====================================================
   SHARE
===================================================== */

.share-section {

    text-align: center;

    background: #fffaf8;
}


.share-btn {

    border: none;

    background: #8b1e3f;

    color: white;

    padding:
        14px 25px;

    border-radius: 30px;

    cursor: pointer;

    font-size: 15px;
}


/* =====================================================
   MUSIC
===================================================== */

.music-btn {

    position: fixed;

    right: 20px;

    top: 20px;

    z-index: 100;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    border: none;

    background: #8b1e3f;

    color: white;

    cursor: pointer;

    font-size: 20px;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,.2);
}


/* =====================================================
   FOOTER
===================================================== */

footer {

    padding:
        40px 20px;

    text-align: center;

    background: #2d1c22;

    color: white;
}


footer strong {

    display: block;

    margin:
        8px 0;
}


footer small {

    opacity: .6;
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:600px) {

    section {

        padding:
            65px 0;
    }


    .hero {

        min-height: 100svh;
    }


    .hero h1 {

        font-size: 48px;
    }


    .hero h1 span {

        font-size: 28px;
    }


    .count-box {

        width: 90px;
    }


    .count-box span {

        font-size: 28px;
    }


    .event-card {

        padding: 18px;
    }


    .event-icon {

        min-width: 50px;

        height: 50px;

        font-size: 22px;
    }

}