/* ============================================
   TACO SUR WPB OFICIAL — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   GEOMETRIC BACKGROUND SHAPES (Hero)
   ============================================ */
.geo-shape {
    position: absolute;
    opacity: 0.6;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 115, 74, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 122, 74, 0.2) 0%, transparent 70%);
    bottom: 100px;
    left: 20%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(232, 115, 74, 0.08);
    top: 30%;
    right: 45%;
    transform: rotate(15deg);
    animation: spin-slow 25s linear infinite;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(79, 122, 74, 0.15);
    top: 20%;
    right: 40%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect-2 {
    width: 60px;
    height: 60px;
    background: rgba(232, 115, 74, 0.1);
    bottom: 25%;
    right: 50%;
    transform: rotate(30deg);
    animation: spin-slow 30s linear infinite reverse;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(250, 250, 245, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 15%;
    left: 5%;
    animation: float-slow 22s ease-in-out infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-badge {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge span:first-child {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

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

.scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-track {
    animation: marquee 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(31, 50, 30, 0.08);
    padding: 0;
}

#navbar.scrolled .nav-logo-text {
    color: #1f321e;
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobileMenu {
    padding: 2rem;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.close {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   MENU CARDS
   ============================================ */
.menu-card {
    cursor: pointer;
}

/* ============================================
   SCROLL REVEAL (Progressive Enhancement)
   Gated behind prefers-reduced-motion so
   content is visible without JS.
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal[data-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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ============================================
   FORM STYLES
   ============================================ */
#contactForm input,
#contactForm textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #E8734A;
    box-shadow: 0 0 0 4px rgba(232, 115, 74, 0.1);
}

/* ============================================
   UTILITY
   ============================================ */
::selection {
    background: rgba(232, 115, 74, 0.2);
    color: #1f321e;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-rect-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-dots {
        width: 100px;
        height: 100px;
    }
}
