/* =========================
   WEDDING WEBSITE
   AMELIA & JAMES
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #fcfaf6;
    color: #403a35;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================
   NAVIGATION
   ========================= */

.wedding-nav {
    min-height: 90px;
    padding: 20px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #fcfaf6;
}

.couple-logo {
    font-size: 25px;
    letter-spacing: 1px;
}

.couple-logo span {
    color: #b38b59;
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a {
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #b38b59;
}

.nav-rsvp {
    border: 1px solid #b38b59;
    padding: 9px 18px;
}


/* =========================
   HERO
   ========================= */
hero-image {
    width: 100%;
    height: auto;
    display: block;

.hero {
    position: relative;

    min-height: 620px;

    background-image: url("../Assets/images/wedding-hero.png");
    background-size: cover;
    background-position: center center;

}
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(35, 28, 23, 0.38);
}

.hero-content {
    position: relative;
    z-index: 2;

    padding: 40px 20px;
}

.hero-eyebrow,
.eyebrow {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-eyebrow {
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(64px, 9vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero h1 span {
    display: block;
    color: #ead8bb;
    font-size: 0.55em;
    font-style: italic;
    margin: 15px 0;
}

.wedding-date {
    font-family: Arial, sans-serif;
    font-size: 18px;
    letter-spacing: 7px;
    margin-bottom: 8px;
}

.hero-location {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-button,
.rsvp-button {
    display: inline-block;

    padding: 13px 30px;

    border: 1px solid #ffffff;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.hero-button:hover {
    background: #ffffff;
    color: #403a35;
}


/* =========================
   WELCOME
   ========================= */

.welcome {
    max-width: 780px;
    margin: 0 auto;
    padding: 110px 30px;

    text-align: center;
}

.eyebrow {
    color: #b38b59;
    margin-bottom: 18px;
}

.welcome h2 {
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 25px;
}

.welcome > p:not(.eyebrow) {
    color: #756d66;
    margin-bottom: 25px;
}

.text-link {
    color: #9a7448;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================
   WEDDING PREVIEW
   ========================= */

.wedding-preview {
    padding: 80px 8%;
    background: #f2ece3;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    align-items: center;

    text-align: center;
}

.preview-card {
    padding: 30px;
}

.preview-card h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 12px;
}

.preview-card p:last-child {
    color: #756d66;
}

.preview-divider {
    width: 70px;
    height: 70px;

    border: 1px solid #b38b59;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b38b59;
    font-size: 30px;
    font-style: italic;
}


/* =========================
   WEDDING UPDATE
   ========================= */

.wedding-update {
    max-width: 900px;
    margin: 100px auto;
    padding: 55px;

    border: 1px solid #d8c8b2;

    text-align: center;
}

.wedding-update h2 {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 15px;
}

.wedding-update > p:not(.eyebrow) {
    color: #756d66;
    margin-bottom: 22px;
}


/* =========================
   MEMORIES
   ========================= */

.memory-preview {
    max-width: 1200px;
    margin: 0 auto 110px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;

    background: #ffffff;
}

.memory-content {
    padding: 70px;
}

.memory-content h2 {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.memory-content > p:not(.eyebrow) {
    color: #756d66;
    margin-bottom: 25px;
}

.memory-image {
     object-fit: cover;
    object-position: center 30%;
}

.memory-image img {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
}


/* =========================
   RSVP CALL TO ACTION
   ========================= */

.rsvp-cta {
    padding: 100px 7%;

    background: #7c8270;
    color: #ffffff;

    text-align: center;
}

.rsvp-cta .eyebrow {
    color: #ead8bb;
}

.rsvp-cta h2 {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 12px;
}

.rsvp-cta > p:not(.eyebrow) {
    margin-bottom: 28px;
}

.rsvp-button:hover {
    background: #ffffff;
    color: #7c8270;
}


/* =========================
   FOOTER
   ========================= */

footer {
    padding: 60px 7%;

    background: #302b27;
    color: #e9e2d8;

    text-align: center;
}

.footer-names {
    font-size: 27px;
    margin-bottom: 10px;
}

.footer-names span {
    color: #c8a779;
    font-style: italic;
}

footer > p {
    font-size: 14px;
}

.footer-note {
    margin-top: 12px;
    color: #aaa098;
    font-style: italic;
}

/* =========================
   OUR STORY PAGE
   ========================= */

.story-page {
    padding: 90px 7%;
}

.story-intro {
    max-width: 1150px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.story-image img {
    width: 100%;
    height: 580px;
    display: block;
    object-fit: cover;
}

.story-content h2 {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 22px;
}

.story-content > p:not(.eyebrow) {
    color: #756d66;
    margin-bottom: 18px;
}

.story-quote {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 65px 30px;
    border-top: 1px solid #d8c8b2;
    border-bottom: 1px solid #d8c8b2;
    text-align: center;
}

.story-quote p {
    font-size: 34px;
    font-style: italic;
    line-height: 1.5;
}

.story-chapters {
    max-width: 1150px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.story-chapters article {
    background: #fffaf5;
    padding: 42px 32px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(90, 72, 56, 0.08);
    border: 1px solid #eadfce;
}

.story-chapters article > span {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #ead8bb;
    color: #7e6548;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-style: italic;
}

.story-chapters h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 14px;
}

.story-chapters article > p:last-child {
    color: #756d66;
}

.story-ending {
    max-width: 850px;
    margin: 0 auto;
    padding: 70px;
    background: #f2ece3;
    text-align: center;
}

.story-ending h2 {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
}

.story-ending > p:not(.eyebrow) {
    color: #756d66;
    margin-bottom: 25px;
}

/* =========================
   WEDDING DETAILS PAGE
   ========================= */

.details-page {
    padding: 90px 7%;
}

.details-page section {
    margin-bottom: 60px;
}

.details-card {
    padding: 35px;
    margin-bottom: 25px;
    background: #f8f3eb;
    border-radius: 24px;
}
.schedule-section {
    padding: 40px;
    background: #f8f3eb;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(90, 72, 56, 0.06);
}

.travel-section {
    padding: 40px;
    background: #f8f3eb;
    border-radius: 24px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 45px;
    align-items: center;
}

.travel-section h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
}

.travel-note {
    padding: 28px;
    background: #fcfaf6;
    border: 1px solid #d8c8b2;
    border-radius: 18px;
}

.details-update {
    padding: 40px;
    background: #7c8270;
    color: #ffffff;
    border-radius: 24px;
    text-align: center;
}

.details-update .eyebrow {
    color: #ead8bb;
}

.details-update h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 14px;
}

.details-rsvp {
    padding: 55px 40px;
    background: #f8f3eb;
    border-radius: 24px;
    text-align: center;
}

.details-rsvp h2 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 12px;
}

.details-rsvp > p:not(.eyebrow) {
    color: #756d66;
    margin-bottom: 25px;
}

.details-rsvp .rsvp-button {
    background: #7c8270;
    color: #ffffff;
    border-color: #7c8270;
}

/* =========================
   RSVP PAGE
   ========================= */

.rsvp-page {
    padding: 45px 7% 90px;
}

.rsvp-layout {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.rsvp-form-card {
    background: #f8f3eb;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(90, 72, 56, 0.08);
}

.rsvp-form-card form {
    display: grid;
    gap: 14px;
}

.rsvp-form-card label {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.rsvp-form-card input,
.rsvp-form-card select,
.rsvp-form-card textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d8c8b2;
    border-radius: 10px;
    background: #fcfaf6;
    color: #403a35;
    font-family: inherit;
    font-size: 16px;
}

.rsvp-form-card textarea {
    resize: vertical;
}

.rsvp-submit {
    margin-top: 10px;
    padding: 14px 28px;

    background: #7c8270;
    color: #ffffff;

    border: none;
    border-radius: 10px;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;
}

.rsvp-submit:hover {
    background: #676d5d;
}

.rsvp-note {
    margin-top: 30px;
    padding: 25px;

    background: #f2ece3;
    border-left: 3px solid #b38b59;
    border-radius: 10px;
}

.rsvp-note h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
}

.rsvp-note p {
    color: #756d66;
}

/* =========================
   WEDDING GALLERY PAGE
   ========================= */

.gallery-page {
    padding: 70px 7% 100px;
}

.gallery-intro {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

.gallery-intro h2 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
}

.gallery-intro > p:not(.eyebrow) {
    color: #756d66;
}

.memory-timeline {
    max-width: 1150px;
    margin: 0 auto 80px;
}

.memory-block {
    margin-bottom: 55px;
    padding: 35px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;

    background: #f8f3eb;
    border-radius: 24px;
}
.memory-text {
    padding: 40px;
}

.memory-text > span {
    display: block;
    margin-bottom: 18px;

    color: #c8a779;
    font-size: 34px;
    font-style: italic;
}

.memory-text .eyebrow {
    margin-bottom: 14px;
}

.memory-text h3 {
    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 16px;
}

.gallery-message {
    max-width: 900px;
    margin: 0 auto 55px;
    padding: 45px;

    background: #f8f3eb;
    border-radius: 24px;

    text-align: center;
}

.gallery-message h2 {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 16px;
}

.gallery-message > p:not(.eyebrow) {
    color: #756d66;
}

.gallery-rsvp {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 40px;

    background: #7c8270;
    color: #ffffff;
    border-radius: 24px;

    text-align: center;
}

.gallery-rsvp .eyebrow {
    color: #ead8bb;
}

.gallery-rsvp h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 25px;
}

/* =========================
   WEDDING DECOR
   ========================= */

.wedding-decor {
    max-width: 1150px;
    margin: 0 auto 90px;
    padding: 0 7%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.decor-item {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: 22px;
}

.decor-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.decor-item span {
    position: absolute;
    right: 18px;
    bottom: 14px;

    width: 48px;
    height: 48px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.9);
    color: #b38b59;

    font-size: 22px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #403a35;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 850px) {

    /* NAVIGATION */

    .wedding-nav {
        padding: 16px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 13px 0;
        text-align: center;
        border-top: 1px solid #e5ddd3;
    }

    .nav-rsvp {
        margin-top: 5px;
        border: 1px solid #b38b59 !important;
    }


    /* HERO */

    .hero {
   min-height: 0;
    height: 67vw;

    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #403a35;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 40px 22px;
    }

    .hero h1 {
        font-size: clamp(56px, 18vw, 82px);
        line-height: 0.95;
    }

    .wedding-date {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .hero-location {
        font-size: 16px;
    }


    /* WELCOME */

    .welcome {
        padding: 70px 24px;
    }

    .welcome h2 {
        font-size: 34px;
    }


    /* WEDDING DECOR */

    .wedding-decor {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .decor-item {
        min-height: auto;
        height: auto;
    }

    .decor-item img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
    }


    /* CEREMONY / RECEPTION */

    .wedding-preview {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 60px 24px;
    }

    .preview-card {
        padding: 25px 15px;
    }

    .preview-card h3 {
        font-size: 28px;
    }

    .preview-divider {
        margin: 0 auto;
        width: 55px;
        height: 55px;
    }


    /* WEDDING UPDATE */

    .wedding-update {
        margin: 55px 20px;
        padding: 35px 24px;
    }

    .wedding-update h2 {
        font-size: 30px;
    }


    /* MEMORIES */

    .memory-preview {
        margin: 0 20px 65px;
        grid-template-columns: 1fr;
    }

    .memory-content {
        width: 100%;
        max-width: 100%;
        padding: 40px 28px;
    }

    .memory-content h2 {
        font-size: 34px;
    }

    .memory-image {
        min-height: auto;
        height: auto;
    }

    .memory-image img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
        display: block;
    }


    /* RSVP CTA */

    .rsvp-cta {
        width: 100%;
        max-width: 100%;
        padding: 70px 24px;
    }

    .rsvp-cta h2 {
        font-size: 38px;
    }


    /* FOOTER */

    footer {
        padding: 45px 24px;
    }


    /* OUR STORY */

    .story-page {
        padding: 60px 22px;
    }

    .story-intro {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 65px;
    }

    .story-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .story-content {
        width: 100%;
        max-width: 100%;
    }

    .story-content h2 {
        font-size: 35px;
    }

    .story-quote {
        margin-bottom: 65px;
        padding: 45px 20px;
    }

    .story-quote p {
        font-size: 27px;
    }

    .story-chapters {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 65px;
    }

    .story-ending {
        padding: 45px 25px;
    }

    .story-ending h2 {
        font-size: 34px;
    }


    /* DETAILS PAGE */

    .details-page {
        padding: 60px 22px;
    }

    .details-page section {
        margin-bottom: 40px;
    }

    .travel-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .details-card,
    .schedule-section,
    .travel-section,
    .details-update,
    .details-rsvp {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .travel-section h2,
    .details-update h2 {
        font-size: 30px;
    }

    .details-rsvp h2 {
        font-size: 34px;
    }


    /* RSVP PAGE */

    .rsvp-page {
        padding: 45px 20px 70px;
    }

    .rsvp-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rsvp-form-card {
        padding: 28px 22px;
        border-radius: 18px;
    }


    /* GALLERY PAGE */

    .gallery-page {
        padding: 55px 20px 75px;
    }

    .gallery-intro {
        margin-bottom: 45px;
    }

    .gallery-intro h2 {
        font-size: 34px;
    }

    .memory-block {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        margin-bottom: 35px;
    }

    .memory-text {
        padding: 25px 15px;
    }

    .memory-text h3 {
        font-size: 29px;
    }

    .gallery-message,
    .gallery-rsvp {
        padding: 35px 22px;
    }

    .gallery-message h2,
    .gallery-rsvp h2 {
        font-size: 31px;
    }


    /* GENERAL MOBILE SAFETY */

    body {
        overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    p,
    a {
        overflow-wrap: break-word;
    }
}


/* SMALL PHONES */

@media (max-width: 520px) {

    .wedding-nav {
        padding: 14px 16px;
    }

    .couple-logo {
        font-size: 21px;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .wedding-date {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .welcome h2,
    .memory-content h2 {
        font-size: 30px;
    }

    .wedding-update h2 {
        font-size: 27px;
    }

    .rsvp-cta h2 {
        font-size: 34px;
    }

    .story-content h2,
    .story-ending h2 {
        font-size: 31px;
    }

    .story-quote p {
        font-size: 24px;
    }

}

 @media (max-width: 768px) {

    .hero {
        min-height: 0;
        background-image: none;
        position: relative;
    }

    .hero-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
    }

    .hero-content {
        position: absolute;
        inset: 0;
        z-index: 2;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        padding: 30px 20px;
        text-align: center;
    }
}