/* ================================
   RESET
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #f8f5f0;
    color: #3f3a35;
    line-height: 1.7;
}

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

button,
a {
    font-family: inherit;
}


/* ================================
   GENERAL
================================ */

.container {
    width: min(90%, 1000px);
    margin: auto;
}

.section {
    padding: 100px 0;
    text-align: center;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #8d7761;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
}

h2 {
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1.1;
}

.divider {
    width: 60px;
    height: 1px;
    background: #a89076;
    margin: 30px auto;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;
    position: relative;

    background-image: url("images/couple.jpg");
    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: rgba(20, 17, 14, 0.48);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.small-title {
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(70px, 13vw, 150px);
    line-height: 0.75;
    font-weight: 400;
}

.hero h1 span {
    font-size: 45px;
    display: inline-block;
    margin: 15px 0;
}

.wedding-date {
    margin-top: 35px;
    letter-spacing: 3px;
    font-size: 13px;
}

.open-button {
    margin-top: 40px;

    padding: 14px 30px;

    border: 1px solid rgba(255,255,255,0.8);
    background: transparent;
    color: white;

    cursor: pointer;

    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 10px;

    transition: 0.3s;
}

.open-button:hover {
    background: white;
    color: #3f3a35;
}


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

.intro {
    background: #f8f5f0;
}

.intro-text {
    max-width: 650px;
    margin: auto;

    font-size: 15px;
    color: #68615a;
}


/* ================================
   COUPLE
================================ */

.couple {
    background: #eee9e1;
}

.couple-grid {
    margin-top: 60px;

    display: grid;
    grid-template-columns: 1fr 100px 1fr;

    align-items: center;
}

.person {
    text-align: center;
}

.photo-wrapper {
    width: 260px;
    height: 330px;

    margin: 0 auto 30px;

    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.person h3 {
    font-size: 34px;
    margin-bottom: 10px;
}

.person p {
    font-size: 13px;
    color: #6d665e;
}

.child-of {
    font-size: 11px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.deceased {
    font-style: italic;
}

.ampersand {
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    color: #9b846c;
}


/* ================================
   EVENT
================================ */

.event {
    background: #f8f5f0;
}

.event-info {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    max-width: 800px;
    margin: 60px auto 0;
}

.event-item {
    padding: 30px;
}

.icon {
    font-size: 35px;
    color: #9b846c;
}

.event-item h3 {
    font-size: 30px;
    margin: 15px 0;
}

.event-item p {
    font-size: 14px;
    color: #68615a;
}

.location-note {
    margin-top: 10px;
    font-size: 12px !important;
    font-style: italic;
}

.maps-button {
    display: inline-block;

    margin-top: 25px;

    padding: 12px 25px;

    background: #4a4037;
    color: white;

    text-decoration: none;

    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: 0.3s;
}

.maps-button:hover {
    background: #8d7761;
}


/* ================================
   COUPLE PHOTO
================================ */

.couple-photo {
    min-height: 650px;

    position: relative;

    background-image: url("images/couple.jpeg");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
}

.couple-photo-overlay {
    position: absolute;
    inset: 0;

    background: rgba(25, 20, 17, 0.45);
}

.couple-photo-content {
    position: relative;
    z-index: 2;
}

.couple-photo h2 {
    font-size: clamp(50px, 8vw, 90px);
}


/* ================================
   CLOSING
================================ */

.closing {
    background: #eee9e1;
}

.closing-quote {
    max-width: 650px;

    margin: 0 auto;

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    font-style: italic;

    line-height: 1.6;
}

.quran {
    margin-top: 15px;

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.closing p:not(.closing-quote):not(.quran) {
    max-width: 600px;
    margin: 0 auto;

    font-size: 14px;
    color: #68615a;
}

.closing-names {
    margin-top: 40px;

    font-size: 40px;

    color: #8d7761;
}


/* ================================
   JAVASCRIPT HIDDEN CONTENT
================================ */

.hidden {
    display: none;
}


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

@media (max-width: 768px) {

    .section {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 75px;
    }

    .couple-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ampersand {
        order: 2;
    }

    .person:first-child {
        order: 1;
    }

    .person:last-child {
        order: 3;
    }

    .photo-wrapper {
        width: 230px;
        height: 300px;
    }

    .event-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .couple-photo {
        min-height: 550px;
    }

}