/* ===== MENU CSS - Hero & Page Styles ===== */

/* --- GLOBAL VARIABLES --- */
:root {
    --primary-orange: #EF7D32;
    --dark-brown: #431407;
    --gold: #FFC107;
    --text-gray: #666;
    --bg-light: #FFF9F2;
}

body {
    overflow-x: hidden;
}

/* --- 1. MENU HERO SECTION --- */
.menu-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--dark-brown);
}

.menu-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    transition: transform 0.1s linear;
}

.menu-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 2;
    opacity: 0.6;
    transition: transform 0.1s linear;
    pointer-events: none;
}

.shape-1 {
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: #EF7D32;
}

.shape-2 {
    bottom: -50px;
    right: 10%;
    width: 250px;
    height: 250px;
    background: #FFC107;
}

.menu-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.menu-hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
}

.menu-hero-content .section-subtitle {
    display: block;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 700;
}

/* Text Effects */
.pop-out-text {
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(to right, #EF7D32 0%, #FFC107 50%, #EF7D32 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* --- 2. PAGE LAYOUT & CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #EF7D32;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-title {
    font-size: 52px;
    color: #431407;
    margin: 0;
    line-height: 1.1;
}

.page-title span {
    color: #EF7D32;
}

/* --- 3. MENU FILTERS --- */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #EF7D32;
    background: transparent;
    color: #EF7D32;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #EF7D32;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 125, 50, 0.3);
}

/* --- 4. MENU GRID SYSTEM --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

/* --- 5. CARD STYLING --- */
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #FFF8F0;
    box-shadow: 0 10px 30px rgba(67, 20, 7, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(67, 20, 7, 0.08);
    border-color: #EF7D32;
}

/* Card Image */
.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background-color: #FFF8F0;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Card Text Content */
.card h3 {
    font-size: 22px;
    margin: 20px 25px 10px;
    color: #431407;
    font-weight: 700;
}

.card p {
    font-size: 15px;
    color: #666;
    margin: 0 25px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Price Tag */
.price {
    margin-top: auto;
    padding: 20px 25px;
    background-color: #FFFDF9;
    border-top: 1px solid #FFF0E0;
    color: #EF7D32 !important;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price i {
    font-size: 20px;
}

/* --- 6. ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================= */
/* --- RESPONSIVE STYLES --- */
/* ============================================= */

/* --- TABLET (max-width: 1024px) --- */
@media (max-width: 1024px) {

    /* Hero Section */
    .menu-hero {
        height: 400px;
    }

    .menu-hero-content h1 {
        font-size: 42px;
    }

    .menu-hero-content .section-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    /* Floating Shapes */
    .shape-1 {
        width: 250px;
        height: 250px;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
    }

    /* Container & Layout */
    .container {
        padding: 50px 20px;
    }

    /* Section Header */
    .page-title {
        font-size: 44px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Menu Filters */
    .menu-filters {
        gap: 12px;
        margin-bottom: 50px;
    }

    .filter-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    /* Grid */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    /* Cards */
    .card img {
        height: 240px;
    }

    .card h3 {
        font-size: 20px;
        margin: 18px 22px 8px;
    }

    .card p {
        font-size: 14px;
        margin: 0 22px 18px;
    }

    .price {
        padding: 18px 22px;
        font-size: 17px;
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Hero Section */
    .menu-hero {
        height: 350px;
    }

    .menu-hero-content {
        padding: 0 15px;
    }

    .menu-hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .menu-hero-content .section-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    /* Floating Shapes */
    .floating-shape {
        filter: blur(40px);
    }

    .shape-1 {
        width: 200px;
        height: 200px;
        top: -30px;
        left: -30px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
        bottom: -30px;
    }

    /* Container & Layout */
    .container {
        padding: 40px 15px;
    }

    /* Section Header */
    .page-title {
        font-size: 36px;
    }

    .section-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .section-header {
        margin-bottom: 35px;
    }

    /* Menu Filters */
    .menu-filters {
        gap: 10px;
        margin-bottom: 40px;
        padding: 0 5px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-width: 1.5px;
    }

    /* Grid */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
        padding-bottom: 30px;
    }

    /* Cards */
    .card {
        border-radius: 16px;
    }

    .card img {
        height: 220px;
    }

    .card h3 {
        font-size: 19px;
        margin: 16px 20px 8px;
    }

    .card p {
        font-size: 14px;
        margin: 0 20px 16px;
        line-height: 1.5;
    }

    .price {
        padding: 16px 20px;
        font-size: 16px;
    }

    .price i {
        font-size: 18px;
    }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {

    /* Hero Section */
    .menu-hero {
        height: 300px;
    }

    .menu-hero-content {
        padding: 0 12px;
    }

    .menu-hero-content h1 {
        font-size: 26px;
    }

    .menu-hero-content .section-subtitle {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    /* Floating Shapes */
    .floating-shape {
        filter: blur(30px);
    }

    .shape-1 {
        width: 150px;
        height: 150px;
        top: -20px;
        left: -20px;
    }

    .shape-2 {
        width: 120px;
        height: 120px;
        bottom: -20px;
        right: 5%;
    }

    /* Container & Layout */
    .container {
        padding: 30px 12px;
    }

    /* Section Header */
    .page-title {
        font-size: 28px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Menu Filters - Horizontal Scroll */
    .menu-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
        gap: 10px;
        margin-bottom: 30px;
        padding: 0 12px 10px;
        justify-content: flex-start;
    }

    .menu-filters::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Grid - Single Column */
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 25px;
    }

    /* Cards */
    .card {
        border-radius: 14px;
    }

    .card img {
        height: 200px;
    }

    .card h3 {
        font-size: 18px;
        margin: 14px 16px 6px;
    }

    .card p {
        font-size: 13px;
        margin: 0 16px 14px;
        line-height: 1.5;
    }

    .price {
        padding: 14px 16px;
        font-size: 15px;
        gap: 6px;
    }

    .price i {
        font-size: 16px;
    }
}

/* --- EXTRA SMALL MOBILE (max-width: 360px) --- */
@media (max-width: 360px) {
    .menu-hero {
        height: 260px;
    }

    .menu-hero-content h1 {
        font-size: 22px;
    }

    .menu-hero-content .section-subtitle {
        font-size: 9px;
    }

    .page-title {
        font-size: 24px;
    }

    .card img {
        height: 180px;
    }

    .card h3 {
        font-size: 16px;
        margin: 12px 14px 5px;
    }

    .card p {
        font-size: 12px;
        margin: 0 14px 12px;
    }

    .price {
        padding: 12px 14px;
        font-size: 14px;
    }
}