/* =========================================
   NOVA ARC RESTAURANT
   Premium Restaurant Portfolio
========================================= */


/* =========================================
   VARIABLES
========================================= */

:root {
    --black: #10100f;
    --charcoal: #181817;
    --dark: #222220;

    --ivory: #f4efe5;
    --cream: #ded6c7;

    --gold: #c7a66a;
    --gold-light: #dfc28a;

    --muted: #96938c;
    --border: rgba(244, 239, 229, 0.14);

    --serif: "Cormorant Garamond", serif;
    --sans: "DM Sans", sans-serif;

    --container: 1240px;

    --transition: 0.35s ease;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--ivory);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   COMMON
========================================= */

.section {
    padding: 120px 5%;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-label {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-heading h2,
.story-content h2,
.reservation-intro h2,
.location-content h2 {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 500;
    line-height: 0.95;
}

h2 em {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.section-heading > p:last-child {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 25px;
}

.btn {
    min-height: 54px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: var(--transition);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(244, 239, 229, 0.55);
    color: var(--ivory);
}

.btn-outline:hover {
    background: var(--ivory);
    color: var(--black);
}

.btn-dark {
    background: var(--black);
    color: var(--ivory);
}

.btn-outline-dark {
    border: 1px solid #bbb2a3;
    color: var(--black);
}

.btn-outline-dark:hover {
    background: var(--black);
    color: var(--ivory);
}

.full-btn {
    width: 100%;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    transition: 0.4s ease;
}

.navbar.scrolled {
    height: 72px;
    background: rgba(16, 16, 15, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: 5px;
}

.logo small {
    font-size: 7px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: rgba(244, 239, 229, 0.75);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    color: var(--ivory);
    background: transparent;
    font-size: 17px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: -3px;

    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold);
    color: var(--black);

    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.nav-reserve {
    background: var(--gold);
    color: var(--black);

    padding: 13px 20px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: var(--transition);
}

.nav-reserve:hover {
    background: var(--gold-light);
}

.menu-toggle {
    display: none;
    background: transparent;
    width: 35px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ivory);
    margin: 6px 0;
    transition: var(--transition);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=2200&q=90")
        center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 9, 0.8),
            rgba(10, 10, 9, 0.35),
            rgba(10, 10, 9, 0.8)
        ),
        linear-gradient(
            0deg,
            rgba(10, 10, 9, 0.8),
            transparent 40%,
            rgba(10, 10, 9, 0.4)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 100px 20px 60px;

    animation: heroIn 1.2s ease forwards;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .eyebrow {
    color: var(--gold);
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(75px, 14vw, 180px);
    font-weight: 500;
    line-height: 0.75;
    letter-spacing: 8px;
}

.hero h1 span {
    color: var(--gold);
}

.hero h2 {
    margin-top: 35px;

    font-family: var(--serif);
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 400;
    font-style: italic;
}

.hero-content > p:not(.eyebrow) {
    max-width: 570px;
    margin: 25px auto 35px;

    color: rgba(244, 239, 229, 0.72);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: rgba(244, 239, 229, 0.55);

    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator i {
    animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
    50% {
        transform: translateY(7px);
    }
}


/* =========================================
   STORY
========================================= */

.story {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    height: 650px;
}

.image-label {
    position: absolute;
    right: -35px;
    bottom: 40px;

    width: 100px;
    height: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--gold);
    color: var(--black);

    border-radius: 50%;
}

.image-label span {
    font-size: 9px;
    letter-spacing: 2px;
}

.image-label strong {
    font-family: var(--serif);
    font-size: 30px;
}

.story-content > p:not(.section-label) {
    color: var(--muted);
    line-height: 1.9;
    margin-top: 25px;
    max-width: 540px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    color: var(--gold);

    margin-top: 30px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-link i {
    transition: var(--transition);
}

.text-link:hover i {
    transform: translateX(7px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;

    margin-top: 70px;
}

.stat strong {
    display: block;

    font-family: var(--serif);
    color: var(--gold);
    font-size: 34px;
    font-weight: 500;
}

.stat span {
    display: block;
    margin-top: 4px;

    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================
   SIGNATURE
========================================= */

.signature {
    background: #151514;
}

.dish-grid {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.dish-card {
    position: relative;
    overflow: hidden;

    background: var(--charcoal);

    transition: transform 0.5s ease;
}

.dish-card:hover {
    transform: translateY(-8px);
}

.dish-image {
    height: 330px;
    overflow: hidden;
}

.dish-image img {
    height: 100%;
    transition: transform 0.7s ease;
}

.dish-card:hover .dish-image img {
    transform: scale(1.08);
}

.dish-info {
    padding: 25px;
}

.dish-info h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.dish-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0 18px;
}

.dish-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
}

.add-dish {
    color: var(--ivory);
    background: transparent;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 4px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: var(--transition);
}

.add-dish:hover {
    color: var(--gold);
}


/* =========================================
   MENU
========================================= */

.menu-section {
    background: var(--ivory);
    color: var(--black);
}

.menu-section .section-heading > p:last-child {
    color: #77736c;
}

.menu-tools {
    max-width: var(--container);
    margin: 0 auto 45px;

    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category {
    background: transparent;

    padding: 11px 16px;

    border: 1px solid #cbc4b8;

    color: #666159;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: var(--transition);
}

.category:hover,
.category.active {
    background: var(--black);
    border-color: var(--black);
    color: var(--ivory);
}

.search-box {
    flex-shrink: 0;

    width: 220px;
    height: 43px;

    display: flex;
    align-items: center;
    gap: 10px;

    border-bottom: 1px solid #aaa49a;
}

.search-box i {
    color: #777;
}

.search-box input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--black);
    font-size: 12px;
}

.menu-grid {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;

    background: #d2cabe;
}

.menu-item {
    background: var(--ivory);

    padding: 20px;

    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: center;

    transition: var(--transition);
}

.menu-item:hover {
    background: #ebe5da;
}

.menu-item-image {
    width: 120px;
    height: 100px;
    overflow: hidden;
}

.menu-item-image img {
    height: 100%;
    transition: transform 0.5s ease;
}

.menu-item:hover img {
    transform: scale(1.08);
}

.menu-item h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
}

.menu-category {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu-item p {
    margin-top: 7px;

    color: #77736c;

    font-size: 11px;
    line-height: 1.5;
}

.menu-price {
    color: #9c7840;
    font-weight: 700;
    white-space: nowrap;
}

.menu-add {
    margin-top: 10px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--black);

    background: transparent;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-add i {
    color: var(--gold);
}


/* =========================================
   EXPERIENCE
========================================= */

.experience {
    min-height: 650px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=2200&q=90")
        center/cover fixed no-repeat;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 7, 0.72);
}

.experience-content {
    position: relative;
    max-width: 720px;
    padding: 80px 20px;
}

.experience-content h2 {
    font-family: var(--serif);
    font-size: clamp(50px, 7vw, 90px);
    font-weight: 500;
    line-height: 0.9;
}

.experience-content > p:not(.section-label) {
    color: rgba(244, 239, 229, 0.72);
    line-height: 1.8;
    margin: 25px auto 35px;
}

.experience-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    color: var(--cream);

    font-family: var(--serif);
    font-size: 20px;
}

.experience-menu i {
    width: 4px;
    height: 4px;

    background: var(--gold);
    border-radius: 50%;
}

.experience-price {
    margin: 35px 0;
}

.experience-price small {
    display: block;

    color: var(--gold);

    font-size: 9px;
    letter-spacing: 3px;
}

.experience-price strong {
    display: block;

    margin-top: 4px;

    font-family: var(--serif);
    font-size: 50px;
    font-weight: 500;
}


/* =========================================
   RESERVATION
========================================= */

.reservation {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;

    background: var(--ivory);
    color: var(--black);
}

.reservation-intro {
    padding-top: 20px;
}

.reservation-intro > p:not(.section-label) {
    color: #77736c;
    line-height: 1.8;
    margin-top: 25px;
}

.reservation-info {
    margin-top: 50px;

    display: grid;
    gap: 25px;
}

.reservation-info > div,
.location-details > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.reservation-info i,
.location-details i {
    color: var(--gold);
    margin-top: 3px;
}

.reservation-info span,
.location-details span {
    color: #77736c;
    font-size: 12px;
    line-height: 1.7;
}

.reservation-info strong,
.location-details strong {
    display: block;
    color: var(--black);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reservation-form {
    padding: 45px;

    background: #ebe5da;

    border: 1px solid #ddd5c8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #77736c;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid #d0c8ba;
    outline: none;

    background: var(--ivory);
    color: var(--black);

    font-size: 12px;

    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.error {
    display: block;

    color: #a33a32;

    font-size: 9px;
    margin-top: 5px;
}

.form-success {
    display: none;

    margin-top: 18px;
    padding: 15px;

    background: rgba(199, 166, 106, 0.15);
    border: 1px solid rgba(199, 166, 106, 0.5);

    color: #6f5933;

    font-size: 11px;
    line-height: 1.5;
}

.form-success.show {
    display: block;
}

.form-success i {
    margin-right: 7px;
}


/* =========================================
   GALLERY
========================================= */

.gallery {
    background: var(--black);
}

.gallery-grid {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-auto-rows: 250px;

    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    height: 100%;
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}


/* =========================================
   REVIEWS
========================================= */

.reviews {
    background: #151514;
}

.reviews-grid {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.review-card {
    padding: 35px 25px;

    border: 1px solid var(--border);

    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-7px);
    border-color: rgba(199, 166, 106, 0.5);
}

.stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 11px;
}

.review-card p {
    min-height: 120px;

    margin: 25px 0;

    color: var(--cream);

    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.4;
}

.review-card strong {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}


/* =========================================
   LOCATION
========================================= */

.location {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    background: var(--ivory);
    color: var(--black);
}

.map-visual {
    min-height: 560px;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            30deg,
            transparent 45%,
            rgba(199, 166, 106, 0.2) 46%,
            transparent 47%
        ),
        linear-gradient(
            120deg,
            transparent 45%,
            rgba(199, 166, 106, 0.18) 46%,
            transparent 47%
        ),
        #d8d2c7;
}

.map-pattern {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);

    background-size: 45px 45px;
}

.map-pin {
    position: absolute;
    left: 50%;
    top: 45%;

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    background: var(--black);
    color: var(--gold);

    border-radius: 50%;

    font-size: 25px;

    box-shadow: 0 0 0 15px rgba(16, 16, 15, 0.1);
}

.map-label {
    position: absolute;
    left: 50%;
    top: calc(45% + 60px);

    transform: translateX(-50%);

    padding: 10px 15px;

    background: var(--ivory);

    color: var(--black);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.location-content {
    align-self: center;
}

.address {
    margin: 30px 0;

    color: #77736c;

    line-height: 1.8;
}

.location-details {
    display: grid;
    gap: 20px;
}

.location-buttons {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #0a0a09;
    color: var(--ivory);

    padding: 80px 5% 25px;
}

.footer-main {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.socials a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--muted);

    transition: var(--transition);
}

.socials a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;

    color: var(--gold);

    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: var(--muted);
    font-size: 11px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--ivory);
}

.footer-bottom {
    max-width: var(--container);

    margin: 70px auto 0;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: #68665f;

    font-size: 9px;
    letter-spacing: 0.5px;
}


/* =========================================
   CART
========================================= */

.cart-overlay {
    position: fixed;
    inset: 0;

    z-index: 1999;

    background: rgba(0, 0, 0, 0.65);

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 2000;

    width: min(430px, 100%);
    height: 100vh;

    display: flex;
    flex-direction: column;

    background: var(--ivory);
    color: var(--black);

    transform: translateX(100%);

    transition: transform 0.45s ease;
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    padding: 30px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    border-bottom: 1px solid #d5cdbf;
}

.cart-header h3 {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
}

.close-cart {
    background: transparent;
    font-size: 20px;
    color: var(--black);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.empty-cart {
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #888;
}

.empty-cart i {
    color: var(--gold);
    font-size: 35px;
    margin-bottom: 15px;
}

.empty-cart p {
    font-family: var(--serif);
    font-size: 25px;
    color: var(--black);
}

.empty-cart span {
    font-size: 11px;
}

.cart-item {
    padding: 18px 0;

    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 14px;

    border-bottom: 1px solid #d5cdbf;
}

.cart-item img {
    width: 70px;
    height: 65px;
}

.cart-item h4 {
    font-family: var(--serif);
    font-size: 20px;
}

.cart-item-price {
    color: #9c7840;
    font-size: 11px;
    margin-top: 4px;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.quantity button {
    width: 23px;
    height: 23px;

    background: #dcd4c6;
    color: var(--black);
}

.quantity span {
    min-width: 18px;
    text-align: center;
    font-size: 11px;
}

.remove-item {
    background: transparent;
    color: #999;
    font-size: 11px;
}

.remove-item:hover {
    color: #a33a32;
}

.cart-footer {
    padding: 25px 30px;
    border-top: 1px solid #d5cdbf;
}

.cart-total {
    display: flex;
    justify-content: space-between;

    margin-bottom: 20px;

    font-size: 12px;
}

.cart-total strong {
    color: #9c7840;
}


/* =========================================
   LIGHTBOX
========================================= */

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 3000;

    background: rgba(5, 5, 4, 0.95);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
}

.lightbox button {
    position: absolute;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(244, 239, 229, 0.1);
    color: var(--ivory);

    border: 1px solid var(--border);

    transition: var(--transition);
}

.lightbox button:hover {
    background: var(--gold);
    color: var(--black);
}

.lightbox-close {
    top: 25px;
    right: 25px;
}

.lightbox-prev {
    left: 25px;
    top: 50%;
}

.lightbox-next {
    right: 25px;
    top: 50%;
}


/* =========================================
   BACK TO TOP
========================================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 100;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold);
    color: var(--black);

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   MENU ANIMATION
========================================= */

.menu-item.filter-hide {
    opacity: 0;
    transform: scale(0.95);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .story {
        gap: 50px;
    }

    .dish-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .section {
        padding: 80px 5%;
    }


    /* Navbar */

    .navbar {
        height: 70px;
    }

    .navbar.scrolled {
        height: 65px;
    }

    .nav-links {
        position: fixed;

        top: 70px;
        left: 0;

        width: 100%;
        height: calc(100vh - 70px);

        padding: 50px 8%;

        background: rgba(16, 16, 15, 0.98);

        flex-direction: column;
        align-items: flex-start;

        gap: 25px;

        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-family: var(--serif);
        font-size: 30px;
        color: var(--ivory);
    }

    .nav-reserve {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    /* Hero */

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 70px;
        letter-spacing: 4px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* Story */

    .story {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .story-image img {
        height: 450px;
    }

    .image-label {
        right: 15px;
        bottom: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 50px;
    }


    /* Signature */

    .dish-grid {
        grid-template-columns: 1fr;
    }

    .dish-image {
        height: 300px;
    }


    /* Menu */

    .menu-tools {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        grid-template-columns: 85px 1fr;
    }

    .menu-item-image {
        width: 85px;
        height: 80px;
    }

    .menu-price {
        grid-column: 2;
    }


    /* Experience */

    .experience {
        min-height: 650px;
        background-attachment: scroll;
    }

    .experience-menu {
        font-size: 18px;
    }


    /* Reservation */

    .reservation {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .reservation-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    /* Gallery */

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }


    /* Reviews */

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card p {
        min-height: auto;
    }


    /* Location */

    .location {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .map-visual {
        min-height: 400px;
    }

    .location-buttons {
        flex-direction: column;
    }

    .location-buttons .btn {
        width: 100%;
    }


    /* Footer */

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        margin-top: 50px;
    }


    /* Lightbox */

    .lightbox {
        padding: 20px;
    }

    .lightbox img {
        max-width: 100%;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .logo span {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .section-heading h2,
    .story-content h2,
    .reservation-intro h2,
    .location-content h2 {
        font-size: 48px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}