/* ==========================================================================
   PART 1: GLOBAL SETUP, VARIABLES, AND HEADER STYLING
   ========================================================================== */

/* Color Theme & Variables */
:root {
    --color-primary: #D32F2F;      /* Woodfired Crimson */
    --color-secondary: #FFB300;    /* Honey Gold */
    --color-dark: #1E1E24;         /* Charcoal Smoke */
    --color-light: #FDFBF7;        /* Warm Dough Cream */
    --color-text: #333333;         /* Deep Gray Text */
    --color-muted: #666666;        /* Slate Muted Text */
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fa-solid, .fa-brands, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
}

/* Main Layout Containers */
.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

/* Typography Defaults */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

/* Main Navigation Header */
.main-header {
    background-color: rgba(30, 30, 36, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

/* Logo Design */
.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-light);
    line-height: 1;
}

.logo-text-sub {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
}

/* Navigation Links */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--transition-speed);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--color-secondary);
}

/* Mobile Nav Toggle Button (Hamburger) */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-light);
    transition: transform var(--transition-speed);
}
/* ==========================================================================
   PART 2: HERO SECTION AND CORE UI BUTTONS
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Offset for fixed header */
}

/* Tint overlay to ensure text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    color: var(--color-light);
}

.hero-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-light);
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--color-primary);
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Button Component Styles */
.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background var(--transition-speed), transform var(--transition-speed);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}

.btn-secondary:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
    transform: translateY(-2px);
}
/* ==========================================================================
   PART 3: THE STORY & LAYOUT GRID UTILITY
   ========================================================================== */

/* Shared Section Heading Components */
.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.text-accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    margin-bottom: 25px;
}

/* Two-Column Utility Grid */
.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Story Section Elements */
.story-section {
    background-color: #F4EFE6; /* Distinct vintage paper hue */
}

.story-image-wrapper {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.story-img-main {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: block;
}

/* Custom Overlapping Heritage Badge */
.badge-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.badge-year {
    font-size: 0.7rem;
    text-transform: uppercase;
    display: block;
    color: var(--color-secondary);
}

.badge-date {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: bold;
}

/* Story Paragraphs */
.story-paragraph {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.italic-quote {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: 15px;
    margin-top: 25px;
}
/* ==========================================================================
   PART 4: MENU, LOCATIONS, CATERING, AND FOOTER
   ========================================================================== */

/* Menu Layout Styling */
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-description-center {
    font-size: 1.1rem;
    color: var(--color-muted);
}

.menu-section {
    background-image: url(../images/veg.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: right bottom;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-top: 4px solid var(--color-dark);
    position: relative;
    transition: transform var(--transition-speed);
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.menu-card-header img {
    position: relative;
    float: left;
    left: -25px;
    top: -25px;
    width: 75px;
    margin-bottom: 50px;
}

.item-name {
    position: relative;
    left: -75px;
    font-size: 1.3rem;
    font-weight: bold;
}

.item-price {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.item-ingredients {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.menu-tag {
    position: absolute;
    top: -14px;
    right: 20px;
    background-color: var(--color-secondary);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Locations Component */
.locations-section {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.locations-section .section-title {
    color: var(--color-light);
}

.city-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.city-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background var(--transition-speed);
}

.city-tag:hover {
    background-color: var(--color-primary);
}

.location-notice {
    font-size: 0.9rem;
    color: #aaaaaa;
    font-style: italic;
}

/* Catering Layout Elements */
.catering-benefits-list {
    list-style: none;
    margin: 25px 0;
}

.benefit-item {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.benefit-item::before {
    content: "🔥";
    position: absolute;
    left: 0;
}

.catering-action-box {
    background-color: #FFF9C4;
    padding: 20px;
    border-radius: 4px;
    border-left: 5px solid var(--color-secondary);
}

/* Truck Mock Card Frame */
.truck-graphic-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #9e1c1c 100%);
    color: var(--color-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(211, 47, 47, 0.3);
}

.truck-status-badge {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.truck-card-title {
    color: var(--color-light);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Footer Assembly */
.main-footer {
    background-color: #111115;
    color: #888888;
    padding: 40px 0;
    border-top: 1px solid #222228;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--color-light);
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.social-link:hover {
    color: var(--color-secondary);
}
/* ==========================================================================
   PART 5: RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
    /* Structural Shifts */
    .grid-two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .alignment-center {
        display: flex;
        flex-direction: column-reverse; /* Put content above graphic on mobile */
    }

    /* Hero Scaling */
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    /* Navigation Drawer Transforms */
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-speed) ease-in-out;
    }

    /* Active open navigation menu style via JS toggle */
    .nav-menu.is-active {
        max-height: 300px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    /* Story Elements adjustments */
    .story-image-wrapper {
        order: 2;
    }
}