* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #f8f4ec;
    --dark: #27231e;
    --gold: #a88755;
    --text: #625b51;
    --white: #fffdf8;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: "Montserrat", sans-serif;
}


/* ================= COVER ================= */

.cover {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    position: relative;

    background:
        linear-gradient(
            rgba(30, 26, 21, 0.58),
            rgba(30, 26, 21, 0.58)
        ),
        url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.cover-content {
    position: relative;
    z-index: 2;

    color: white;

    padding: 30px;
}

.small-title {
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 25px;
}

.cover h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(70px, 12vw, 150px);
    font-weight: 400;
    line-height: 0.8;
}

.cover h1 span {
    display: block;

    font-size: 40px;

    margin: 25px 0;

    color: #d7b77e;
}

.gold-line {
    width: 80px;
    height: 1px;

    background: #d7b77e;

    margin: 40px auto 25px;
}

.cover-date {
    letter-spacing: 6px;
    font-size: 14px;
}

.cover-location {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.8;
}


/* ================= BUTTON ================= */

.open-btn,
.gold-btn,
.outline-btn {
    display: inline-block;

    margin-top: 35px;

    padding: 15px 30px;

    border: none;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    letter-spacing: 2px;

    text-decoration: none;

    cursor: pointer;

    transition: 0.3s;
}

.open-btn,
.gold-btn {
    background: var(--gold);
    color: white;
}

.open-btn:hover,
.gold-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.outline-btn {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;

    margin-left: 10px;
}

.outline-btn:hover {
    background: var(--gold);
    color: white;
}


/* ================= INVITATION ================= */

.invitation {
    display: none;
}

.section {
    min-height: 70vh;

    padding: 100px 20px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
}


/* ================= INTRO ================= */

.intro {
    max-width: 850px;
    margin: auto;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 25px;
}

.section h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(45px, 7vw, 80px);

    font-weight: 400;

    line-height: 1;
}

.description {
    max-width: 550px;

    margin-top: 30px;

    line-height: 2;

    font-size: 14px;

    color: var(--text);
}

.names {
    margin-top: 40px;

    font-family: "Cormorant Garamond", serif;

    font-size: 40px;
}

.names span {
    color: var(--gold);
}


/* ================= DATE ================= */

.date-section {
    background: #eee8dc;
}

.event-details {
    display: flex;

    gap: 80px;

    margin-top: 50px;
}

.event-details div {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.event-details span {
    font-size: 9px;

    letter-spacing: 3px;

    color: var(--gold);
}

.event-details strong {
    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    font-weight: 500;
}


/* ================= COUNTDOWN ================= */

.countdown {
    display: flex;

    gap: 15px;

    margin-top: 50px;

    flex-wrap: wrap;

    justify-content: center;
}

.count-box {
    width: 110px;

    padding: 25px 10px;

    border: 1px solid #d8cdbb;
}

.count-box strong {
    display: block;

    font-family: "Cormorant Garamond", serif;

    font-size: 40px;

    font-weight: 400;
}

.count-box span {
    font-size: 9px;

    letter-spacing: 2px;

    color: var(--gold);
}


/* ================= VENUE ================= */

.venue p {
    max-width: 500px;

    margin-top: 25px;

    line-height: 1.8;

    color: var(--text);
}


/* ================= GALLERY ================= */

.gallery-section {
    background: #eee8dc;
}

.gallery {
    width: min(1000px, 95%);

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 50px;
}

.photo {
    height: 400px;

    background-size: cover;
    background-position: center;
}

.photo-1 {
    background-image: url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=800&q=80");
}

.photo-2 {
    background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=800&q=80");
}

.photo-3 {
    background-image: url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=800&q=80");
}


/* ================= RSVP ================= */

.rsvp form {
    width: min(450px, 90vw);

    display: flex;
    flex-direction: column;

    gap: 15px;

    margin-top: 35px;
}

input,
select {
    padding: 17px;

    border: 1px solid #d8cdbb;

    background: white;

    font-family: "Montserrat", sans-serif;

    outline: none;
}

input:focus,
select:focus {
    border-color: var(--gold);
}

.rsvp .gold-btn {
    margin-top: 10px;
}

#rsvpMessage {
    margin-top: 20px;

    color: var(--gold);
}


/* ================= FOOTER ================= */

footer {
    padding: 80px 20px;

    text-align: center;

    background: var(--dark);

    color: white;
}

footer h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 45px;

    font-weight: 400;
}

footer p {
    margin: 15px auto;

    max-width: 400px;

    font-size: 12px;

    line-height: 1.8;

    opacity: 0.7;
}

footer small {
    color: #d7b77e;
}


/* ================= MUSIC ================= */

.music-btn {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    border-radius: 50%;

    border: 1px solid var(--gold);

    background: var(--dark);

    color: white;

    font-size: 22px;

    cursor: pointer;

    z-index: 1000;

    box-shadow: 0 5px 20px rgba(0,0,0,0.2);

    display: none;
}

.music-btn:hover {
    transform: scale(1.08);
}


/* ================= MOBILE ================= */

@media (max-width: 700px) {

    .cover h1 {
        font-size: 75px;
    }

    .cover h1 span {
        font-size: 30px;
        margin: 20px 0;
    }

    .event-details {
        gap: 35px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .photo {
        height: 350px;
    }

    .outline-btn {
        margin-left: 0;
    }

    .count-box {
        width: 90px;
    }

}