/* ============================================
   Coco's Mangonadas Y Mas — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: #ff6b6b;
    color: #FFF8F0;
}

/* ============================================
   Geometric Hero Shapes
   ============================================ */
.shape-circle-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 59, 59, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: 10%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-rect-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 143, 143, 0.15);
    border-radius: 24px;
    top: 15%;
    left: 5%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 107, 107, 0.08);
    bottom: 20%;
    right: 15%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 3%;
    opacity: 0.3;
    background-image: radial-gradient(circle, rgba(255, 143, 143, 0.6) 2px, transparent 2px);
    background-size: 16px 16px;
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

/* ============================================
   Marquee Animation
   ============================================ */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 24px;
}

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

/* ============================================
   Menu Cards
   ============================================ */
.menu-card {
    position: relative;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

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

/* ============================================
   Gallery Items
   ============================================ */
.gallery-item {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ============================================
   Scroll Reveal Animations
   (progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
    .reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
    .reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
    .reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
}

/* ============================================
   Navbar Scroll State
   ============================================ */
#navbar.scrolled {
    background-color: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(138, 37, 37, 0.1);
}

/* ============================================
   Mobile Menu Transitions
   ============================================ */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open {
    transform: translateX(0);
}

/* ============================================
   Focus Styles
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .shape-triangle {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid rgba(255, 107, 107, 0.08);
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar, .marquee-strip, #vibe {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
