﻿:root {
    --copper: #c77b42;
    --copper-dark: #a95d2e;
    --dark: #29221e;
    --cream: #fff9f1;
    --text: #40352f;
    --muted: #786c63;
    --border: #eadfd2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background-color: #f5eee5;
    background-image:
        linear-gradient(rgba(37,29,23,.53), rgba(37,29,23,.53)),
        url('https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=2000&q=85');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    line-height: 1.7;
}

h1,h2,h3,h4,h5,.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h2 {
    font-size: clamp(2rem,4vw,2.8rem);
    margin-bottom: 1.2rem;
}

p {
    color: var(--muted);
}

a {
    text-decoration: none;
}

.restaurant-nav {
    background: rgba(38,30,25,.97);
    border-bottom: 2px solid var(--copper);
    box-shadow: 0 3px 15px rgba(0,0,0,.2);
}

.navbar-brand {
    color: white !important;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    color: white;
    background: var(--copper);
    font-family: 'Playfair Display',serif;
    font-weight: 700;
    border: 2px solid #e9b98c;
}

.brand-name {
    font-size: 1.45rem;
}

.navbar-nav .nav-link {
    color: #eee4d9;
    font-weight: 600;
    padding: .75rem .65rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #e8a66e;
}

.btn-copper {
    background: var(--copper);
    border: 1px solid var(--copper);
    color: white;
    font-weight: 700;
    border-radius: 5px;
    padding: .75rem 1.5rem;
    transition: background .2s ease,transform .2s ease;
}

.btn-copper:hover,
.btn-copper:focus {
    color: white;
    background: var(--copper-dark);
    border-color: var(--copper-dark);
    transform: translateY(-2px);
}

.text-copper {
    color: var(--copper-dark);
}

.text-link {
    color: var(--copper-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--copper);
    padding-bottom: 4px;
}

.text-link:hover {
    color: var(--dark);
}

.home-hero {
    min-height: 660px;
    background:
        linear-gradient(90deg,rgba(26,20,16,.87),rgba(26,20,16,.25)),
        url('https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=2000&q=90');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    padding: 100px 0;
}

.hero-content {
    max-width: 680px;
}

.hero-content h1 {
    color: white;
    font-size: clamp(3.5rem,7vw,6rem);
    line-height: 1.08;
    margin: 20px 0;
}

.hero-content p {
    color: #f3e8de;
    font-size: 1.2rem;
    max-width: 550px;
}

.eyebrow {
    color: #f0b27e;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.inner-hero {
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.inner-hero-overlay {
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(31,24,19,.67);
    padding: 65px 0;
}

.inner-hero h1 {
    color: white;
    font-size: clamp(2.8rem,6vw,4.5rem);
    margin: 12px 0;
}

.inner-hero p {
    color: #f5e9dc;
    font-size: 1.1rem;
}

.about-hero {
    background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1800&q=85');
}

.menu-hero {
    background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=85');
}

.order-hero {
    background-image: url('https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=1800&q=85');
}

/* BACKGROUND IMAGE VISIBLE BETWEEN SECTIONS */

.section-stack {
    padding-top: 55px;
    padding-bottom: 55px;
}

.content-panel {
    /* background: rgba(255,249,241,.97); */
    padding: clamp(25px,5vw,60px);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
    margin-bottom: 55px;
}

.content-panel:last-child {
    margin-bottom: 0;
}

.section-description {
    max-width: 650px;
    margin: 0 auto;
}

.feature-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.category-card {
    height: 100%;
    text-align: left;
    background: white;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.category-card h4 {
    padding: 20px 20px 0;
}

.category-card p {
    padding: 0 20px 15px;
}

.story-banner {
    background: #f3e5d4;
}

.highlight-icon {
    display: inline-block;
    font-size: 2.6rem;
    color: var(--copper-dark);
    margin-bottom: 15px;
}

/* MENU */

.menu-category-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0 45px;
}

.menu-category-navigation a {
    padding: 10px 18px;
    background: #f1e3d4;
    color: var(--dark);
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    transition: .2s;
}

.menu-category-navigation a:hover {
    background: var(--copper);
    color: white;
}

.menu-section {
    margin-top: 65px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    scroll-margin-top: 100px;
}

.menu-section-heading {
    margin-bottom: 25px;
}

.menu-section-heading h2 {
    margin-bottom: 5px;
}

.menu-item-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    transition: transform .2s,box-shadow .2s;
}

.menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.09);
}

.menu-item-content {
    padding: 22px;
}

.menu-item-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
}

.menu-price {
    color: var(--copper-dark);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
}

.menu-item-card p {
    margin: 16px 0 12px;
    font-size: .93rem;
}

.menu-meta {
    color: #786c63;
    font-size: .85rem;
}

.diet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.diet-tag {
    background: #f3ede5;
    color: #625044;
    padding: 4px 8px;
    font-size: .72rem;
    border-radius: 4px;
}

.diet-tag i {
    color: var(--copper-dark);
}

.drink-variety-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 9px;
}

/* ONLINE ORDERING */

.order-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.quantity-input {
    max-width: 85px;
    font-weight: 700;
    text-align: center;
}

.quantity-label {
    font-size: .85rem;
    color: var(--muted);
}

.cart-sidebar {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.17);
    border: 1px solid var(--border);
}

.cart-header {
    background: var(--dark);
    color: white;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.cart-count {
    background: var(--copper);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .8rem;
}

.cart-body {
    padding: 22px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    font-size: .9rem;
}

.cart-items {
    font-size: .9rem;
    white-space: pre-line;
}

.cart-total {
    padding: 22px;
    background: #faf6f0;
    border-top: 1px solid var(--border);
}

.total-row {
    font-size: 1.2rem;
}

.total-row strong {
    color: var(--copper-dark);
}

/* CHECKOUT */

.checkout-summary {
    background: #faf6f0;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.checkout-summary h3 {
    margin-bottom: 25px;
}

.checkout-line {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}

.form-control,
.form-select {
    padding: .75rem;
    border-color: #ddcdbb;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 .2rem rgba(199,123,66,.15);
}

/* FOOTER */

.restaurant-footer {
    background: #29221e;
    color: #f5e9dc;
    padding: 65px 0 25px;
    border-top: 4px solid var(--copper);
}

.restaurant-footer h4,
.restaurant-footer h5 {
    color: white;
    margin-bottom: 20px;
}

.restaurant-footer p,
.restaurant-footer blockquote {
    color: #c9bcb0;
}

.restaurant-footer a {
    color: #e5a36c;
}

.restaurant-footer a:hover {
    color: white;
}

.footer-divider {
    border-color: #66574b;
    margin: 35px 0;
}

.footer-about {
    max-width: 950px;
    margin: auto;
    text-align: center;
}

.footer-about blockquote {
    font-size: .9rem;
    font-style: italic;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #66574b;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    font-weight: 600;
}

.bg-white{
    background-color: #fff9f1;
}

.menu-description {
    font-size: 1.25rem;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .cart-sidebar {
        position: static;
    }

    .navbar-nav {
        padding: 15px 0;
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: 560px;
    }

    .hero-overlay {
        padding: 75px 0;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-buttons .btn {
        margin: 5px 0;
    }

    .inner-hero,
    .inner-hero-overlay {
        min-height: 300px;
    }

    .content-panel {
        padding: 25px 20px;
        margin-bottom: 35px;
    }

    .section-stack {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .menu-section {
        margin-top: 40px;
    }

    .feature-image {
        height: 280px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-price {
        font-size: .95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*::before,*::after {
        transition-duration: .01ms !important;
    }
}
