/* Custom styles for Los Tucumanitos */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0d1e;
}

::-webkit-scrollbar-thumb {
    background: rgba(61, 217, 168, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(61, 217, 168, 0.4);
}

/* Selection color */
::selection {
    background: rgba(61, 217, 168, 0.2);
    color: #f0f4f8;
}

/* Animation keyframes */
@keyframes scroll-down {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.animate-scroll-down {
    animation: scroll-down 1.5s ease-in-out infinite;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state for reveal elements (visible when JS is disabled) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar styles */
#navbar {
    background: rgba(10, 13, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(10, 13, 30, 0.95);
    box-shadow: 0 1px 0 rgba(61, 217, 168, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    animation: fadeIn 0.3s ease-out;
}

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

/* Link hover effects */
a {
    text-decoration: none;
}

/* Button focus styles */
a:focus-visible,
button:focus-visible {
    outline: 1px solid rgba(61, 217, 168, 0.5);
    outline-offset: 2px;
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(135deg, #10142c 0%, #182747 100%);
}

/* Subtle hover lift for cards */
.reveal > div:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease-out;
}

/* Map contrast override */
iframe[title*="Google Maps"] {
    opacity: 0.9;
}

/* Print styles */
@media print {
    #navbar,
    .animate-scroll-down {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
