@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --dark: #171614;
    --cream: #f5f1ea;
    --white: #ffffff;
    --muted: #77736d;
    --line: #ded9d1;
    --accent: #a4865b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: "DM Sans", sans-serif;
}

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

button {
    font-family: inherit;
}


/* NAVIGATION */

.navbar {
    height: 92px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.logo {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 400;
}

nav {
    display: flex;
    gap: 38px;
}

nav a {
    font-size: 13px;
    color: #5f5b55;
    transition: 0.3s;
}

nav a:hover {
    color: var(--dark);
}

.nav-button {
    padding: 13px 22px;
    background: var(--dark);
    color: white;
    font-size: 12px;
}


/* HERO */

.hero {
    min-height: calc(100vh - 92px);
    padding: 4% 7%;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6%;
    align-items: center;
    background: #f5f1ea;
}
.hero-content {
    max-width: 570px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 22px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(55px, 6vw, 92px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: #82725d;
    font-style: italic;
}

.hero-text {
    max-width: 450px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 16px 26px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.primary-button {
    background: var(--dark);
    color: white;
    transition: transform 0.3s ease, background 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
}

.secondary-button {
    border: 1px solid #aaa49b;
}

.hero-image {
    height: 720px;
    overflow: hidden;
    position: relative;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.18);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.72) contrast(1.04);
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75);
}


/* INTRO */

.intro {
    padding: 60px 10%;
    text-align: center;
    background: #fbfaf7;
    position: relative;
}

.intro::before {
    content: "BEAUTY • STYLE • COMFORT";
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--accent);
}
.intro h2,
.feature h2,
.cta h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5.5vw, 76px);
    line-height: 1.05;
    font-weight: 500;
}

.intro > p:last-child {
    max-width: 500px;
    margin: 30px auto 0;
    color: var(--muted);
    line-height: 1.8;
}


/* SHOP */

.shop {
    padding: 120px 6%;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-top: 35px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 52px;
    font-weight: 500;
}

.view-all {
    font-size: 12px;
    border-bottom: 1px solid var(--dark);
    padding-bottom: 5px;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 26px;
    margin-top: 0;
}
.product-card {
    background: var(--white);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}
.product-image {
    height: 460px;
    position: relative;
    overflow: hidden;
    background: #e8e3dc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.product-info {
    padding: 25px;
}

.product-info > p {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
}
.product-info .description {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px;
    max-width: 340px;
}
.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.product-bottom strong {
    font-size: 14px;
}

.product-bottom button {
    border: 0;
    border-bottom: 1px solid var(--dark);
    background: none;
    padding-bottom: 4px;
    cursor: pointer;
    font-size: 11px;
}


/* FEATURES */

.feature {
    padding: 100px 7%;
    background: var(--dark);
    color: white;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8%;
    align-items: center;
}

.feature .eyebrow {
    color: #c3a77c;
}

.features {
    display: grid;
    gap: 0;
}

.feature-item {
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.16);
}

.feature-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.16);
}

.features div {
    border-bottom: 1px solid #393733;
    padding-bottom: 30px;
}

.features span {
    color: #b69b70;
    font-size: 11px;
}

.features h3 {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 500;
    margin: 10px 0;
}

.features p {
    color: #aaa7a0;
    font-size: 13px;
    line-height: 1.7;
}


/* CTA */

.cta {
    padding: 110px 8%;
    background: var(--dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(195, 167, 124, 0.18);
    border-radius: 50%;
    top: -210px;
    left: -120px;
}

.cta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(195, 167, 124, 0.12);
    border-radius: 50%;
    bottom: -170px;
    right: -80px;
}

.cta .eyebrow {
    color: #c3a77c;
    position: relative;
    z-index: 1;
}

.cta h2 {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 18px auto 35px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
}

.cta .primary-button {
    position: relative;
    z-index: 1;
    background: #c3a77c;
    color: #171614;
    font-weight: 600;
    padding: 17px 30px;
}

.cta .primary-button:hover {
    background: #d2b98f;
}

.cta .contact-number {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.65);
}

.cta .contact-number a {
    color: #c3a77c;
}
/* FOOTER */

footer {
    background: var(--dark);
    color: white;
    padding: 50px 6%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

footer p {
    color: #aaa7a0;
    font-size: 11px;
    margin-top: 10px;
}


/* MOBILE */

@media (max-width: 850px) {

    .navbar {
        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 5%;
    }

    .hero-image {
        height: 500px;
    }

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

    .product-image {
        height: 500px;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    footer {
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }
}
/* ==============================
   PRODUCT DETAILS MODAL
   ============================== */

.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(8px);
    padding: 30px;
    align-items: center;
    justify-content: center;
}

.product-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(900px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #f8f5ef;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.modal-image {
    min-height: 500px;
    background: #eee9df;
}

.modal-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.modal-details {
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-details > p:first-child {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a17c45;
    margin-bottom: 15px;
}

.modal-details h2 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 20px;
}

#modalDescription {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-features h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.modal-features ul {
    padding-left: 18px;
    color: #555;
    line-height: 1.9;
}

.modal-bottom {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #ddd6ca;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.modal-bottom strong {
    font-size: 20px;
}

.modal-bottom a {
    display: inline-block;
    padding: 13px 20px;
    background: #171717;
    color: white;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    z-index: 2;
    border: none;
    background: rgba(255,255,255,0.9);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 700px) {
    .product-modal {
        padding: 15px;
    }

    .modal-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }

    .modal-image,
    .modal-image img {
        min-height: 300px;
        height: 300px;
    }

    .modal-details {
        padding: 35px 25px;
    }

    .modal-details h2 {
        font-size: 28px;
    }
}

.contact-number {
    margin-top: 22px;
    font-size: 13px;
    color: #5f5b55;
    letter-spacing: 0.5px;
}

.contact-number a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-number a:hover {
    opacity: 0.7;
}




/* SPECIAL OFFERS */

.offers-heading {
    margin-bottom: 28px;
}

.offers-heading .eyebrow {
    color: #b8955b;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 8px;
}

.offers-heading h2 {
    margin-bottom: 8px;
}

.offers-heading > div > p:last-child {
    color: #777;
    font-size: 14px;
}

.offer-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 70px;
}

.offer-card {
    border: 1px solid rgba(184, 149, 91, 0.35);
    position: relative;
}

.offer-card:hover {
    border-color: #b8955b;
    transform: translateY(-6px);
}

.offer-card .badge {
    background: #171614;
    color: #d2b98f;
    letter-spacing: 1.5px;
}

@media (max-width: 900px) {
    .offer-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offer-products {
        grid-template-columns: 1fr;
    }
}

/* SPECIAL OFFERS SCROLLING BANNER */

.offers-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #171614;
    border-top: 1px solid rgba(184, 149, 91, 0.25);
    border-bottom: 1px solid rgba(184, 149, 91, 0.25);
    padding: 13px 0;
    margin-bottom: 35px;
}

.offers-banner-track {
    display: flex;
    width: max-content;
    gap: 45px;
    animation: offerScroll 18s linear infinite;
}

.offers-banner-track span {
    color: #e53935;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    white-space: nowrap;
}

.offers-banner-track span:nth-child(even) {
    color: #c3a77c;
    font-size: 10px;
}

@keyframes offerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.offer-card .product-bottom strong {
    color: #b21f1f;
    font-size: 20px;
    letter-spacing: 0.3px;
}

.offer-card .view-chair-btn {
    border: 1px solid #b8955b;
}

.offer-card .view-chair-btn:hover {
    background: #171614;
    color: #fff;
}

/* MOBILE POLISH */

@media (max-width: 600px) {

    .shop {
        padding-left: 5%;
        padding-right: 5%;
    }

    .offer-products {
        gap: 20px;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card {
        width: 100%;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 18px;
    }

    .product-bottom {
        gap: 12px;
    }

    .product-bottom strong {
        font-size: 17px;
    }

    .view-chair-btn {
        padding: 10px 14px;
        font-size: 11px;
    }

    .offers-banner-track {
        gap: 30px;
    }

    .offers-banner-track span {
        font-size: 11px;
        letter-spacing: 3px;
    }
}

