/* ========================================
   FOOD TRUCK — DURANGO
   Custom Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ========================================
   HERO DECORATIVE SHAPES
   ======================================== */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 74, 37, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(227, 184, 74, 0.12) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    border-radius: 50%;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(230, 74, 37, 0.06);
    top: 25%;
    right: 5%;
    border-radius: 16px;
    transform: rotate(15deg);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(227, 184, 74, 0.08);
    top: 40%;
    left: 3%;
    transform: rotate(-20deg);
}

.shape-dots {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 8%;
    background-image: radial-gradient(circle, rgba(230, 74, 37, 0.15) 2px, transparent 2px);
    background-size: 16px 16px;
}

/* ========================================
   FLOATING ANIMATION
   ======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   MARQUEE
   ======================================== */
.marquee-track {
    overflow: hidden;
}

.marquee-content {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Menu button animation */
.menu-line {
    display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 5px;
    margin-left: 0;
    margin-right: auto;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .menu-card {
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }
}

/* ========================================
   NAVBAR SCROLL STATE
   ======================================== */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDF8F0;
}

::-webkit-scrollbar-thumb {
    background: #C4724E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E64A25;
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: rgba(230, 74, 37, 0.2);
    color: #1C1917;
}

/* ========================================
   RESPONSIVE FINE-TUNING
   ======================================== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-square-1,
    .shape-triangle-1,
    .shape-dots {
        display: none;
    }
}
