/* ========================================
   EL BÚNKER MIAMI — Custom Styles
   ======================================== */

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

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

body {
    margin: 0;
}

/* Selection */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #f0fdf4;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #1B3A6E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ========================================
   FLOATING CARDS (Hero)
   ======================================== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-cocktails {
    animation-delay: 0s;
}

.card-coffee {
    animation-delay: -2s;
}

.card-location {
    animation-delay: -4s;
}

.card-hours {
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

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

.animate-marquee {
    animation: marquee 25s linear infinite;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========================================
   MOBILE MENU
   ======================================== */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
}

/* ========================================
   GEOMETRIC DECORATIONS
   ======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* ========================================
   BUTTON HOVER EFFECTS
   ======================================== */
a {
    text-decoration: none;
}

/* ========================================
   IMAGE HOVER
   ======================================== */
img {
    display: block;
    max-width: 100%;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .floating-card {
        animation: none;
    }
    
    .animate-marquee {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   FOCUS STYLES
   ======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #34D399;
    outline-offset: 2px;
    border-radius: 4px;
}
