/* Custom styles for El Tucanazo Bar */

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f5;
}
::-webkit-scrollbar-thumb {
    background: #f9c4cc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f4a0b0;
}

/* Hero underline animation */
@keyframes underline-draw {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Scroll reveal base styles — content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Gallery scroll animation */
@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll-gallery 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(254, 252, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* Smooth focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover glow */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-scroll {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .font-display {
        line-height: 1.15;
    }
}

/* Selection color */
::selection {
    background: #f9c4cc;
    color: #7B2D3B;
}
