/* ==========================
   COLOR PALETTE
========================== */
:root {
    --cream: #f6f0e5;
    --warm-white: #fffaf2;
    --burgundy: #6e1f2a;
    --deep-burgundy: #541720;
    --green: #183d32;
    --terracotta: #b96645;
    --gold: #b89a62;
    --charcoal: #282522;
    --muted: #766e65;
}

/* ==========================
   GLOBAL
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--charcoal);
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

h1,
h2,
h3 {
    font-family: "Italiana", serif;
    font-weight: 400;
}

h2 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
}

.section {
    padding: 110px 7%;
}

.section-kicker {
    color: var(--terracotta);
    font-size: 0.7rem;
    letter-spacing: 0.35rem;
    font-weight: 600;
    margin-bottom: 20px;
}


.section-kicker.light {
    color: #dbc9aa;
}


.ornament {
    color: var(--terracotta);
    font-size: 2rem;
    margin: 20px 0;
}


.ornament.light {

    color: #d4b984;

}


.script-text {

    font-family: "Parisienne", cursive;

    color: var(--burgundy);

    font-size: 2.2rem;

    margin-top: 30px;

}


.script-text.left {

    text-align: left;

}


/* =================================

   NAVIGATION

================================= */


.navbar {

    height: 96px;

    padding: 0 7%;


    display: flex;

    align-items: center;

    justify-content: space-between;


    position: relative;

    z-index: 100;


    background: #f8f3eb;

    color: #251e1a;

}


.logo {

    font-family: "Italiana", serif;


    font-size: 2.2rem;

    letter-spacing: .3rem;


    color: #9a7748;

}


.logo span {

    color: #c49b5f;

    font-family: inherit;

}


nav {

    display: flex;

    align-items: center;

    gap: 48px;

}


nav a {

    font-family: "Montserrat", sans-serif;


    font-size: .68rem;

    font-weight: 500;


    letter-spacing: .22rem;

    text-transform: uppercase;


    transition: color .25s ease;

}


nav a:hover {

    color: #8b252c;

}


.nav-rsvp {

    background: #6e1f26;

    color: white;


    padding: 15px 36px;


    border-radius: 40px;


    min-width: 125px;


    text-align: center;

}


.nav-rsvp:hover {

    background: #53171d;

    color: white;

}


.menu-toggle {

    display: none;


    border: none;

    background: transparent;


    font-size: 1.7rem;

    cursor: pointer;

}


/* =================================

   HERO

================================= */


/* =================================

   DESKTOP HERO

================================= */


.hero {

    position: relative;


    width: 100%;

    min-height: calc(100vh - 96px);


    background-image: url("./images/hero-wedding.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;


    display: flex;

    align-items: center;


    overflow: hidden;


    color: #fff;

}


.hero-shade {

    position: absolute;

    inset: 0;

    z-index: 1;


    background: linear-gradient(

        90deg,

        rgba(17, 20, 14, .78) 0%,

        rgba(22, 20, 15, .60) 25%,

        rgba(25, 18, 14, .20) 48%,

        rgba(0, 0, 0, 0) 68%

    );


    pointer-events: none;

}


.hero-content {

    position: relative;

    z-index: 2;


    width: 44%;

    max-width: 650px;


    margin-left: 8%;

    padding: 50px 0;


    color: #fff;

    text-align: center;

}


.save-title {

    margin: 0;


    font-family: "Italiana", serif;

    font-size: clamp(3.2rem, 5.2vw, 5.7rem);

    line-height: .85;


    letter-spacing: .5rem;


    color: #fff;

}


.save-title span {

    font-family: "Parisienne", cursive;


    color: #d7ad67;


    font-size: .72em;


    letter-spacing: 0;


    margin: 0 10px;


    position: relative;

    top: 8px;

}


.wedding-of {

    margin-top: 32px;


    font-size: .72rem;

    font-weight: 500;


    letter-spacing: .42rem;


    color: #fff;

}


.hero h1 {

    margin-top: 16px;


    font-family: "Italiana", serif;

    font-weight: 400;


    line-height: .95;


    color: #fff;

}


.bride-name,

.groom-name {

    display: block;


    font-size: clamp(3rem, 5vw, 5.2rem);


    white-space: nowrap;


    color: #fff;

}


.and-line {

    display: flex;

    justify-content: center;

    align-items: center;


    gap: 15px;


    margin: 5px auto;

}


.and-line i {

    display: block;


    width: 70px;

    height: 1px;


    background: #d4ad6b;

}


.and-line em {

    font-family: "Parisienne", cursive;


    color: #d8ad68;


    font-size: 2.5rem;

    font-style: normal;

}


.hero-date {

    margin-top: 30px;


    font-family: "Italiana", serif;


    font-size: 1.25rem;

    letter-spacing: .35rem;


    color: #fff;

}


.hero-location {

    margin-top: 7px;


    font-size: .7rem;

    letter-spacing: .35rem;


    color: #fff;

}


.hero-leaf {

    color: #d0a15d;


    font-size: 2.3rem;

    line-height: 1;


    margin: 18px 0 10px;

}


.hero-message {

    font-family: "Italiana", serif;


    font-size: 1rem;

    line-height: 1.6;


    letter-spacing: .3rem;


    color: #fff;

}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 22px;
    padding: 14px 30px;
    background: #721f27;
    border: 1px solid rgba(255,255,255,.85);
    color: #fff;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .18rem;
}
/* HERO BUTTON GROUP */

.hero .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    width: 100%;
}

.hero .hero-buttons .hero-button {
    display: flex;
    width: 270px;
    margin: 0;
    align-items: center;
    justify-content: center;
}

/* ==========================
   INTRO
========================== */

.intro {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.intro-text {
    max-width: 620px;
    margin: auto;
    color: var(--muted);
    font-family: "Italiana", serif;
    font-size: 1.35rem;
}


/* ==========================
   COUNTDOWN
========================== */

.countdown-section {
    background: var(--burgundy);
    color: white;
    padding: 80px 5%;
    text-align: center;
}

.countdown-section h2 {
    margin-bottom: 45px;
}

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

.countdown-box span {
    display: block;
    font-family: "Italiana", serif;
    font-size: 3rem;
}

.countdown-box small {
    text-transform: uppercase;
    letter-spacing: .15rem;
    font-size: .55rem;
    color: #e5d3c6;
}


/* ==========================
   STORY
========================== */

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 75%;
    background: var(--terracotta);
    top: -25px;
    left: -25px;
    z-index: -1;
}

.story-image img {
    max-height: 750px;
    object-fit: cover;
}

.story-content {
    max-width: 580px;
}

.story-content p:not(.section-kicker):not(.script-text) {
    margin-top: 22px;
    color: var(--muted);
}

.small-divider {
    height: 1px;
    width: 65px;
    background: var(--terracotta);
    margin: 30px 0;
}


/* ==========================
   DETAILS
========================== */

.details {
    background: var(--warm-white);
    text-align: center;
}

.details-intro {
    color: var(--muted);
    margin: 25px 0 50px;
    letter-spacing: .08rem;
}

.detail-cards {
    max-width: 950px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.detail-card {
    min-height: 420px;
    padding: 65px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #eee2cf;
}

.burgundy-card {
    background: var(--burgundy);
    color: white;
}

.detail-icon {
    color: var(--terracotta);
    font-size: 2rem;
}

.burgundy-card .detail-icon {
    color: #d9bb84;
}

.detail-card h3 {
    font-size: 2.7rem;
    margin: 10px 0 20px;
}

.detail-date {
    letter-spacing: .14rem;
    font-size: .7rem;
    font-weight: 500;
}

.coming-soon {
    margin-top: 30px;
    font-style: italic;
    font-size: .75rem;
}

.formal-invite {
    margin-top: 45px;
    font-family: "Parisienne", cursive;
    font-size: 2rem;
    color: var(--burgundy);
}


/* ==========================
   TRAVEL
========================== */

.travel {
    background: var(--green);
    color: white;
    text-align: center;
}

.travel-inner {
    max-width: 900px;
    margin: auto;
}

.travel-inner > p:not(.section-kicker) {
    color: #ddd8cc;
    max-width: 650px;
    margin: auto;
}

.travel-grid {
    margin-top: 65px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.travel-grid span {
    font-size: 2rem;
    color: #d6ba83;
}

.travel-grid h3 {
    font-size: 1.8rem;
    margin: 15px 0;
}

.travel-grid p {
    font-size: .8rem;
    color: #cfc9bd;
}


/* ==========================
   FAQ
========================== */

.faq {
    max-width: 900px;
    margin: auto;
}

.faq > h2,
.faq > .section-kicker {
    text-align: center;
}

.faq-list {
    margin-top: 50px;
}

details {
    border-bottom: 1px solid #cfc3b2;
    padding: 22px 0;
}

summary {
    cursor: pointer;
    font-family: "Italiana", serif;
    font-size: 1.4rem;
    list-style: none;
}

summary::after {
    content: "+";
    float: right;
    color: var(--terracotta);
}

details[open] summary::after {
    content: "−";
}

details p {
    padding: 20px 30px 0 0;
    color: var(--muted);
    font-size: .85rem;
}


/* ==========================
   RSVP
========================== */

.rsvp {
    background: var(--burgundy);
    color: white;
    text-align: center;
    padding: 120px 7%;
}

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

.rsvp-date {
    margin-top: 30px;
    letter-spacing: .3rem;
    font-weight: 500;
}

.rsvp-divider {
    width: 70px;
    height: 1px;
    background: #d3b37c;
    margin: 35px auto;
}

.formal {
    text-transform: uppercase;
    letter-spacing: .25rem;
    font-size: .65rem;
}

.light-script {
    color: #e3c994;
}


/* ==========================
   FOOTER
========================== */

footer {
    background: #102d26;
    color: #d7cdbd;
    text-align: center;
    padding: 50px 20px;
}

.footer-monogram {
    font-family: "Italiana", serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-monogram span {
    font-family: "Parisienne", cursive;
    color: #d1b37e;
}

footer p {
    font-size: .55rem;
    letter-spacing: .2rem;
}


/* =================================
   TABLET
================================= */

@media (min-width: 769px) and (max-width: 1000px) {
    nav {
        gap: 22px;
    }

    .hero-content {
        width: 48%;
        margin-left: 5%;
    }

    .bride-name,
    .groom-name {

        white-space: normal;
    }
}

/* =================================
   MOBILE
================================= */


/* =====================================================
   MOBILE — SINGLE SOURCE OF TRUTH
===================================================== */

/* =====================================================
   MOBILE — PRESERVED FROM CURRENT WORKING VERSION
===================================================== */

@media screen and (max-width: 768px) {


    html,

    body {

        width: 100%;

        overflow-x: hidden;

    }


    /* ---------- NAVBAR ---------- */


    .navbar {

        height: 70px;

        width: 100%;

        padding: 0 22px;


        display: flex;

        align-items: center;

        justify-content: space-between;


        background: #f8f3eb;

        position: relative;

        z-index: 1000;

    }


    .logo {

        font-family: "Italiana", serif;

        font-size: 1.6rem;

        letter-spacing: .15rem;

        color: #9a7748;

    }


    .menu-toggle {

        display: block;

        background: transparent;

        border: 0;

        color: #251e1a;

        font-size: 1.5rem;

        cursor: pointer;

    }


    nav {

        display: none;


        position: absolute;

        top: 70px;

        left: 0;


        width: 100%;

        padding: 28px;


        background: #f8f3eb;


        flex-direction: column;

        align-items: center;

        gap: 22px;


        box-shadow: 0 10px 25px rgba(0,0,0,.12);

    }


    nav.active {

        display: flex;

    }


    nav a {

        color: #251e1a;

    }


    .nav-rsvp {

        color: #fff;

    }


    /* ==================================

       MOBILE HERO

    ================================== */


    .hero {

        position: relative;


        width: 100%;

        min-height: calc(100svh - 70px);


        background-image: url("./images/hero-wedding-mobile.png");

        background-size: cover;

        background-position: center top;

        background-repeat: no-repeat;


        display: flex;

        align-items: flex-end;


        overflow: hidden;


        color: #fff;

    }


    /* Gradient belongs OVER the image */


    .hero-shade {

        position: absolute;

        inset: 0;

        z-index: 1;


        background: linear-gradient(

            to bottom,

            rgba(10,10,8,.02) 0%,

            rgba(10,10,8,.05) 25%,

            rgba(10,10,8,.25) 48%,

            rgba(10,12,8,.68) 72%,

            rgba(10,12,8,.92) 100%

        );

    }


    /* ---------- HERO CONTENT ---------- */


    .hero-content {

        position: relative;

        z-index: 2;


        width: 100%;

        max-width: none;


        margin: 0;

        padding: 42vh 20px 40px;


        text-align: center;


        color: #fff;

    }


    /* SAVE THE DATE */


    .save-title {

        margin: 0;


        font-family: "Italiana", serif;

        font-size: clamp(2.4rem, 11vw, 3.4rem);

        line-height: 1;


        letter-spacing: .12rem;


        color: #fff;

    }


    .save-title span {

        font-family: "Parisienne", cursive;


        font-size: .72em;

        color: #d7ad67;


        letter-spacing: 0;

        margin: 0 5px;

    }


    /* FOR THE WEDDING OF */


    .wedding-of {

        margin-top: 18px;


        font-size: .58rem;

        font-weight: 500;


        letter-spacing: .25rem;


        color: #fff;

    }


    /* ---------- NAMES ---------- */


    .hero h1 {

        margin: 14px 0 0;


        font-family: "Italiana", serif;

        font-weight: 400;


        line-height: .9;


        color: #fff;

    }


    .bride-name,

    .groom-name {

        display: block;


        font-size: clamp(3rem, 13vw, 4.2rem);


        line-height: .95;


        white-space: normal;


        color: #fff;

    }


    /* AND */


    .and-line {

        display: flex;

        align-items: center;

        justify-content: center;


        gap: 12px;


        margin: 7px auto;

    }


    .and-line i {

        display: block;


        width: 50px;

        height: 1px;


        background: #d4ad6b;

    }


    .and-line em {

        font-family: "Parisienne", cursive;


        font-size: 2.3rem;

        font-style: normal;


        color: #d8ad68;

    }


    /* ---------- DATE ---------- */


    .hero-date {

        margin-top: 22px;


        font-family: "Italiana", serif;


        font-size: .82rem;

        letter-spacing: .24rem;


        color: #fff;

    }


    /* ---------- LOCATION ---------- */


    .hero-location {

        margin-top: 7px;


        font-size: .58rem;

        letter-spacing: .23rem;


        color: #fff;

    }


    /* ---------- LEAF ---------- */


    .hero-leaf {

        margin: 14px 0 7px;


        font-size: 1.8rem;


        color: #d0a15d;

    }


    /* ---------- MESSAGE ---------- */


    .hero-message {

        margin: 0;


        font-family: "Italiana", serif;


        font-size: .72rem;

        line-height: 1.7;


        letter-spacing: .18rem;


        color: #fff;

    }


    /* ---------- WEDDING DETAILS BUTTON ---------- */


    .hero-button {

        display: inline-flex;


        align-items: center;

        justify-content: center;


        width: min(100%, 310px);


        margin-top: 20px;

        padding: 14px 18px;


        background: #721f27;


        border: 1px solid rgba(255,255,255,.85);


        color: #fff;


        font-size: .62rem;

        letter-spacing: .16rem;

    }


    /* ==================================

       INTRO

    ================================== */


    .section {

        padding: 70px 7%;

    }


    .intro {

        width: 100%;

        max-width: 100%;


        background: var(--cream);


        text-align: center;

    }


    .intro h2 {

        font-size: 2.8rem;

        line-height: 1.1;

    }


    .intro-text {

        font-size: 1.15rem;

        line-height: 1.6;

    }


    .script-text {

        font-size: 2rem;

    }


    /* ==================================

       COUNTDOWN

    ================================== */


    .countdown-section {

        width: 100%;


        padding: 65px 20px;


        background: var(--burgundy);


        color: #fff;


        text-align: center;

    }


    .countdown-section h2 {

        margin-bottom: 35px;


        font-size: 2.8rem;


        color: #fff;

    }


    .countdown {

        display: grid;


        grid-template-columns: repeat(4, 1fr);


        width: 100%;

        max-width: 500px;


        margin: 0 auto;


        gap: 8px;

    }


    .countdown-box {

        text-align: center;

    }


    .countdown-box span {

        display: block;


        font-family: "Italiana", serif;


        font-size: clamp(1.8rem, 9vw, 2.7rem);


        line-height: 1;


        color: #fff;

    }


    .countdown-box small {

        display: block;


        margin-top: 8px;


        font-size: .48rem;


        letter-spacing: .08rem;


        color: #e5d3c6;


        text-transform: uppercase;

    }


    /* ==================================

       STORY

    ================================== */


    .story {

        display: grid;


        grid-template-columns: 1fr;


        gap: 50px;

    }


    .story-image {

        width: 100%;

    }


    .story-image img {

        width: 100%;

        height: auto;


        object-fit: cover;

    }


    .story-image::before {

        left: -10px;

        top: -10px;

    }


    /* ==================================

       DETAILS

    ================================== */


    .detail-cards {

        grid-template-columns: 1fr;

    }


    /* ==================================

       TRAVEL

    ================================== */


    .travel-grid {

        grid-template-columns: 1fr;


        gap: 35px;

    }


    /* ==================================

       FAQ

    ================================== */


    .faq h2 {

        font-size: 2.7rem;

    }


    /* ==================================

       RSVP

    ================================== */


    .rsvp {

        padding: 80px 7%;

    }

}
/* =================================
   RSVP FORM
================================= */

.rsvp-intro {
    max-width: 600px;
    margin: 25px auto 0;
    color: #eaded8;
    font-size: .9rem;
    line-height: 1.8;
}

.attendance-options {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 35px;
}

.attendance-btn {
    min-width: 220px;
    padding: 16px 25px;

    border: 1px solid rgba(255,255,255,.75);
    background: transparent;
    color: #fff;

    font-family: "Montserrat", sans-serif;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .12rem;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.attendance-btn:hover {
    background: #fff;
    color: var(--burgundy);
    transform: translateY(-2px);
}

.attendance-btn.selected {
    background: #fff;
    color: var(--burgundy);
}

.guest-details {
    display: none;

    max-width: 520px;
    margin: 40px auto 0;

    text-align: left;
}

.guest-details.show {
    display: block;
}

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

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #e3c994;

    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .18rem;
}

.form-group input {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid rgba(255,255,255,.45);
    border-radius: 0;

    background: rgba(255,255,255,.08);
    color: #fff;

    font-family: "Montserrat", sans-serif;
    font-size: .85rem;

    outline: none;
}

.form-group input::placeholder {
    color: rgba(255,255,255,.55);
}

.form-group input:focus {
    border-color: #e3c994;
}

.rsvp-submit {
    width: 100%;

    margin-top: 10px;
    padding: 16px 25px;

    border: 1px solid #fff;

    background: #fff;
    color: var(--burgundy);

    font-family: "Montserrat", sans-serif;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .18rem;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.rsvp-submit:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.rsvp-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.rsvp-status {
    display: none;

    max-width: 520px;
    margin: 30px auto 0;

    font-family: "Italiana", serif;
    font-size: 1.25rem;
    line-height: 1.5;
}

.rsvp-status.success {
    display: block;
    color: #e3c994;
}

.rsvp-status.error {
    display: block;
    color: #fff;
}


/* RSVP MOBILE */

@media screen and (max-width: 768px) {

    .attendance-options {
        flex-direction: column;
        gap: 12px;
    }

    .attendance-btn {
        width: 100%;
        min-width: 0;
    }

    .rsvp-intro {
        font-size: .8rem;
    }

    .guest-details {
        width: 100%;
    }
}