* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f5f1ea;
    color: #201b17;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* =========================
   VARIABLES
========================= */

:root {
    --dark: #201b17;
    --brown: #6d4935;
    --cream: #f5f1ea;
    --light: #ebe3d7;
    --white: #fffdf9;
    --gold: #b28a58;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
}

.header.scrolled {
    background: rgba(245, 241, 234, 0.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.navbar {
    max-width: 1250px;
    margin: auto;
    padding: 24px 30px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
}

.logo span {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    background: var(--dark);
    color: var(--white);

    border-radius: 50%;

    font-size: 16px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--brown);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-button {
    border: none;
    background: transparent;

    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-count {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    background: var(--dark);
    color: white;

    border-radius: 50%;
    font-size: 11px;
}

.menu-button {
    display: none;

    background: none;
    border: none;

    font-size: 24px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    max-width: 1250px;
    margin: auto;
    padding: 140px 30px 80px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.eyebrow {
    color: var(--brown);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(50px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -3px;
}

h1 em,
h2 em {
    font-weight: 500;
    color: var(--brown);
}

.hero-text {
    max-width: 500px;
    margin: 30px 0;

    color: #6c625b;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.primary-button {
    display: inline-block;

    padding: 15px 25px;

    background: var(--dark);
    color: white;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.primary-button:hover {
    transform: translateY(-3px);
    background: var(--brown);
}

.text-button {
    font-size: 13px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
}

.hero-image {
    height: 620px;
    overflow: hidden;
    border-radius: 30px;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;

    background: var(--white);

    padding: 20px;

    display: flex;
    align-items: center;
    gap: 15px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.floating-number {
    font-family: "Playfair Display", serif;
    font-size: 30px;
}

.floating-card strong {
    font-size: 14px;
}

.floating-card p {
    color: #777;
    font-size: 12px;
}


/* =========================
   BRAND STRIP
========================= */

.brand-strip {
    border-top: 1px solid #d9d0c4;
    border-bottom: 1px solid #d9d0c4;

    padding: 25px;

    display: flex;
    justify-content: center;
    gap: 60px;

    flex-wrap: wrap;

    color: #6e6259;
}

.brand-strip div {
    display: flex;
    gap: 25px;
    align-items: center;

    font-size: 10px;
    letter-spacing: 2px;
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    max-width: 1250px;
    margin: auto;
    padding: 120px 30px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 50px;

    margin-bottom: 50px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
}

.section-heading > p {
    max-width: 350px;
    color: #756b63;
}


/* =========================
   FILTERS
========================= */

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.filter {
    border: 1px solid #d4cbc0;
    background: transparent;

    padding: 10px 20px;

    font-size: 12px;

    transition: 0.3s;
}

.filter.active,
.filter:hover {
    background: var(--dark);
    color: white;
}


/* =========================
   PRODUCTS
========================= */

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.product-card {
    transition: 0.4s;
}

.product-card.hide {
    display: none;
}

.product-image {
    height: 390px;
    background: var(--light);

    position: relative;
    overflow: hidden;

    border-radius: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;

    top: 15px;
    left: 15px;

    background: white;

    padding: 7px 12px;

    font-size: 10px;

    z-index: 2;
}

.quick-add {
    position: absolute;

    bottom: -60px;
    left: 15px;
    right: 15px;

    border: none;

    padding: 14px;

    background: var(--dark);
    color: white;

    transition: 0.3s;
}

.product-card:hover .quick-add {
    bottom: 15px;
}

.product-info {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    padding: 18px 0;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 600;
}

.product-info p {
    font-size: 11px;
    color: #81766d;
}

.product-info strong {
    font-size: 13px;
}


/* =========================
   STORY
========================= */

.story {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;
}

.story-image {
    position: relative;
}

.story-image img {
    height: 600px;
    object-fit: cover;
    border-radius: 30px;
}

.experience-card {
    position: absolute;

    right: -35px;
    bottom: 30px;

    padding: 20px 25px;

    background: var(--dark);
    color: white;

    display: flex;
    gap: 15px;
    align-items: center;
}

.experience-card strong {
    font-family: "Playfair Display", serif;
    font-size: 30px;
}

.experience-card span {
    font-size: 12px;
}

.story-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 62px);
    line-height: 1;
}

.story-content > p:not(.eyebrow) {
    margin: 25px 0;

    color: #6f655e;

    max-width: 500px;
}


/* =========================
   PROCESS
========================= */

.process {
    background: var(--dark);
    color: white;

    max-width: none;
    padding-left: max(30px, calc((100vw - 1190px) / 2));
    padding-right: max(30px, calc((100vw - 1190px) / 2));
}

.centered {
    display: block;
    text-align: center;
}

.process .eyebrow {
    color: #bda07c;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #504941;
}

.process-item {
    padding: 40px 25px;

    border-right: 1px solid #504941;
}

.process-item:first-child {
    border-left: 1px solid #504941;
}

.process-item span {
    color: #bda07c;
    font-size: 12px;
}

.process-item h3 {
    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin: 30px 0 15px;
}

.process-item p {
    color: #aaa19a;
    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 130px 30px;

    text-align: center;

    background:
        linear-gradient(
            rgba(32, 27, 23, 0.88),
            rgba(32, 27, 23, 0.88)
        ),
        url("images/cta.jpg");

    background-size: cover;
    background-position: center;

    color: white;
}

.cta > div {
    max-width: 700px;
    margin: auto;
}

.cta .eyebrow {
    color: #c1a57e;
}

.cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 6vw, 70px);

    line-height: 1;
}

.cta p:not(.eyebrow) {
    color: #c7c0b9;

    max-width: 500px;

    margin: 25px auto 35px;
}

.light-button {
    display: inline-block;

    background: white;
    color: var(--dark);

    padding: 15px 25px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.light-button:hover {
    transform: translateY(-3px);
}


/* =========================
   CONTACT
========================= */

.contact {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.contact-info h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 60px);

    line-height: 1;
}

.contact-details {
    margin: 40px 0;

    display: grid;
    gap: 25px;
}

.contact-details span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;

    color: var(--brown);
}

.contact-details p,
.contact-details a {
    font-size: 14px;

    display: block;

    margin-top: 5px;
}

.contact-details a:hover {
    color: var(--brown);
}

.map-container {
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;

    border: none;

    filter: grayscale(100%);
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #171310;

    color: white;

    padding: 70px 30px 25px;
}

.footer-main {
    max-width: 1190px;
    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-main > div > p {
    color: #9b918a;
    max-width: 300px;
    font-size: 13px;
}

.footer-links,
.footer-social > div {
    display: grid;
    gap: 12px;

    font-size: 13px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #bda07c;
}

.footer-social p {
    color: #bda07c;

    font-size: 11px;
    margin-bottom: 15px;
}

.footer-bottom {
    max-width: 1190px;

    margin: 60px auto 0;

    padding-top: 20px;

    border-top: 1px solid #39332e;

    display: flex;

    justify-content: space-between;

    color: #716962;

    font-size: 11px;
}


/* =========================
   CART DRAWER
========================= */

.cart-drawer {
    position: fixed;

    top: 0;
    right: -400px;

    width: min(400px, 90%);

    height: 100vh;

    background: var(--white);

    z-index: 2000;

    padding: 25px;

    display: flex;
    flex-direction: column;

    transition: 0.4s;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid #ddd;
}

.cart-header button {
    border: none;
    background: none;

    font-size: 30px;
}

.cart-items {
    flex: 1;

    padding-top: 25px;
}

.empty-cart {
    color: #777;
    font-size: 14px;
}

.cart-item {
    display: flex;
    justify-content: space-between;

    padding: 15px 0;

    border-bottom: 1px solid #ddd;

    font-size: 14px;
}

.cart-footer {
    padding-top: 20px;
}

.cart-footer .primary-button {
    width: 100%;
    text-align: center;
}

.overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.5);

    z-index: 1500;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

    .nav-links {
        position: fixed;

        top: 80px;
        left: 0;

        width: 100%;

        background: var(--cream);

        padding: 30px;

        flex-direction: column;

        transform: translateY(-150%);

        transition: 0.4s;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .menu-button {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image {
        height: 500px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .navbar {
        padding: 18px 20px;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image {
        height: 420px;
    }

    .floating-card {
        left: 15px;
    }

    .section {
        padding: 80px 20px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 450px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        border-left: 1px solid #504941;
    }

    .contact {
        gap: 50px;
    }

    .map-container {
        height: 400px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom p + p {
        margin-top: 10px;
    }
}

