/* Khads Corner — Website Prototype */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --cream: #F4F1E1;
    --mustard: #FFC300;
    --terracotta: #E84D35;
    --black: #111111;
    --white: #FFFFFF;
    --border: 4px solid var(--black);
    --shadow: 12px 12px 0px var(--black);
    --shadow-hover: 16px 16px 0px var(--black);
    --shadow-active: 4px 4px 0px var(--black);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

/* ── Custom Cursor ── */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    background-color: var(--terracotta);
    border: 2px solid var(--black);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}
.cursor.hovering {
    width: 60px; height: 60px;
    background-color: var(--white);
    mix-blend-mode: normal;
}

/* ── Body & Texture ── */
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--cream);
    color: var(--black);
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: radial-gradient(rgba(0,0,0,0.08) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    z-index: -1;
    pointer-events: none;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    line-height: 1;
}
.outline-text {
    color: transparent;
    -webkit-text-stroke: 3px var(--black);
}

/* ── Color Utility ── */
.text-white { color: var(--white); }
.text-terracotta { color: var(--terracotta); }
.text-cream { color: var(--cream); }
.text-black { color: var(--black); }
.text-center { text-align: center; }
.bg-cream { background-color: var(--cream); }
.bg-mustard { background-color: var(--mustard); }
.bg-terracotta { background-color: var(--terracotta); }
.bg-black { background-color: var(--black); }
.bg-white { background-color: var(--white); }

/* ── Container & Utilities ── */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* ── Brutalist Primitives ── */
.brutal-img {
    width: 100%;
    height: auto;
    border: var(--border);
    box-shadow: var(--shadow);
    display: block;
}
.brutal-card {
    border: var(--border);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    transition: var(--transition);
}
.brutal-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-hover);
}
.btn-brutal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    background-color: var(--mustard);
    border: var(--border);
    box-shadow: 8px 8px 0px var(--black);
    border-radius: 50px;
    transition: var(--transition);
}
.btn-brutal:hover {
    transform: translate(4px, 4px);
    box-shadow: var(--shadow-active);
}

/* ── Loader ── */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.loader-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.loader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--black);
}
.loader-counter {
    /* overridden inline */
}
.loader-text {
    /* overridden inline */
}

/* ── Navigation ── */
.nav-brutal {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(244,241,225,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--black);
}
.nav-logo-img {
    height: 36px;
    display: block;
}
.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border: 2px solid var(--black);
    border-radius: 50px;
    box-shadow: 3px 3px 0px var(--black);
    transition: var(--transition);
    background: var(--white);
}
.nav-links a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px var(--black);
}
.nav-links a.nav-cta {
    background-color: var(--mustard);
}

/* ══════════════════════════════════════
   HERO SECTION — FIXED GRID LAYOUT
   ══════════════════════════════════════ */
.section-hero {
    position: relative;
    padding: 140px 0 80px 0; /* fixed px to avoid vw collision with nav */
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4vw;
    align-items: center;
}
.hero-text-col {
    position: relative;
    z-index: 10;
}
.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    line-height: 1.05;
}
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 1.5rem;
    max-width: 520px;
    line-height: 1.6;
}
.hero-cta-row {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-img-col {
    position: relative;
}
.spin-sticker {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 35%;
    max-width: 140px;
    filter: drop-shadow(6px 6px 0px rgba(0,0,0,0.4));
    animation: spin 25s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ── Marquee ── */
.marquee-brutal {
    padding: 1.2rem 0;
    border-top: var(--border);
    border-bottom: var(--border);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}
.marquee-track {
    display: inline-flex;
    font-family: 'Archivo Black', sans-serif;
    font-size: 2rem;
    animation: marquee 25s linear infinite;
}
.marquee-track span {
    padding: 0 2rem;
}
.marquee-track span::after {
    content: "✦";
    margin-left: 3rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Vibe / Concept Section ── */
.section-vibe {
    padding: 80px 0;
    border-bottom: var(--border);
}
.vibe-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
}
.section-title {
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    margin-bottom: 1.5rem;
}
.vibe-content p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}
.vibe-visual {
    position: relative;
}
.brutal-box {
    position: absolute;
    top: -4%;
    right: -4%;
    width: 100%;
    height: 100%;
    border: var(--border);
    z-index: 0;
}
.vibe-img {
    position: relative;
    z-index: 1;
}

/* ── Menu Section ── */
.section-menu {
    padding: 80px 0;
}
.menu-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 4rem;
}
.menu-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4vw;
    align-items: start;
}
.menu-item-featured {
    position: relative;
    padding-bottom: 0px;
}
.menu-card-overlay {
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 80%;
    border: var(--border);
    box-shadow: var(--shadow);
    padding: 2rem;
    z-index: 10;
}
.menu-item-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.menu-card-overlay h3,
.brutal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}
.menu-card-overlay p,
.brutal-card p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.price-badge {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    padding: 0.4rem 1.4rem;
    border: 3px solid var(--black);
    border-radius: 50px;
    box-shadow: 4px 4px 0px var(--black);
}

/* ── Service Section ── */
.section-service {
    padding: 80px 0;
    border-top: var(--border);
    border-bottom: var(--border);
}
.service-body {
    font-size: 1.3rem;
    font-weight: 500;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.7;
}

/* ── Footer ── */
.footer-brutal {
    padding: 80px 0 40px 0;
}
.footer-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
}
.footer-address {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 2rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.footer-links a {
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.4rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: var(--mustard);
    border-color: var(--mustard);
}
.footer-copy {
    opacity: 0.4;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-grid,
    .vibe-container,
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .menu-card-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: -40px;
    }
    .menu-item-featured {
        padding-bottom: 0;
    }
    .section-hero {
        padding: 120px 0 40px 0;
    }
}
