/* =========================================
   VARIABLES & THEME
========================================= */
:root {
    /* Color Palette */
    --bg-main: #1c130d;
    /* Deep espresso background */
    --bg-darker: #0f0a07;
    /* Even darker for contrast sections */
    --bg-card: #2d1f16;
    /* Dark mocha for cards */
    --bg-card-hover: #3a281c;
    /* Lighter mocha for hover state */

    --primary: #b87352;
    /* Caramel / Warm copper accent */
    --primary-hover: #c48263;
    --secondary-accent: #8b5338;

    --text-primary: #f5e9da;
    /* Off-white / Beige */
    --text-secondary: #a89283;
    /* Light tan */
    --text-muted: #756255;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   RESET & GLOBAL
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Typography styles */
h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(184, 115, 82, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(184, 115, 82, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-main);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-icon i {
    margin-right: 0;
}

.btn-icon:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
}

/* =========================================
   NAVIGATION
========================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(28, 19, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
#hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1497935586351-b67a49e012bf?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 19, 13, 0.7) 0%, rgba(28, 19, 13, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    transform-style: preserve-3d;
    /* Required for tilt children */
}

.hero-content h1 {
    transform: translateZ(50px);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    transform: translateZ(30px);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    transform: translateZ(40px);
}

/* =========================================
   SECTION HEADERS
========================================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.view-all {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

/* =========================================
   GRIDS & CARDS
========================================= */
.grid {
    display: grid;
    gap: 30px;
}

.highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.item-card {
    cursor: pointer;
}

.card-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    transform: translateZ(40px);
    /* 3D depth */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.item-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(28, 19, 13, 0.8);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    color: #f1c40f;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    transform: translateZ(30px);
}

.card-content h3 {
    margin-bottom: 5px;
}

.card-content .desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* =========================================
   MENU SECTION
========================================= */
.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: rgba(45, 31, 22, 0.4);
    cursor: pointer;
}

.menu-item:hover {
    background: var(--bg-card);
    transform: translateX(10px);
}

.menu-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
    /* Prevents image from squishing in flex container */
}

.menu-item-info {
    width: 100%;
}

.menu-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.menu-line {
    flex-grow: 1;
    height: 1px;
    background: dashed 1px rgba(255, 255, 255, 0.1);
    margin: 0 15px;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

/* =========================================
   FEATURED & ABOUT & CHEF
========================================= */
.featured-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.featured-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.featured-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 16/9;
    min-width: calc(50% - 15px);
    scroll-snap-align: start;
    flex-shrink: 0;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.featured-card:hover img {
    transform: scale(1.1);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(28, 19, 13, 1) 0%, rgba(28, 19, 13, 0) 100%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-img img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(184, 115, 82, 0.4);
}

.experience-badge .num {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.chef-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    display: flex;
    overflow: hidden;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chef-img {
    width: 40%;
}

.chef-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chef-info {
    width: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* =========================================
   INFO, TESTIMONIALS & GALLERY
========================================= */
.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hours-list {
    margin-top: 20px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-list li:last-child {
    border: none;
}

.mt-4 {
    margin-top: 30px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.map-container {
    padding: 0;
    overflow: hidden;
    min-height: 400px;
}

iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(1.2);
}

/* Testimonials */
.testimonial-slider {
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    min-width: 350px;
    flex: 1;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.customer-info span {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: crosshair;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* =========================================
   FOOTER
========================================= */
footer {
    background-color: var(--bg-main);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand p {
    max-width: 300px;
    margin: 20px 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted);
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        right: 20px;
    }

    .chef-card {
        flex-direction: column;
    }

    .chef-img,
    .chef-info {
        width: 100%;
    }

    .chef-info {
        padding: 30px;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .testimonial-track {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        min-width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}