/* =====================================================
   WINS MORI
   Luxury Fragrance Website
   ===================================================== */


/* -------------------------
   RESET
------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #f7f5f0;
    color: #171614;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    line-height: 1.7;
}

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


/* -------------------------
   TYPOGRAPHY
------------------------- */

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

.eyebrow {
    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}


/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 50;

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

    padding: 30px 6%;

    color: #171614;
}

.logo {
    font-family: "Montserrat", sans-serif;

    font-size: 0.82rem;
    font-weight: 500;

    letter-spacing: 0.3em;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar nav a {
    position: relative;

    font-size: 0.62rem;
    font-weight: 400;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #34312c;

    transition: opacity 0.3s ease;
}

.navbar nav a:hover {
    opacity: 0.5;
}

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 1.4rem;

    cursor: pointer;
}


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

.hero {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 130px 8% 90px;

    background: #f7f5f0;
}


/* subtle editorial background */

.hero::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 55%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #eeeae1,
            #f7f5f0
        );

    z-index: 0;
}


/* very subtle vertical divider */

.hero::after {
    content: "";

    position: absolute;

    top: 12%;
    bottom: 12%;

    left: 50%;

    width: 1px;

    background: rgba(23, 22, 20, 0.08);

    z-index: 1;
}


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

.hero-content {
    position: relative;

    z-index: 5;

    width: 50%;

    padding-right: 40px;
}

.hero-content .eyebrow {
    margin-bottom: 28px;

    color: #766b58;
}

.hero h1 {
    font-size: clamp(
        5rem,
        9vw,
        9rem
    );

    letter-spacing: -0.045em;

    color: #171614;
}

.hero h1 em {
    color: #766b58;

    font-style: italic;

    font-weight: 400;
}

.hero-text {
    max-width: 390px;

    margin-top: 35px;
    margin-bottom: 35px;

    color: #68645d;

    font-size: 0.82rem;

    line-height: 1.9;
}


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

.hero-button {
    display: inline-flex;

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

    min-height: 50px;

    padding: 0 28px;

    border: 1px solid #292722;

    color: #292722;

    font-size: 0.62rem;

    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.hero-button:hover {
    background: #292722;

    color: #f7f5f0;
}


/* =====================================================
   PRODUCT AREA
   ===================================================== */

.hero-product {
    position: absolute;

    z-index: 5;

    top: 50%;
    right: 11%;

    width: 40%;

    transform: translateY(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* product frame */

.product-frame {
    position: relative;

    width: min(390px, 100%);

    aspect-ratio: 4 / 5;

    display: flex;

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

    background: #e9e5dc;
}


/* soft shadow behind product */

.product-frame::before {
    content: "";

    position: absolute;

    width: 65%;
    height: 65%;

    border-radius: 50%;

    background: rgba(145, 124, 91, 0.12);

    filter: blur(45px);
}


/* placeholder */

.product-placeholder {
    position: relative;

    width: 65%;
    height: 72%;

    display: flex;

    flex-direction: column;

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

    border: 1px solid rgba(118, 107, 88, 0.25);

    background:
        linear-gradient(
            145deg,
            #ddd7ca,
            #f2efe8
        );

    text-align: center;
}

.product-placeholder p {
    font-family: "Cormorant Garamond", serif;

    font-size: 2.2rem;

    letter-spacing: 0.08em;

    color: #292722;
}

.product-placeholder span {
    margin-top: 8px;

    font-size: 0.48rem;

    letter-spacing: 0.2em;

    color: #766b58;
}


/* product caption */

.product-caption {
    margin-top: 18px;

    text-align: center;

    font-size: 0.6rem;

    font-weight: 500;

    letter-spacing: 0.22em;
}

.product-caption span {
    display: block;

    margin-top: 4px;

    color: #8b867d;

    font-size: 0.48rem;

    font-weight: 400;

    letter-spacing: 0.18em;
}


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

.hero-bottom {
    position: absolute;

    left: 8%;
    bottom: 30px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 14px;

    color: #888279;

    font-size: 0.52rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.hero-line {
    width: 55px;

    height: 1px;

    background: #aaa49a;
}


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

.intro {
    padding: 150px 10%;

    text-align: center;
}

.intro .eyebrow {
    margin-bottom: 22px;

    color: #766b58;
}

.intro h2 {
    font-size: clamp(
        3rem,
        5vw,
        5.5rem
    );
}

.intro > p:last-child {
    max-width: 650px;

    margin: 35px auto 0;

    color: #68645d;
}


/* =====================================================
   COLLECTIONS
   ===================================================== */

.collections {
    padding: 120px 7%;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading .eyebrow {
    margin-bottom: 15px;

    color: #766b58;
}

.section-heading h2 {
    font-size: clamp(
        3rem,
        5vw,
        5rem
    );
}

.section-heading > p:last-child {
    max-width: 500px;

    margin-top: 18px;

    color: #68645d;
}

.collection-grid {
    display: grid;

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

    gap: 25px;
}

.collection-card {
    background: #eeebe4;
}

.collection-image {
    height: 430px;

    display: flex;

    align-items: flex-end;

    padding: 25px;
}

.collection-image span {
    color: white;

    font-size: 0.62rem;

    letter-spacing: 0.25em;
}

.for-her {
    background:
        linear-gradient(
            135deg,
            #c9bbb1,
            #806e65
        );
}

.for-him {
    background:
        linear-gradient(
            135deg,
            #59564e,
            #26251f
        );
}

.timeless {
    background:
        linear-gradient(
            135deg,
            #b7a88d,
            #615746
        );
}

.collection-info {
    padding: 30px;
}

.collection-info .eyebrow {
    color: #766b58;
}

.collection-info h3 {
    margin: 8px 0 15px;

    font-size: 2.5rem;
}

.collection-info p:not(.eyebrow) {
    color: #68645d;

    font-size: 0.82rem;
}

.collection-info a {
    display: inline-block;

    margin-top: 20px;

    padding-bottom: 3px;

    border-bottom: 1px solid #766b58;

    font-size: 0.62rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


/* =====================================================
   SCENTS
   ===================================================== */

.scents {
    padding: 130px 7%;

    background: #26241f;

    color: #f7f5f0;
}

.scents .section-heading .eyebrow {
    color: #c3ae87;
}

.scent-list {
    display: grid;

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

    border-top:
        1px solid
        rgba(255,255,255,0.15);
}

.scent-item {
    display: grid;

    grid-template-columns:
        50px 1fr;

    align-items: center;

    padding: 35px 20px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.15);
}

.scent-item > span {
    color: #c3ae87;

    font-size: 0.62rem;
}

.scent-item h3 {
    font-size: 2rem;
}

.scent-item p {
    grid-column: 2;

    color:
        rgba(247,245,240,0.45);

    font-size: 0.68rem;
}

.sizes {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 55px;
}

.sizes p {
    margin-right: 15px;

    color:
        rgba(247,245,240,0.45);

    font-size: 0.62rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.sizes span {
    padding: 9px 15px;

    border:
        1px solid
        rgba(255,255,255,0.2);

    font-size: 0.58rem;

    letter-spacing: 0.12em;
}


/* =====================================================
   ABOUT
   ===================================================== */

.about {
    padding: 150px 10%;
}

.about-content {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}

.about h2 {
    font-size:
        clamp(3.5rem, 6vw, 6rem);
}

.about-content > div:last-child {
    color: #68645d;
}

.about-content > div:last-child p {
    margin-bottom: 25px;
}


/* =====================================================
   RESELLER
   ===================================================== */

.reseller {
    padding: 150px 10%;

    text-align: center;

    background: #e8e2d7;
}

.reseller .eyebrow {
    color: #766b58;
}

.reseller h2 {
    margin: 20px 0;

    font-size:
        clamp(3.5rem, 6vw, 6rem);
}

.reseller > p:not(.eyebrow) {
    max-width: 600px;

    margin: 0 auto 35px;

    color: #68645d;
}

.button-light {
    display: inline-flex;

    min-height: 50px;

    align-items: center;

    padding: 0 28px;

    border: 1px solid #292722;

    font-size: 0.62rem;

    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact {
    padding: 150px 10%;

    text-align: center;
}

.contact .eyebrow {
    color: #766b58;
}

.contact h2 {
    margin: 20px 0 50px;

    font-size:
        clamp(3.5rem, 6vw, 6rem);
}

.contact-links {
    display: flex;

    justify-content: center;

    gap: 45px;
}

.contact-link {
    padding-bottom: 7px;

    border-bottom:
        1px solid #766b58;

    font-size: 0.62rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


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

footer {
    padding: 70px 7% 35px;

    background: #171614;

    color: #f7f5f0;
}

.footer-brand h2 {
    font-family: "Montserrat", sans-serif;

    font-size: 0.9rem;

    font-weight: 500;

    letter-spacing: 0.3em;
}

.footer-brand p {
    margin-top: 8px;

    color:
        rgba(247,245,240,0.45);

    font-size: 0.7rem;
}

.footer-links {
    display: flex;

    gap: 30px;

    margin: 45px 0;
}

.footer-links a {
    color:
        rgba(247,245,240,0.6);

    font-size: 0.6rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.copyright {
    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,0.1);

    color:
        rgba(247,245,240,0.3);

    font-size: 0.6rem;
}


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

@media (max-width: 900px) {

    .navbar {
        padding: 25px 6%;
    }

    .navbar nav {
        gap: 20px;
    }

    .hero-content {
        width: 52%;
    }

    .hero-product {
        right: 5%;

        width: 43%;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 50px;
    }
}


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

@media (max-width: 700px) {

    /* Navigation */

    .menu-toggle {
        display: block;
    }

    .navbar nav {
        position: absolute;

        top: 75px;

        left: 6%;
        right: 6%;

        display: none;

        flex-direction: column;

        gap: 20px;

        padding: 25px;

        background: #f7f5f0;

        border:
            1px solid
            rgba(23,22,20,0.1);

        box-shadow:
            0 20px 50px
            rgba(0,0,0,0.08);
    }

    .navbar nav.active {
        display: flex;
    }


    /* Hero */

    .hero {
        min-height: 100svh;

        padding:
            130px 7%
            80px;

        align-items: flex-start;
    }

    .hero::before {
        width: 100%;

        height: 55%;

        top: auto;
        bottom: 0;
    }

    .hero::after {
        display: none;
    }

    .hero-content {
        width: 100%;

        padding-right: 0;
    }

    .hero-content .eyebrow {
        font-size: 0.55rem;

        margin-bottom: 20px;
    }

    .hero h1 {
        font-size:
            clamp(4.5rem, 20vw, 7rem);
    }

    .hero-text {
        max-width: 290px;

        margin-top: 25px;

        font-size: 0.76rem;
    }

    .hero-button {
        min-height: 48px;

        padding: 0 22px;
    }


    /* Product */

    .hero-product {
        top: auto;

        right: 6%;

        bottom: 35px;

        width: 43%;

        transform: none;

        opacity: 0.9;
    }

    .product-frame {
        width: 100%;
    }

    .product-placeholder {
        width: 65%;
        height: 70%;
    }

    .product-placeholder p {
        font-size: 1.2rem;
    }

    .product-caption {
        font-size: 0.45rem;
    }


    /* Hero bottom */

    .hero-bottom {
        display: none;
    }


    /* Intro */

    .intro {
        padding: 100px 7%;
    }

    .intro h2 {
        font-size: 3rem;
    }


    /* Collections */

    .collections {
        padding: 90px 7%;
    }

    .collection-image {
        height: 320px;
    }


    /* Scents */

    .scents {
        padding: 90px 7%;
    }

    .scent-list {
        grid-template-columns: 1fr;
    }

    .scent-item h3 {
        font-size: 1.7rem;
    }

    .sizes {
        flex-wrap: wrap;
    }


    /* About */

    .about {
        padding: 100px 7%;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* Reseller */

    .reseller {
        padding: 100px 7%;
    }


    /* Contact */

    .contact {
        padding: 100px 7%;
    }

    .contact-links {
        flex-direction: column;

        gap: 25px;
    }


    /* Footer */

    footer {
        padding: 60px 7% 30px;
    }

    .footer-links {
        flex-direction: column;

        gap: 15px;
    }
}