/*
==================================
    GLOBAL RESET & BASE STYLES
==================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* THE CATCH - Fish & Chips */
    --catch-accent: #0077B6;
    --catch-dark: #005F8E;
    --catch-glow: rgba(0, 119, 182, 0.25);
    --catch-secondary: #FFB703;

    /* GOLDEN DRAGON - Chinese */
    --dragon-accent: #8B0000;
    --dragon-dark: #6B0000;
    --dragon-glow: rgba(139, 0, 0, 0.25);
    --dragon-secondary: #2E7D32;

    /* THE CORNER STORE - Milkbar */
    --milk-accent: #007F7F;
    --milk-dark: #005F5F;
    --milk-glow: rgba(0, 127, 127, 0.25);
    --milk-secondary: #FAF0E6;

    /* NEUTRAL */
    --bg: #FAFAFA;
    --bg-card: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #666666;
    --border: rgba(0, 0, 0, 0.08);

    /* ACTIVE */
    --accent: var(--catch-accent);
    --accent-dark: var(--catch-dark);
    --accent-glow: var(--catch-glow);
    --secondary: var(--catch-secondary);
}

/* BODY CLASSES */
body.food-catch {
    --accent: var(--catch-accent);
    --accent-dark: var(--catch-dark);
    --accent-glow: var(--catch-glow);
    --secondary: var(--catch-secondary);
}

body.food-dragon {
    --accent: var(--dragon-accent);
    --accent-dark: var(--dragon-dark);
    --accent-glow: var(--dragon-glow);
    --secondary: var(--dragon-secondary);
}

body.food-milk {
    --accent: var(--milk-accent);
    --accent-dark: var(--milk-dark);
    --accent-glow: var(--milk-glow);
    --secondary: var(--milk-secondary);
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    letter-spacing: -0.3px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/*
======================
    PAGE HERO
======================
*/
.food-page-hero {
    padding: 100px 40px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #F9F9F9;
}

.food-page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 14px;
    margin-top: 10px;
}

.food-page-hero > p {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.food-tab-switcher {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.food-tab {
    padding: 10px 22px;
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: #FFF;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

.food-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.food-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFF;
}

/*
===============
    BUTTONS
================
*/
.food-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: #FFF;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.food-btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.food-btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #FFF;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.food-btn-outline:hover {
    border-color: #FFF;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/*
=======================
    SECTION HEADERS
=======================
*/
.food-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.food-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.food-section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
}

/*
====================
    HERO SECTION
====================
*/
.food-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.food-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/img/fish-hero.png');
    transition: opacity 0.5s ease;
}

.food-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.food-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 80px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.food-hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 16px;
    display: block;
    transition: color 0.4s ease;
}

.food-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #FFF;
    line-height: 1.15;
    margin-bottom: 20px;
}

.food-hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.food-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/*
=====================
    ARROW BUTTONS
=====================
*/
.food-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFF;
    transition: all 0.25s ease;
}

.food-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.05);
}

.food-arrow-prev { left: 24px; }
.food-arrow-next { right: 24px; }

/*
=======================
    FOOD INDICATORS
=======================
*/
.food-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.food-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.food-indicator.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
}

/*
======================
    FEATURED ITEMS
======================
*/
.food-featured {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.food-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.food-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--accent-glow);
    border-color: var(--accent);
}

.food-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover img {
    transform: scale(1.06);
}

.food-card-info {
    padding: 16px;
}

.food-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.food-card-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.food-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.4s ease;
}

/*
==============
    WHY US
==============
*/
.food-why {
    padding: 100px 40px;
    background: #F5F5F5;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.food-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.food-why-item {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.food-why-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.food-why-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 14px;
}

.food-why-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.food-why-item p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/*
==================
    DEMO STRIP
==================
*/
.food-demo-strip {
    padding: 60px 40px;
    background: var(--accent);
    text-align: center;
    transition: background 0.4s ease;
}

.food-demo-inner {
    max-width: 700px;
    margin: 0 auto;
}

.food-demo-inner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.food-demo-inner strong {
    color: #FFF;
}

/*
===================
    BACK TO TOP
===================
*/
#backToTopFood {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.2s ease, background 0.4s ease;
    z-index: 999;
    color: #FFF;
}

#backToTopFood:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

#backToTopFood.show {
    opacity: 1;
    visibility: visible;
}


/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .food-hero-content {
        padding: 0 56px;
    }

    .food-hero-title {
        font-size: 2rem;
    }

    .food-hero-sub {
        font-size: 0.95rem;
    }

    .food-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .food-arrow {
        width: 38px;
        height: 38px;
    }

    .food-arrow-prev { left: 10px; }
    .food-arrow-next { right: 10px; }

    .food-featured {
        padding: 60px 16px;
    }

    .food-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .food-card img {
        height: 150px;
    }

    .food-why {
        padding: 60px 16px;
    }

    .food-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .food-demo-strip {
        padding: 48px 16px;
    }

    .food-section-header h2 {
        font-size: 1.7rem;
    }
}

/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 768px) {
    .food-hero-content {
        padding: 0 64px;
    }

    .food-hero-title {
        font-size: 2.6rem;
    }

    .food-featured {
        padding: 70px 24px;
    }

    .food-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .food-why {
        padding: 70px 24px;
    }

    .food-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .food-demo-strip {
        padding: 56px 24px;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .food-featured {
        padding: 80px 30px;
    }

    .food-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .food-why {
        padding: 80px 30px;
    }

    .food-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}