/* ============================
   CSS VARIABLES & RESET
   ============================ */
:root {
    /* Backgrounds */
    --bg-dark: #1c1c1e;
    --bg-section: #2a2a2e;
    --bg-card: #333338;

    /* Text */
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a5;
    --text-muted: #75757a;

    /* Accent – Kanzy's Red */
    --brand-accent: #E63946;
    --brand-accent-hover: #C62833;
    --brand-accent-glow: rgba(230, 57, 70, 0.25);

    /* Border */
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-main: 'Nunito', sans-serif;

    /* Radii & transitions */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition), transform var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================
   SCROLL ANIMATION SYSTEM
   ============================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 28, 30, 0.4) 0%, rgba(28, 28, 30, 0.2) 50%, rgba(28, 28, 30, 1) 100%);
    z-index: 1;
}

/* ============================
   HEADER / NAV
   ============================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    padding: 1rem 5%;
}

.logo img {
    height: 180px;
    object-fit: contain;
    transition: height var(--transition);
}

header.scrolled .logo img {
    height: 140px;
}

/* Nav Menu */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--brand-accent);
    bottom: 0;
    left: 0;
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hamburger Icon styling */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================
   HERO CONTENT
   ============================ */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    z-index: 5;
}

.text-content {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-large {
    height: 360px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

.text-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.hero-ctas {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-subtle);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 700;
    transition: all var(--transition);
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-primary {
    background: var(--brand-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px var(--brand-accent-glow);
}

.cta-primary:hover {
    background: var(--brand-accent-hover);
    color: #fff;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.4);
    border-color: transparent;
}

/* Social Links Vertical */
.social-links-vertical {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 10;
}

.social-links-vertical a {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    transition: all var(--transition);
    cursor: pointer;
}

.social-links-vertical a:hover {
    background: var(--brand-accent);
    color: #0a0a0a;
    transform: translateY(-2px);
}


.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}



@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
    padding: 7rem 0;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text .section-tag {
    display: block;
    text-align: left;
    margin-bottom: 0.6rem;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: uppercase;
}

.about-text>p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mt-4 {
    margin-top: 2rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-accent);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-number i {
    font-size: 2rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ============================
   REVIEWS SECTION
   ============================ */
.reviews-section {
    padding: 6rem 0;
    background: var(--bg-section);
    overflow: hidden;
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    /* Hide anything outside */
    padding: 2rem 0;
    position: relative;
    /* Optional: add a tiny fade on left/right edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
    width: max-content;
    animation: scrollMarquee 60s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* In JS we will duplicate the cards so we translate exactly half the width */
        transform: translateX(calc(-50% - 1rem));
    }
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-width: 320px;
    max-width: 400px;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), border-color var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.3);
}

.stars {
    color: var(--brand-accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-card blockquote {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.review-card cite {
    display: flex;
    flex-direction: column;
    font-style: normal;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.review-card .author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.review-card .source {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.2rem;
}

/* ============================
   FOOTER
   ============================ */
.footer-section {
    padding: 5rem 0 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-map {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.footer-info-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-section);
    color: var(--text-primary);
    font-size: 1.05rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-subtle);
}

.footer-socials a:hover {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.contact-list li {
    justify-content: flex-start !important;
    gap: 0.6rem;
    align-items: center;
}

.contact-list i {
    color: var(--brand-accent);
    width: 18px;
    text-align: center;
}

.quick-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.quick-links a:hover {
    color: var(--brand-accent);
    padding-left: 5px;
}

/* ============================
   ACCESSIBILITY & INTERACTION
   ============================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 3px;
}

.quick-links a,
.contact-list li {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.footer-agency-logo {
    height: 96px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity var(--transition);
}

.footer-agency-logo:hover {
    opacity: 1;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 2.5rem;
    }

    .about-image img {
        height: 400px;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right var(--transition);
        z-index: 999;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .social-links-vertical {
        display: none;
    }

    .hero-content {
        padding-top: 6rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 300px;
    }

    .footer-info-cols {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center !important;
    }

    .footer-socials {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-icons {
        display: none;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }
}

/* ============================
   MENU CATEGORIES (menu.html)
   ============================ */
.menu-page {
    background-color: var(--bg-dark);
}

.menu-categories-section {
    padding: 8rem 0 5rem;
    min-height: 100vh;
}

.categories-grid {
    display: grid;
    /* Asymmetric/tight grid approach */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    position: relative;
    border-radius: 0;
    /* Brutalist sharp edges */
    overflow: hidden;
    display: block;
    aspect-ratio: 4 / 3;
    border: 3px solid transparent;
    border-image: linear-gradient(to bottom, #009246, #ffffff, #ce2b37) 1;
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.category-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.08);
    /* Intentional zoom */
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    /* Heavy tint to make red pop */
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 60%, rgba(10, 10, 10, 0.2) 100%);
    transition: background 0.4s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 60%, rgba(230, 57, 70, 0.15) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.category-card:hover .category-content {
    transform: translateY(0);
}

.category-content h3 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.category-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.category-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-accent);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.category-card:hover .category-action {
    opacity: 1;
    transform: translateX(0);
}

/* ============================
   CATEGORY DETAIL (category.html)
   ============================ */

.category-page {
    background-color: var(--bg-dark);
}

.category-header-section {
    position: relative;
    padding: 10rem 0 4rem;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Optional: If we want fixed on desktop, we can add it in a media query later, 
       but mobile Safari breaks with fixed + cover */
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(28, 28, 30, 0.3) 100%);
}

.category-title-wrapper {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    transition: transform var(--transition);
}

.back-link:hover {
    color: var(--brand-accent-hover);
    transform: translateX(-5px);
}

#category-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.category-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.menu-items-section {
    padding: 4rem 0 8rem;
}

.category-note {
    background: rgba(230, 57, 70, 0.05);
    border-left: 4px solid var(--brand-accent);
    padding: 1.2rem 1.5rem;
    margin-bottom: 3rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 600;
    color: var(--text-primary);
}

.category-note i {
    color: var(--brand-accent);
    margin-right: 0.5rem;
}

.items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.menu-item-card {
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.item-name {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
}

.item-id {
    color: var(--brand-accent);
}

.item-price {
    font-weight: 800;
    color: var(--brand-accent);
    font-size: 1.25rem;
    white-space: nowrap;
}

.item-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Fix grid responsive */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}