/* Custom styles for El Caracol */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #374151 !important;
}

.nav-scrolled .nav-logo {
    color: #111827 !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .group:hover img {
        transform: none;
    }
}

/* Geometric pattern overlay */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(157, 23, 77, 0.05) 0%, transparent 50%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fffbeb;
}

::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #831443;
}
