/* --- CSS Variables & "Rustic Warmth" Tokens --- */
:root {
    --primary-color: #D34B2B;
    /* Deep Terracotta / Grill Fire */
    --primary-dark: #A03118;
    --accent-color: #F4A261;
    /* Warm Wood/Fire glow */
    --dark-bg: #1A1715;
    /* Charcoal/Ashes */
    --dark-surface: #262220;
    --light-bg: #F7EDDF;
    /* Pale parchment / Off-white */
    --texture-bg: #EFE4D3;
    /* Slightly darker for textured areas */
    --text-dark: #2C2622;
    --text-light: #F7EDDF;
    --text-muted: #958B86;

    /* Typography per Discovery */
    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Lato', 'Open Sans', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-sm {
    max-width: 800px;
}

/* Utilities */
.section-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.section-title em {
    color: var(--primary-color);
    font-style: normal;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: var(--text-light);
}

.text-accent {
    color: var(--accent-color);
}

.text-lg {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
}

.text-sm {
    font-size: 0.9rem;
}

.bg-texture {
    background-color: var(--texture-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
    color: var(--text-light);
}

.section-padding {
    padding: 5rem 0;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* --- BOLD Buttons (Automotive / High Visibility focus) --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 900;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
    border-radius: 4px;
    /* Harder edge, more industrial/rustic than soft pills */
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-massive {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.btn-link {
    background: transparent;
    color: var(--primary-color);
    padding: 0;
    border: none;
    font-weight: 900;
}

.btn-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* --- Header / Navigation (Robust & Solid) --- */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--dark-bg);
    border-bottom: 3px solid var(--primary-color);
    transition: var(--transition-smooth);
    padding: 1rem 0;
    color: #fff;
}

.site-header.scrolled {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-heavy);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: 2px;
}

.brand-logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list a:hover,
.nav-list a.active {
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    transition: var(--transition-fast);
}

/* --- Hero Section (Roadside Impact) --- */
.hero {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    background-image: linear-gradient(180deg, rgba(26, 23, 21, 0.92) 0%, rgba(26, 23, 21, 0.55) 40%, rgba(26, 23, 21, 0.85) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: sepia(25%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 2px solid var(--accent-color);
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px #000;
    line-height: 0.9;
}

.hero-title em {
    color: var(--primary-color);
}

.hero-text {
    font-size: 1.25rem;
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-actions.stacked-mobile {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.arrow-down {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    margin: 10px auto 0;
    position: relative;
    overflow: hidden;
}

.arrow-down::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary-color);
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* --- Rustic Cards (Features) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rustic-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition-fast);
}

.rustic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: sepia(100%) hue-rotate(330deg) saturate(300%);
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-heavy {
    border-radius: 8px;
}

.border-accent {
    border: 4px solid var(--dark-bg);
    padding: 5px;
    background: #fff;
    transform: rotate(-2deg);
    box-shadow: var(--shadow-heavy);
}

/* --- Menu Cards --- */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.dish-card {
    background: var(--light-bg);
    text-align: left;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    overflow: hidden;
}

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

.dish-body {
    padding: 2rem;
    border-top: 5px solid var(--primary-color);
}

.dish-body h4 {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dish-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-dark);
    display: block;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .icon {
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 1.5rem;
}

/* --- Forms & Internal Pages --- */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background-color: var(--dark-bg);
    color: #fff;
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid var(--primary-color);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fff;
    transition: var(--transition-fast);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

label {
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.info-card {
    background: var(--dark-surface);
    color: #fff;
    padding: 3rem;
    border-radius: 4px;
    border-left: 5px solid var(--primary-color);
}

.info-card h3 {
    color: #fff;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--primary-color);
}

/* --- Legal Pages --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--primary-color);
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

/* --- GDPR Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    color: #fff;
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-top h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-top ul {
    list-style: none;
}

.footer-top ul li {
    margin-bottom: 0.8rem;
}

.footer-top a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-top a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

/* Ensure content is visible before JS loads (no-js safety) */
body:not(.js-loaded) .fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Animations --- */
/* Only apply fade-in hiding when JS has loaded (will be restored via appear class) */
.js-loaded .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* --- Responsive Layouts (Mobile Optimizations for Target Audience) --- */
@media (max-width: 992px) {

    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-surface);
        padding: 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
        border-bottom: 3px solid var(--primary-color);
    }

    .main-nav.open {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .btn-massive {
        padding: 1rem 1.5rem;
        max-width: 100%;
        border-radius: 0;
    }

    .hero-actions.stacked-mobile {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}