/* =====================================================
   ASLI777 — SOFT BOUTIQUE
   STYLE.CSS
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f8f4ef;
    color: #302b28;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --cream: #f8f4ef;
    --cream-dark: #eee6dc;

    --paper: #fffdf9;

    --rose: #ead8d3;
    --rose-light: #f1e5e1;

    --brown: #302b28;
    --brown-soft: #665d58;

    --line: #ded5cd;

    --white: #ffffff;

    --serif: "Playfair Display", serif;

    --container: 1240px;

}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}

main {
    overflow: hidden;
}

::selection {
    background: var(--brown);
    color: var(--white);
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    width: 100%;
    background: rgba(248, 244, 239, 0.96);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 50;
}

.header-inner {
    min-height: 86px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.brand {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.main-nav a {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--brown-soft);
    transition: 0.3s ease;
}

.main-nav a:hover {
    color: var(--brown);
}

.header-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.header-tools a {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-tools span {
    color: #948981;
}


/* =====================================================
   HERO
===================================================== */

.hero-soft {
    min-height: 720px;
    position: relative;

    display: grid;
    grid-template-columns: 58% 42%;

    background: var(--rose-light);
}

.hero-soft-image {
    height: 720px;
    overflow: hidden;
}

.hero-soft-image img {
    height: 100%;
    object-fit: cover;

    filter: saturate(75%);
}

.hero-soft-content {
    padding: 90px 9%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--rose);
}

.hero-kicker {
    display: block;
    margin-bottom: 25px;

    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 600;
}

.hero-soft h1 {
    max-width: 500px;

    font-family: var(--serif);
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1.04;
    font-weight: 500;
}

.hero-soft h1 em {
    display: block;
    font-weight: 400;
    color: #685e59;
}

.hero-soft-content > p {
    max-width: 460px;
    margin-top: 30px;

    color: var(--brown-soft);
    font-size: 15px;
}

.soft-button {
    width: fit-content;
    margin-top: 36px;

    padding: 15px 24px;

    background: var(--brown);
    color: var(--white);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    display: inline-flex;
    align-items: center;
    gap: 24px;

    transition: 0.3s ease;
}

.soft-button:hover {
    transform: translateY(-3px);
    background: #514943;
}

.soft-button span {
    font-size: 17px;
}

.hero-caption {
    position: absolute;
    left: 35px;
    bottom: 28px;

    writing-mode: vertical-rl;

    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(48, 43, 40, 0.65);
}


/* =====================================================
   STORY INTRO
===================================================== */

.story-intro {
    padding: 145px 0;
    background: var(--paper);
}

.story-layout {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 60px;
}

.story-number {
    font-family: var(--serif);
    font-size: 22px;
    color: #9b8f88;
}

.story-main {
    max-width: 900px;
}

.mini-label {
    display: block;

    margin-bottom: 23px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #8c7e76;
}

.story-main h2 {
    max-width: 780px;

    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 400;
}

.story-main h2 em {
    color: #9d827a;
}

.story-columns {
    margin-top: 42px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.story-columns p {
    max-width: 400px;

    font-size: 14px;
    color: var(--brown-soft);
}

.under-link {
    display: inline-block;

    margin-top: 40px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--brown);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.under-link:hover {
    opacity: 0.55;
}


/* =====================================================
   COLLECTION
===================================================== */

.collection-soft {
    padding: 125px 0;
    background: var(--cream);
}

.collection-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;

    margin-bottom: 55px;
}

.collection-heading h2,
.benefits-heading h2,
.new-heading h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.1;
    font-weight: 400;
}

.collection-heading > p {
    max-width: 280px;

    font-size: 13px;
    color: var(--brown-soft);
}


/* =====================================================
   PRODUCT GRID
===================================================== */

.soft-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.soft-product-image {
    height: 440px;
    position: relative;
    overflow: hidden;

    background: #e8ded6;
}

.soft-product-image img {
    height: 100%;
    object-fit: cover;

    filter: saturate(70%);

    transition: transform 0.6s ease;
}

.soft-product:hover .soft-product-image img {
    transform: scale(1.04);
}

.soft-badge {
    position: absolute;
    top: 17px;
    left: 17px;

    z-index: 2;

    padding: 7px 11px;

    background: var(--paper);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.soft-product-info {
    padding: 20px 2px;

    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.soft-product-info span {
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #9a8d85;
}

.soft-product-info h3 {
    margin-top: 5px;

    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
}

.soft-product-info p {
    margin-top: 3px;

    font-size: 11px;
    color: var(--brown-soft);
}

.soft-product-info strong {
    white-space: nowrap;

    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   QUOTE BANNER
===================================================== */

.quote-banner {
    min-height: 650px;

    display: grid;
    grid-template-columns: 55% 45%;

    background: var(--rose);
}

.quote-image {
    min-height: 650px;
    overflow: hidden;
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: saturate(65%);
}

.quote-content {
    padding: 90px 10%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-content > span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.quote-content h2 {
    margin-top: 24px;

    font-family: var(--serif);
    font-size: clamp(45px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 400;
}

.quote-content h2 em {
    display: block;
    color: #866f67;
}

.quote-content p {
    max-width: 420px;

    margin-top: 30px;

    font-size: 14px;
    color: var(--brown-soft);
}

.cream-button {
    width: fit-content;

    margin-top: 35px;
    padding: 14px 23px;

    border: 1px solid var(--brown);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.cream-button:hover {
    background: var(--brown);
    color: var(--white);
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits {
    padding: 135px 0;

    background: var(--paper);
}

.benefits-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 70px;
}

.benefits-heading h2 {
    max-width: 600px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);
}

.benefit-item {
    min-height: 270px;

    padding: 28px 30px 20px 0;

    border-right: 1px solid var(--line);
}

.benefit-item:not(:first-child) {
    padding-left: 30px;
}

.benefit-item:last-child {
    border-right: 0;
}

.benefit-item > span {
    font-family: var(--serif);
    font-size: 18px;
    color: #a09188;
}

.benefit-item h3 {
    margin-top: 55px;

    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.benefit-item p {
    margin-top: 13px;

    max-width: 230px;

    font-size: 12px;
    color: var(--brown-soft);
}


/* =====================================================
   NEW SECTION
===================================================== */

.new-section {
    padding: 130px 0;

    background: var(--cream-dark);
}

.new-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 50px;
}

.new-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.new-image {
    height: 560px;
    overflow: hidden;
    background: var(--rose);
}

.new-image img {
    height: 100%;
    object-fit: cover;

    filter: saturate(65%);

    transition: transform 0.7s ease;
}

.new-card:hover .new-image img {
    transform: scale(1.03);
}

.new-content {
    padding: 22px 2px;
}

.new-content span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: #95877f;
}

.new-content h3 {
    margin-top: 7px;

    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
}

.new-content p {
    margin-top: 5px;

    font-size: 12px;
    color: var(--brown-soft);
}


/* =====================================================
   NEWSLETTER
===================================================== */

.soft-newsletter {
    padding: 120px 0;

    background: var(--rose-light);
}

.newsletter-box {
    max-width: 800px;

    text-align: center;
}

.newsletter-box .mini-label {
    margin-bottom: 20px;
}

.newsletter-box h2 {
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.08;
}

.newsletter-box h2 em {
    display: block;
    color: #90756d;
}

.newsletter-box > p {
    max-width: 500px;

    margin: 25px auto 0;

    font-size: 13px;
    color: var(--brown-soft);
}

.email-form {
    max-width: 550px;

    margin: 38px auto 0;

    display: flex;

    border-bottom: 1px solid var(--brown);
}

.email-form input {
    flex: 1;

    min-width: 0;

    padding: 15px 3px;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 12px;
    color: var(--brown);
}

.email-form input::placeholder {
    color: #8e827b;
}

.email-form button {
    padding: 15px 4px;

    border: 0;

    background: transparent;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;

    color: var(--brown);
}


/* =====================================================
   FOOTER
===================================================== */

.boutique-footer {
    padding: 85px 0 30px;

    background: #332e2a;
    color: #eee6df;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 70px;
}

.footer-brand .brand {
    color: var(--white);
}

.footer-brand p {
    max-width: 260px;

    margin-top: 18px;

    font-size: 12px;
    line-height: 1.8;

    color: #bdb2aa;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 12px;

    font-size: 9px;
    letter-spacing: 1.8px;
    color: #a99b92;
}

.footer-column a {
    width: fit-content;

    font-size: 11px;
    color: #ddd4ce;

    transition: 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.15);

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10px;
    color: #9f958f;
}

.footer-bottom div {
    display: flex;
    gap: 25px;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .container {
        width: min(100% - 50px, 900px);
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero-soft {
        grid-template-columns: 1fr;
    }

    .hero-soft-image {
        height: 560px;
    }

    .hero-soft-content {
        min-height: 500px;
        padding: 70px 8%;
    }

    .hero-caption {
        display: none;
    }

    .soft-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .soft-product-image {
        height: 500px;
    }

    .quote-banner {
        grid-template-columns: 1fr;
    }

    .quote-image {
        height: 550px;
        min-height: 0;
    }

    .quote-content {
        min-height: 500px;
        padding: 75px 8%;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-item:nth-child(2) {
        border-right: 0;
    }

    .benefit-item:nth-child(3),
    .benefit-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .container {
        width: calc(100% - 36px);
    }


    /* HEADER */

    .header-inner {
        min-height: 72px;
    }

    .brand {
        font-size: 22px;
    }

    .header-tools {
        gap: 12px;
    }

    .header-tools a:first-child {
        display: none;
    }

    .header-tools a {
        font-size: 10px;
    }


    /* HERO */

    .hero-soft-image {
        height: 430px;
    }

    .hero-soft-content {
        min-height: 480px;
        padding: 55px 25px;
    }

    .hero-soft h1 {
        font-size: 47px;
    }

    .hero-soft-content > p {
        font-size: 13px;
    }


    /* STORY */

    .story-intro {
        padding: 90px 0;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .story-main h2 {
        font-size: 42px;
    }

    .story-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* COLLECTION */

    .collection-soft {
        padding: 90px 0;
    }

    .collection-heading {
        display: block;
        margin-bottom: 40px;
    }

    .collection-heading h2 {
        font-size: 40px;
    }

    .collection-heading > p {
        margin-top: 20px;
    }

    .soft-products {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .soft-product-image {
        height: 500px;
    }


    /* QUOTE */

    .quote-image {
        height: 420px;
    }

    .quote-content {
        min-height: 470px;
        padding: 60px 25px;
    }

    .quote-content h2 {
        font-size: 46px;
    }


    /* BENEFITS */

    .benefits {
        padding: 90px 0;
    }

    .benefits-heading {
        display: block;
        margin-bottom: 45px;
    }

    .benefits-heading h2 {
        font-size: 40px;
        margin-top: 10px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item,
    .benefit-item:not(:first-child) {
        min-height: auto;
        padding: 30px 0;

        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .benefit-item:first-child {
        border-top: 0;
    }

    .benefit-item:last-child {
        border-bottom: 0;
    }

    .benefit-item h3 {
        margin-top: 25px;
    }


    /* NEW */

    .new-section {
        padding: 90px 0;
    }

    .new-heading {
        display: block;
    }

    .new-heading h2 {
        margin-top: 10px;
    }

    .new-heading .under-link {
        margin-top: 20px;
    }

    .new-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .new-image {
        height: 480px;
    }


    /* NEWSLETTER */

    .soft-newsletter {
        padding: 90px 0;
    }

    .newsletter-box h2 {
        font-size: 43px;
    }

    .email-form {
        width: 100%;
    }


    /* FOOTER */

    .boutique-footer {
        padding-top: 65px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin-top: 60px;

        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .hero-soft h1 {
        font-size: 40px;
    }

    .story-main h2,
    .collection-heading h2,
    .benefits-heading h2 {
        font-size: 36px;
    }

    .quote-content h2 {
        font-size: 40px;
    }

    .new-image {
        height: 400px;
    }

}