@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background-color: #ffffff;
    color: #222222;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 5px 20px 10px;
    background-color: #0f3d2e;
    color: white;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #c49705;
}

.hero {
    height: calc(100vh - 37px);
    background-image: url("images/jamhero1.jpg");
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;

    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: center;
}

.hero-content {
    margin-left: 6%;
    margin-top: 8%;
    padding: 20px;
    background: none;
    text-align: center;
}

.hero-small {
    font-size: 14px;
    letter-spacing: 5px;
    color: #0f3d2e;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 2.0);
}

.hero h2 {
    font-size: 64px;
    font-family: "Cormorant Garamond", serif;
    font-weight: normal;
    color: #0f3d2e;
    line-height: 1.1;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 2.0);
}

.hero-date {
    margin-top: 12px;
    font-size: 16px;
    letter-spacing: 4px;
    color: #0f3d2e;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.about {
    background-color: #f7f3eb;
    min-height: 100vh;
    padding: 60px 8%;

    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.section-label {
    color: #b08d57;
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.about h2 {
    color: #0f3d2e;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #444444;
}

.about-photo {
    flex: 1;
}

.about-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.wedding {
    min-height: 100vh;
    background-color: #0f3d2e;
    padding: 60px 8%;

    display: flex;
    align-items: center;
}

.wedding-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 80px;
}

.wedding-photo {
    flex: 1;
}

.wedding-photo img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

.wedding-details {
    flex: 1;
    text-align: center;
    color: white;
}

.wedding .section-label {
    color: #d4af37;
}

.wedding h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 30px;
}

.wedding-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.wedding-date .month,
.wedding-date .year {
    font-size: 16px;
    letter-spacing: 3px;
}

.wedding-date .day {
    font-family: "Cormorant Garamond", serif;
    font-size: 64px;
    color: #d4af37;
    line-height: 1;
}

/* WEDDING COUNTDOWN */

.countdown {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}

.countdown-item {
    min-width: 65px;
    text-align: center;
}

.countdown-item span {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    color: #d4af37;
    line-height: 1;
}

.countdown-item p {
    margin-top: 7px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #ffffff;
}

.countdown-message {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 35px;
}

.wedding-info h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
}

.wedding-info p {
    margin-bottom: 5px;
}

.directions-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 28px;

    border: 1px solid #d4af37;
    color: white;
    text-decoration: none;

    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;

    transition: 0.3s ease;
}

.directions-button:hover {
    background-color: #d4af37;
    color: #0f3d2e;
}

.rsvp {
    min-height: 100vh;
    background-color: #f7f3eb;
    padding: 80px 8%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.rsvp-container {
    max-width: 700px;
}

.rsvp h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 52px;
    font-weight: normal;
    color: #0f3d2e;
    margin-bottom: 20px;
}

.rsvp-message {
    font-size: 18px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 15px;
}

.rsvp-deadline {
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    color: #0f3d2e;
    margin-bottom: 35px;
}

.rsvp-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.rsvp-button {
    display: inline-block;
    padding: 12px 28px;

    border: 1px solid #0f3d2e;
    color: #0f3d2e;
    text-decoration: none;

    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;

    transition: 0.3s ease;
}

.rsvp-button:hover {
    background-color: #0f3d2e;
    color: white;
}

.registry {
    min-height: 100vh;
    background-color: #0f3d2e;
    padding: 80px 8%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.registry-container {
    width: 100%;
    max-width: 1200px;
}

.registry h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 52px;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 20px;
}

.registry-message {
    max-width: 650px;
    margin: 0 auto 50px;

    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

.registry-options {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.registry-card {
    flex: 1;
    padding: 45px 30px;

    border: 1px solid #d4af37;
    background-color: #f7f3eb;
}

.registry-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: normal;
    color: #0f3d2e;
    margin-bottom: 15px;
}

.registry-card p {
    color: #0f3d2e;
    line-height: 1.7;
    margin-bottom: 30px;
}

.registry-button {
    display: inline-block;
    padding: 12px 24px;

    border: 1px solid #d4af37;
    color: #0f3d2e;
    text-decoration: none;

    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;

    transition: 0.3s ease;
}

.registry-button:hover {
    background-color: #0f3d2e;
    color: white;
}

/* FAQ SECTION */

.faq {
    min-height: 100vh;
    background-color: #f7f3eb;
    padding: 80px 8%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-container {
    width: 100%;
    max-width: 850px;
}

.faq .section-label {
    text-align: center;
}

.faq h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: normal;
    color: #0f3d2e;
    text-align: center;
    margin-bottom: 45px;
}

.faq-list {
    width: 100%;
}

.faq details {
    border-bottom: 1px solid #d4af37;
    padding: 20px 5px;
}

.faq details:first-child {
    border-top: 1px solid #d4af37;
}

.faq summary {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    color: #0f3d2e;
    cursor: pointer;

    list-style: none;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.faq summary::after {
    content: "+";
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #d4af37;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding-top: 15px;
    color: #d4af37;
    line-height: 1.7;
}

/* FOOTER */

footer {
    background-color: #0f3d2e;
    color: white;

    text-align: center;
    padding: 30px 20px;

    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    letter-spacing: 2px;

    border-top: 2px solid #d4af37;
}

footer span {
    color: #d4af37;
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #0f3d2e;
    color: white;

    border: 1px solid #d4af37;
    border-radius: 50%;

    text-decoration: none;
    font-size: 22px;

    transition: 0.3s ease;

    z-index: 1000;
}

.back-to-top:hover {
    background-color: #d4af37;
    color: #0f3d2e;
}

.story-yes {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px !important;
    color: #0f3d2e !important;
}

.story-ending {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d4af37;
}

.story-ending p {
    margin-bottom: 3px;
    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
    line-height: 1.4;
    color: #0f3d2e;
}

.story-ending p:last-child {
    margin-top: 8px;
    font-size: 25px;
    color: #b08d57;
}

/* MOBILE STYLES */

@media (max-width: 768px) {

    nav {
        gap: 12px;
        padding: 5px;
    }

    nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }


    /* HERO */

.hero {
    height: calc(100vh - 37px);
    min-height: 0;
    background-position: 50% 60%;
}

    .hero-content {
        margin-left: 0;
        margin-top: 0;
        padding: 30px;

        width: 100%;

        align-self: flex-start;
        text-align: center;
    }

    .hero h2 {
        font-size: 40px;
    }

    .hero-small {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero-date {
        font-size: 14px;
        letter-spacing: 3px;
    }


    /* ABOUT */

    .about {
        padding: 60px 25px;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about h2 {
        font-size: 40px;
    }

    .about-photo img {
        height: 400px;
    }


    /* WEDDING */

    .wedding {
        padding: 60px 25px;
    }

    .wedding-container {
        flex-direction: column;
        gap: 40px;
    }

    .wedding-photo {
        width: 100%;
    }

    .wedding-photo img {
        height: 400px;
    }

    .wedding h2 {
        font-size: 40px;
    }

    .wedding-date .day {
        font-size: 52px;
    }


    /* RSVP */

    .rsvp {
        padding: 60px 25px;
    }

    .rsvp h2 {
        font-size: 42px;
    }

    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rsvp-button {
        width: 100%;
        max-width: 300px;
    }


    /* REGISTRY */

    .registry {
        padding: 60px 25px;
    }

    .registry h2 {
        font-size: 42px;
    }

    .registry-options {
        flex-direction: column;
    }

    .registry-card {
        width: 100%;
    }


    /* FAQ */

    .faq {
        padding: 60px 25px;
    }

    .faq h2 {
        font-size: 38px;
    }


    /* BACK TO TOP */

    .back-to-top {
        right: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;
    }
}