/* =====================================
   FORME — MODERN FASHION
   Women's & Men's Collections
===================================== */

:root {
    --bg: #f5f5f2;
    --surface: #ffffff;
    --text: #171717;
    --muted: #777773;
    --line: #deded9;
    --dark: #171717;
    --soft: #e9e9e4;
    --font-main: "Inter", sans-serif;
    --font-ar: "Cairo", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
}

body[dir="rtl"] {
    font-family: var(--font-ar);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HEADER */

.header {
    min-height: 82px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 4px;
}

.logo span {
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-btn,
.menu-btn {
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.language-btn {
    font-size: 12px;
    font-weight: 700;
}

.menu-btn {
    display: none;
    font-size: 25px;
}

/* HERO */

.hero {
    min-height: 650px;
    padding: 70px 8%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    padding: 35px 0;
}

.eyebrow {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(65px, 8vw, 112px);
    line-height: 0.95;
    letter-spacing: -6px;
    font-weight: 700;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 350px;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 35px;
}

.hero-button,
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    background: var(--dark);
    color: white;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.hero-button:hover,
.contact-button:hover {
    background: #444;
    transform: translateY(-3px);
}

.hero-image {
    height: 520px;
    position: relative;
    overflow: hidden;
    background: var(--soft);
}

.hero-image img {
    object-position: center 35%;
}

.image-label {
    position: absolute;
    bottom: 22px;
    left: 22px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* COLLECTIONS */

.section {
    padding: 110px 8%;
}

.collection {
    background: var(--surface);
}

.men-collection {
    background: var(--bg);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2,
.about-content h2,
.contact h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    letter-spacing: -2px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 13px;
    max-width: 260px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    min-width: 0;
}

.product-image {
    height: 390px;
    overflow: hidden;
    background: var(--soft);
}

.product-image img {
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 19px;
}

.product-info h3 {
    font-size: 15px;
    font-weight: 600;
}

.product-info span {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.product-card > p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
}

/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-image {
    height: 520px;
    background: var(--soft);
}

.about-content {
    max-width: 470px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.about-signature {
    display: inline-block;
    margin-top: 35px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 5px;
}

/* CONTACT */

.contact {
    text-align: center;
    background: var(--soft);
}

.contact .eyebrow {
    margin-bottom: 15px;
}

.contact h2 {
    margin-bottom: 17px;
}

.contact > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

/* DEMO NOTICE */

.demo-notice {
    padding: 20px 8%;
    text-align: center;
    background: #e2e2dc;
    border-top: 1px solid var(--line);
}

.demo-notice p {
    color: #666;
    font-size: 11px;
}

/* FOOTER */

.footer {
    min-height: 110px;
    padding: 25px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--dark);
    color: white;
}

.footer .logo {
    font-size: 21px;
}

.footer .logo span {
    color: #aaa;
}

.footer > p {
    color: #aaa;
    font-size: 11px;
}

.footer-credit {
    color: #aaa;
    font-size: 10px;
    letter-spacing: 2px;
}

/* RTL SUPPORT */

body[dir="rtl"] .hero h1,
body[dir="rtl"] .section-heading h2,
body[dir="rtl"] .about-content h2,
body[dir="rtl"] .contact h2 {
    letter-spacing: 0;
}

body[dir="rtl"] .image-label {
    left: auto;
    right: 22px;
}

body[dir="rtl"] .about-content,
body[dir="rtl"] .hero-content {
    text-align: right;
}

/* TABLET */

@media (max-width: 900px) {
    .hero {
        gap: 35px;
        min-height: 550px;
    }

    .hero-image {
        height: 430px;
    }

    .product-image {
        height: 300px;
    }

    .about {
        gap: 45px;
    }

    .about-image {
        height: 430px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .header {
        min-height: 70px;
        padding: 0 6%;
    }

    .logo {
        font-size: 23px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 25px 6%;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 55px 6%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(65px, 17vw, 90px);
        letter-spacing: -4px;
    }

    .hero-image {
        height: 430px;
    }

    .section {
        padding: 75px 6%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .product-image {
        height: 430px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        height: 430px;
    }

    .footer {
        padding: 30px 6%;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .hero-image,
    .product-image,
    .about-image {
        height: 340px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .section-heading h2,
    .about-content h2,
    .contact h2 {
        font-size: 34px;
    }

    .product-info h3 {
        font-size: 13px;
    }
}