/* =========================================================
   BISTRO NOIR
   COMPLETE STYLE.CSS
========================================================= */

:root {
    --bg: #090c0a;
    --bg-soft: #101511;
    --green: #17372d;
    --green-deep: #0e211b;

    --gold: #c9a75d;
    --gold-light: #e2c77f;

    --cream: #f4eee3;
    --cream-soft: #ded7c9;

    --muted: #989f99;

    --light-bg: #f1ece3;
    --light-text: #191d1a;

    --border: rgba(255, 255, 255, 0.10);
    --gold-border: rgba(201, 167, 93, 0.28);

    --heading: "Cormorant Garamond", serif;
    --body: "Inter", sans-serif;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--cream);

    font-family: var(--body);

    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 85px 0;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(7, 10, 8, 0.90);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header.scrolled {
    background: rgba(7, 10, 8, 0.98);
}

.header-inner {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.brand-logo {
    width: 54px;
    height: 54px;

    object-fit: cover;

    border-radius: 12px;
}

.brand-name {
    font-family: var(--heading);

    font-size: 22px;

    font-weight: 600;

    letter-spacing: 0.03em;

    color: var(--cream);

    white-space: nowrap;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.desktop-nav a {
    position: relative;

    padding: 31px 0;

    font-size: 14px;

    font-weight: 500;

    color: #d1d4cf;

    transition: color 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold-light);
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.header-actions {
    display: none;
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);

    background: transparent;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 1px;

    background: var(--cream);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: -100%;

    width: min(390px, 90%);
    height: 100dvh;

    z-index: 2200;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #142a21,
            #090d0b 68%
        );

    transition: right 0.4s ease;

    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-overlay {
    position: fixed;

    inset: 0;

    z-index: 2100;

    background: rgba(0, 0, 0, 0.72);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-close {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: transparent;

    color: var(--cream);

    font-size: 25px;

    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;

    margin: auto 0;
}

.mobile-nav a {
    padding: 13px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    font-family: var(--heading);

    font-size: 29px;

    color: var(--cream);

    transition:
        color 0.25s ease,
        padding 0.25s ease;
}

.mobile-nav a:hover {
    color: var(--gold-light);

    padding-left: 7px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 84px;
}

.hero-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 6, 0.92) 0%,
            rgba(5, 8, 6, 0.75) 43%,
            rgba(5, 8, 6, 0.28) 74%,
            rgba(5, 8, 6, 0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 7, 5, 0.55),
            transparent 54%
        );
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero-eyebrow {
    margin-bottom: 17px;

    color: var(--gold-light);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.22em;
}

.hero h1 {
    max-width: 730px;

    font-family: var(--heading);

    font-size: clamp(56px, 6vw, 84px);

    line-height: 0.96;

    font-weight: 500;

    letter-spacing: -0.02em;
}

.hero h1 em {
    display: block;

    color: var(--gold-light);

    font-weight: 500;
}

.hero-text {
    max-width: 540px;

    margin-top: 22px;

    color: #c4c7c1;

    font-size: 13px;

    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 48px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);

    color: #11140f;
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-outline {
    border:
        1px solid rgba(255, 255, 255, 0.32);

    color: var(--cream);
}

.btn-outline:hover {
    border-color: var(--gold);

    color: var(--gold-light);
}


/* =========================================================
   STORY
========================================================= */

.story {
    background: var(--bg-soft);
}

.story-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 65px;

    align-items: center;
}

.story-image-wrap {
    height: 470px;

    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.story-image-wrap:hover .story-image {
    transform: scale(1.025);
}

.story-copy {
    max-width: 530px;
}

.section-label {
    margin-bottom: 10px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.22em;
}

.story-copy h2,
.section-heading h2,
.reservation-heading h2 {
    font-family: var(--heading);

    font-size: clamp(42px, 5vw, 64px);

    font-weight: 500;

    line-height: 1;
}

.story-copy h2 em,
.section-heading h2 em,
.reservation-heading h2 em {
    color: var(--gold-light);

    font-weight: 500;
}

.story-lead {
    margin-top: 22px;

    font-family: var(--heading);

    font-size: 20px;

    color: #dfd9ce;

    line-height: 1.55;
}

.body-copy {
    margin-top: 15px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.85;
}


/* =========================================================
   MENU SECTION
========================================================= */

.menu-section {
    background: var(--light-bg);

    color: var(--light-text);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 40px;
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.menu-section .section-heading h2 em {
    color: #745528;
}

.menu-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.menu-card {
    background: #faf7f1;

    border:
        1px solid rgba(20, 25, 21, 0.08);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 35px
        rgba(35, 30, 20, 0.10);
}

.menu-image-wrap {
    height: 260px;

    overflow: hidden;
}

.menu-image {
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.menu-card:hover .menu-image {
    transform: scale(1.03);
}

.menu-content {
    padding: 22px;
}

.menu-content span {
    color: #86692f;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.20em;
}

.menu-content h3 {
    margin-top: 5px;

    font-family: var(--heading);

    font-size: 28px;

    font-weight: 600;
}

.menu-content p {
    margin-top: 7px;

    color: #686d68;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   BRANCHES
========================================================= */

.branches {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(29, 75, 58, 0.15),
            transparent 32%
        ),
        var(--bg);
}

.branch-grid {
    max-width: 920px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.branch-card {
    min-height: 245px;

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branch-card > span {
    font-size: 9px;
}

.branch-card.light {
    background: #eee8dd;

    color: #171b18;
}

.branch-card.dark {
    background:
        linear-gradient(
            145deg,
            #1b3b2f,
            #101612
        );

    border:
        1px solid var(--gold-border);
}

.branch-card div > p {
    color: #85682e;

    font-size: 8px;

    letter-spacing: 0.18em;
}

.branch-card.dark div > p {
    color: var(--gold);
}

.branch-card h3 {
    margin-top: 3px;

    font-family: var(--heading);

    font-size: 37px;

    font-weight: 500;
}

.branch-card small {
    display: block;

    margin-top: 7px;

    max-width: 350px;

    color: #686d68;

    font-size: 11px;

    line-height: 1.7;
}

.branch-card.dark small {
    color: #9da49e;
}


/* =========================================================
   RESERVATION
========================================================= */

.reservation {
    background: #0d120f;
}

.reservation-inner {
    max-width: 1020px;

    padding: 50px 58px;

    border:
        1px solid var(--gold-border);

    background:
        linear-gradient(
            145deg,
            rgba(27, 62, 48, 0.20),
            rgba(9, 13, 10, 0.96)
        );
}

.reservation-heading {
    text-align: center;

    max-width: 600px;

    margin: auto;
}

.reservation-form {
    margin-top: 34px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #adb2ad;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 0.11em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid rgba(255, 255, 255, 0.11);

    outline: none;

    background: rgba(255, 255, 255, 0.025);

    color: var(--cream);
}

.form-group input,
.form-group select {
    height: 47px;

    padding: 0 13px;
}

.form-group textarea {
    min-height: 88px;

    padding: 13px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #606760;
}

.form-group select option {
    background: #111612;

    color: var(--cream);
}

.full {
    grid-column: 1 / -1;
}

.form-action {
    display: flex;

    justify-content: center;

    margin-top: 4px;
}

.reservation-success {
    display: none;

    margin-top: 20px;

    padding: 12px 15px;

    text-align: center;

    font-size: 11px;

    color: #bdd4c2;

    background:
        rgba(47, 103, 68, 0.12);

    border:
        1px solid rgba(91, 151, 110, 0.28);
}

.reservation-success.show {
    display: block;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 42px 0 27px;

    background: #050706;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.2fr 1fr auto;

    align-items: end;

    gap: 30px;
}

.footer h3 {
    font-family: var(--heading);

    font-size: 26px;

    font-weight: 500;
}

.footer div > p {
    margin-top: 5px;

    max-width: 330px;

    color: #747b75;

    font-size: 10px;
}

.footer nav {
    display: flex;

    flex-wrap: wrap;

    gap: 17px;
}

.footer nav a {
    color: #858c86;

    font-size: 10px;

    transition: color 0.25s ease;
}

.footer nav a:hover {
    color: var(--gold);
}

.footer-main > p {
    color: #565d57;

    font-size: 8px;

    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        display: none;
    }

    .header-actions {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .story-layout {
        gap: 42px;
    }

    .story-image-wrap {
        height: 410px;
    }

    .menu-image-wrap {
        height: 230px;
    }

    .reservation-form {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-main > p {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 820px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 640px;
    }

    .story-layout {
        grid-template-columns: 1fr;
    }

    .story-image-wrap {
        height: 390px;
    }

    .story-copy {
        max-width: none;
    }

    .menu-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .menu-card:last-child {
        grid-column: 1 / -1;

        width: calc(50% - 11px);

        justify-self: center;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 32px),
                var(--container)
            );
    }

    .section {
        padding: 60px 0;
    }


    /* HEADER */

    .header-inner {
        min-height: 70px;
    }

    .brand-logo {
        width: 44px !important;
        height: 44px !important;
    }

    .brand-name {
        font-size: 19px !important;
    }


    /* HERO */

    .hero {
        min-height: 590px;

        padding-top: 70px;
    }

    .hero-image {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 8, 6, 0.91),
                rgba(5, 8, 6, 0.56)
            ),
            linear-gradient(
                0deg,
                rgba(5, 8, 6, 0.73),
                transparent 55%
            );
    }

    .hero-eyebrow {
        font-size: 8px;

        letter-spacing: 0.17em;
    }

    .hero h1 {
        font-size:
            clamp(
                43px,
                13vw,
                58px
            );
    }

    .hero-text {
        margin-top: 17px;

        max-width: 430px;

        font-size: 11px;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .btn {
        min-height: 45px;

        padding: 0 17px;

        font-size: 8px;
    }


    /* STORY */

    .story-layout {
        gap: 32px;
    }

    .story-image-wrap {
        height: 325px;
    }

    .story-lead {
        font-size: 17px;
    }

    .story-copy h2,
    .section-heading h2,
    .reservation-heading h2 {
        font-size:
            clamp(
                38px,
                12vw,
                51px
            );
    }


    /* MENU */

    .section-heading {
        display: block;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-card:last-child {
        grid-column: auto;

        width: 100%;
    }

    .menu-image-wrap {
        height: 250px;
    }


    /* BRANCH */

    .branch-grid {
        grid-template-columns: 1fr;
    }

    .branch-card {
        min-height: 210px;

        padding: 28px;
    }


    /* RESERVATION */

    .reservation-inner {
        padding: 35px 19px;
    }

    .reservation-form {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: auto;
    }

    .form-action .btn {
        width: 100%;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;

        align-items: start;
    }

    .footer-main > p {
        grid-column: auto;

        white-space: normal;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .brand-name {
        font-size: 17px !important;
    }

    .hero {
        min-height: 565px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .story-image-wrap {
        height: 285px;
    }

    .menu-image-wrap {
        height: 220px;
    }

}