/* Custom styles for La Reina Coatlicue */

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

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

/* Selection color */
::selection {
    background-color: rgba(20, 184, 166, 0.3);
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #060d1f;
}

::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 184, 166, 0.5);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(6, 13, 31, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Animation classes for scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

/* Subtle hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(20, 184, 166, 0.6);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Print styles */
@media print {
    nav,
    #gallery,
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-midnight-950,
    .bg-midnight-900 {
        background: white !important;
    }
    
    .text-white,
    .text-white\/90,
    .text-white\/60,
    .text-white\/40,
    .text-white\/30,
    .text-white\/25 {
        color: black !important;
    }
}
