/* =========================================
   GLOBAL SETTINGS
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

:root {

    --gold: #c9a227;
    --gold-light: #e7d49a;

    --green: #315442;
    --green-dark: #203b2d;

    --burgundy: #641f2b;
    --burgundy-dark: #45151e;

    --cream: #faf8f2;

    --white: #ffffff;

    --text: #333333;

    --heading-font: "Cormorant Garamond", serif;

    --body-font: "Montserrat", sans-serif;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255,255,255,0.96);

    border-bottom: 1px solid rgba(201,162,39,0.25);

    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: auto;

    padding: 15px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--heading-font);

    font-size: 30px;

    color: var(--green);

    font-weight: 600;
}

.logo span {
    color: var(--gold);
}

nav {
    display: flex;

    gap: 22px;

    align-items: center;
}

nav a {
    font-size: 12px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    color: #333;

    transition: 0.3s;
}

nav a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;

    background: none;

    border: none;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    background-image:
        url("https://www.theknot.com/tk-media/images/7275f4aa-ce12-4762-95f1-a10642437575~rt_360-cr_0.59.1402.760-rs_1280.h?ordering=explicit&quality=90");

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: white;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(20,40,30,0.35),
            rgba(20,40,30,0.55)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    padding: 120px 20px 60px;

    max-width: 900px;
}

.eyebrow {
    font-size: 13px;

    letter-spacing: 5px;

    font-weight: 500;

    margin-bottom: 15px;
}

.hero h1 {
    font-family: var(--heading-font);

    font-size: clamp(70px, 10vw, 130px);

    font-weight: 400;

    line-height: 1;
}

.hero h1 span {
    color: var(--gold-light);
}

.divider {
    width: 80px;

    height: 2px;

    background: var(--gold-light);

    margin: 30px auto;
}

.wedding-date {
    font-family: var(--heading-font);

    font-size: 35px;

    letter-spacing: 2px;
}

.location {
    font-size: 14px;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-top: 5px;
}


/* =========================================
   COUNTDOWN
========================================= */

.countdown {
    display: flex;

    justify-content: center;

    gap: 15px;

    margin: 45px 0;
}

.countdown-box {
    min-width: 100px;

    padding: 18px 10px;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.45);

    backdrop-filter: blur(5px);
}

.countdown-box span {
    display: block;

    font-family: var(--heading-font);

    font-size: 45px;

    line-height: 1;

    color: white;
}

.countdown-box small {
    display: block;

    margin-top: 8px;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================
   BUTTONS
========================================= */

.hero-button {
    display: inline-block;

    padding: 14px 32px;

    border: 1px solid var(--gold-light);

    color: white;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 11px;

    transition: 0.3s;
}

.hero-button:hover {
    background: var(--gold);

    border-color: var(--gold);

    color: white;
}

.dark-button {
    color: var(--green-dark);

    border-color: var(--green-dark);
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 110px 30px;
}

.light-section {
    background: var(--cream);
}

.section-container {
    max-width: 1200px;

    margin: auto;
}

.section-container.narrow {
    max-width: 850px;
}

.section-heading {
    text-align: center;

    margin-bottom: 60px;
}

.section-eyebrow {
    color: var(--gold);

    font-size: 12px;

    letter-spacing: 4px;

    font-weight: 600;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-family: var(--heading-font);

    font-size: 65px;

    color: var(--green-dark);

    font-weight: 500;

    line-height: 1.1;
}

.gold-line {
    width: 60px;

    height: 2px;

    background: var(--gold);

    margin: 20px auto;
}

.heading-description {
    max-width: 650px;

    margin: 20px auto;

    color: #666;
}


/* =========================================
   STORY
========================================= */

.story-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.story-image {
    overflow: hidden;
}

.story-image img {
    aspect-ratio: 4 / 5;

    object-fit: cover;
}

.story-text h3 {
    font-family: var(--heading-font);

    font-size: 42px;

    color: var(--green);

    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 20px;

    color: #666;
}


/* =========================================
   PHOTOS
========================================= */

.photo-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.photo-card {
    overflow: hidden;
}

.photo-card img {
    aspect-ratio: 1 / 1;

    object-fit: cover;

    transition: transform 0.5s;
}

.photo-card:hover img {
    transform: scale(1.05);
}


/* =========================================
   WEDDING PARTY
========================================= */

.party-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.party-card {
    text-align: center;
}

.party-placeholder {
    width: 100%;

    aspect-ratio: 1 / 1;

    background: #e8e5dc;

    margin-bottom: 20px;
}

.party-card h3 {
    font-family: var(--heading-font);

    font-size: 30px;

    color: var(--green);
}

.party-card p {
    font-size: 13px;

    color: #777;
}


/* =========================================
   BURGUNDY SECTION
========================================= */

.burgundy-section {
    background: var(--burgundy);

    color: white;
}

.burgundy-section .section-heading h2 {
    color: white;
}

.burgundy-section .dress-code-content {
    text-align: center;
}

.dress-code-content h3 {
    font-family: var(--heading-font);

    font-size: 40px;

    margin-bottom: 20px;

    color: var(--gold-light);
}

.dress-code-content p {
    margin-bottom: 15px;

    color: rgba(255,255,255,0.9);
}


/* =========================================
   FAQ
========================================= */

.faq details {
    border-bottom: 1px solid #ddd;

    padding: 20px 0;
}

.faq summary {
    cursor: pointer;

    list-style: none;

    font-family: var(--heading-font);

    font-size: 25px;

    color: var(--green);

    position: relative;

    padding-right: 30px;
}

.faq summary::after {
    content: "+";

    position: absolute;

    right: 0;

    color: var(--gold);

    font-family: Arial;
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    margin-top: 15px;

    color: #666;
}


/* =========================================
   TRAVEL
========================================= */

.travel-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.info-card {
    background: white;

    padding: 40px;

    border-top: 3px solid var(--gold);

    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.info-card h3 {
    font-family: var(--heading-font);

    font-size: 35px;

    color: var(--green);

    margin-bottom: 15px;
}

.info-card p {
    color: #666;

    margin-bottom: 20px;
}

.text-button {
    color: var(--gold);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================
   THINGS TO DO
========================================= */

.things-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.thing-card {
    padding: 35px;

    border: 1px solid #e3dfd2;

    transition: 0.3s;
}

.thing-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.thing-card h3 {
    font-family: var(--heading-font);

    font-size: 30px;

    color: var(--green);

    margin-bottom: 10px;
}

.thing-card p {
    color: #666;
}


/* =========================================
   REGISTRY
========================================= */

.gold-section {
    background: #f4edda;
}

.registry-content {
    text-align: center;

    max-width: 700px;

    margin: auto;
}

.registry-content p {
    margin-bottom: 20px;

    color: #555;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: var(--green-dark);

    color: white;

    text-align: center;

    padding: 70px 20px;
}

.footer-content h2 {
    font-family: var(--heading-font);

    font-size: 50px;

    font-weight: 400;
}

.footer-content h2 span {
    color: var(--gold-light);
}

.footer-content > p {
    letter-spacing: 2px;

    font-size: 13px;
}

.footer-divider {
    width: 50px;

    height: 1px;

    background: var(--gold);

    margin: 25px auto;
}

.copyright {
    opacity: 0.6;

    font-size: 11px !important;

    letter-spacing: 1px !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 1100px) {

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 10px;
    }

}


@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: white;

        display: none;

        flex-direction: column;

        padding: 20px;

        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 10px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .party-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }

    .things-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .nav-container {
        padding: 12px 20px;
    }

    .logo {
        font-size: 25px;
    }

    .hero h1 {
        font-size: 65px;
    }

    .wedding-date {
        font-size: 28px;
    }

    .countdown {
        gap: 5px;
    }

    .countdown-box {
        min-width: 70px;

        padding: 12px 5px;
    }

    .countdown-box span {
        font-size: 30px;
    }

    .countdown-box small {
        font-size: 8px;
    }

    .section {
        padding: 80px 20px;
    }

    .section-heading h2 {
        font-size: 50px;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .party-grid {
        grid-template-columns: 1fr 1fr;
    }

    .things-grid {
        grid-template-columns: 1fr;
    }

}