/* =====================================
   NOIR COFFEE
   Editorial Luxury Design
===================================== */

:root {
    --bg: #171411;
    --surface: #211c18;
    --surface-light: #2c241e;
    --copper: #bd8962;
    --copper-light: #d6a47c;
    --white: #f3eee8;
    --muted: #a99b8e;
    --border: rgba(214, 164, 124, 0.18);
    --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(--white);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: var(--font-ar);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.container {
    width: min(1200px, 88%);
    margin: 0 auto;
}

.section-padding {
    padding: 120px 8%;
}

/* =====================================
   HEADER
===================================== */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(23, 20, 17, 0.85);
    backdrop-filter: blur(15px);
}

.navbar {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo,
.footer-logo {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 5px;
}

.logo span,
.footer-logo span {
    color: var(--copper);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--copper-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-btn,
.menu-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white);
    cursor: pointer;
    transition: 0.3s ease;
}

.language-btn {
    padding: 8px 15px;
    font-size: 12px;
}

.language-btn:hover,
.menu-btn:hover {
    border-color: var(--copper);
    color: var(--copper-light);
}

.menu-btn {
    display: none;
    padding: 7px 12px;
    font-size: 21px;
}

/* =====================================
   HERO
===================================== */

.hero {
    min-height: 780px;
    height: 100vh;
    max-height: 950px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 10% 100px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(23, 20, 17, 0.96) 0%,
            rgba(23, 20, 17, 0.76) 45%,
            rgba(23, 20, 17, 0.2) 100%
        ),
        url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    color: var(--copper-light);
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 105px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -4px;
    margin-bottom: 25px;
}

.hero h1 span,
.story-heading h2 span,
.menu-heading h2 span,
.contact-section h2 span {
    color: var(--copper-light);
}

.hero-content > p {
    color: #c4b8ad;
    font-size: 15px;
    margin-bottom: 35px;
}

.hero-btn,
.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--copper);
    color: #171411;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s ease;
}

.hero-btn:hover,
.contact-btn:hover {
    background: var(--copper-light);
    transform: translateY(-3px);
}

.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between;
    color: #c2b5a9;
    font-size: 10px;
    letter-spacing: 2px;
}

/* =====================================
   SECTION LABEL
===================================== */

.section-label {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--copper-light);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 65px;
}

.section-label span:first-child {
    opacity: 0.55;
}

/* =====================================
   STORY
===================================== */

.story {
    background: var(--bg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.story-heading h2,
.menu-heading h2 {
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -3px;
}

.story-content {
    max-width: 420px;
}

.story-content p {
    color: var(--muted);
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 30px;
}

.story-signature {
    color: var(--copper-light);
    font-size: 11px;
    letter-spacing: 2px;
}

.story-image {
    position: relative;
}

.story-image img {
    height: 550px;
    filter: brightness(0.8);
}

.story-image > span {
    display: block;
    text-align: right;
    color: var(--muted);
    font-size: 11px;
    margin-top: 15px;
}

/* =====================================
   MENU
===================================== */

.menu-section {
    background: var(--surface);
}

.menu-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 65px;
}

.menu-heading > p {
    max-width: 260px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.menu-card {
    min-width: 0;
}

.menu-image {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: var(--surface-light);
}

.menu-image img {
    height: 100%;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.06);
}

.menu-number {
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--white);
    font-size: 12px;
    background: rgba(23, 20, 17, 0.7);
    padding: 7px 12px;
}

.menu-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.menu-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.menu-info p {
    color: var(--muted);
    font-size: 11px;
}

.price {
    color: var(--copper-light);
    font-size: 14px;
    white-space: nowrap;
}

/* =====================================
   CONTACT
===================================== */

.contact-section {
    text-align: center;
    background:
        linear-gradient(
            rgba(23, 20, 17, 0.9),
            rgba(23, 20, 17, 0.95)
        ),
        url("https://images.unsplash.com/photo-1445116572660-236099ec97a0?auto=format&fit=crop&w=1600&q=85")
        center / cover no-repeat;
}

.contact-label {
    display: block;
    color: var(--copper-light);
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.contact-section h2 {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
}

.contact-section > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 35px;
}

/* =====================================
   DEMO NOTICE
===================================== */

.demo-notice {
    padding: 30px 8%;
    text-align: center;
    background: #211c18;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.demo-notice p {
    max-width: 850px;
    margin: 0 auto;
    color: #c8b9ac;
    font-size: 13px;
    line-height: 2;
}

/* =====================================
   FOOTER
===================================== */

.footer {
    min-height: 130px;
    padding: 35px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    background: #13110f;
}

.footer-logo {
    font-size: 22px;
}

.footer p {
    color: var(--muted);
    font-size: 11px;
}

.footer-credit {
    color: var(--copper-light);
    font-size: 10px;
    letter-spacing: 2px;
}

/* =====================================
   RTL SUPPORT
===================================== */

body[dir="rtl"] .hero-image {
    background:
        linear-gradient(
            270deg,
            rgba(23, 20, 17, 0.96) 0%,
            rgba(23, 20, 17, 0.76) 45%,
            rgba(23, 20, 17, 0.2) 100%
        ),
        url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;
}

body[dir="rtl"] .hero-bottom {
    direction: ltr;
}

body[dir="rtl"] .story-image > span {
    text-align: left;
}

body[dir="rtl"] .menu-number {
    left: auto;
    right: 18px;
}

body[dir="rtl"] .story-grid,
body[dir="rtl"] .menu-heading {
    direction: rtl;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 900px) {

    .nav-links {
        gap: 20px;
    }

    .story-grid {
        gap: 40px;
    }

    .menu-grid {
        gap: 18px;
    }

    .menu-image {
        height: 280px;
    }

    .section-padding {
        padding: 90px 6%;
    }

}

@media (max-width: 650px) {

    .navbar {
        min-height: 75px;
    }

    .logo {
        font-size: 24px;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px 6%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: #211c18;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        min-height: 700px;
        height: 90vh;
        padding: 130px 7% 100px;
    }

    .hero h1 {
        font-size: clamp(48px, 13vw, 70px);
        letter-spacing: -2px;
    }

    .hero-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-bottom {
        left: 7%;
        right: 7%;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .section-padding {
        padding: 75px 7%;
    }

    .section-label {
        margin-bottom: 40px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 45px;
    }

    .story-heading h2,
    .menu-heading h2 {
        font-size: 48px;
    }

    .story-image img {
        height: 350px;
    }

    .menu-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 40px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .menu-image {
        height: 350px;
    }

    .contact-section h2 {
        font-size: 42px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 35px 7%;
        gap: 15px;
    }

}

@media (max-width: 380px) {

    .hero h1 {
        font-size: 43px;
    }

    .menu-image {
        height: 290px;
    }

    .contact-section h2 {
        font-size: 35px;
    }

}