/* ============================================
   Jumbo Bite — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #FDF8F0;
    color: #1A1412;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* --- Selection --- */
::selection {
    background: #D95222;
    color: #FDF8F0;
}

/* --- NAV --- */
.nav {
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 20, 18, 0.06);
}

.nav.scrolled {
    background: rgba(253, 248, 240, 0.97);
    box-shadow: 0 1px 20px rgba(26, 20, 18, 0.08);
}

.nav-link {
    position: relative;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, #1A1412 0%, #3a0f07 50%, #1A1412 100%);
}

/* Decorative shapes */
.hero-shapes {
    z-index: 0;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 82, 34, 0.25) 0%, transparent 70%);
    top: -80px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(228, 181, 60, 0.15) 0%, transparent 70%);
    bottom: 10%;
    left: -60px;
}

.shape-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(217, 82, 34, 0.12);
    border-radius: 20px;
    top: 20%;
    left: 8%;
    transform: rotate(15deg);
}

.shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(228, 181, 60, 0.1);
    bottom: 25%;
    right: 10%;
    transform: rotate(-20deg);
}

.shape-dots {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(253, 248, 240, 0.2) 2px, transparent 2px);
    background-size: 12px 12px;
    top: 30%;
    right: 25%;
}

/* --- HERO CONTENT --- */
.hero-content {
    animation: fadeInUp 0.8s ease-out both;
}

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

/* --- MENU CARDS --- */
.menu-card {
    transform: translateY(0);
}

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

/* --- GALLERY --- */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- CTA SHAPES --- */
.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape.csa {
    width: 300px;
    height: 300px;
    background: rgba(253, 248, 240, 0.08);
    top: -80px;
    left: -80px;
}

.cta-shape.csb {
    width: 200px;
    height: 200px;
    background: rgba(228, 181, 60, 0.12);
    bottom: -50px;
    right: 10%;
}

.cta-shape.csc {
    width: 100px;
    height: 100px;
    background: rgba(253, 248, 240, 0.06);
    border-radius: 20px;
    top: 20%;
    right: 5%;
    transform: rotate(30deg);
}

/* --- MOBILE MENU --- */
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D95222;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.mobile-link:hover::after {
    width: 60%;
}

/* --- SCROLL REVEAL (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gallery-item:hover img {
        transform: none;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}
