/* Custom Styles for Casa do Gordo - Hawaii */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #102a3c;
    border-radius: 5px;
}

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

/* Animation Classes */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reveal on scroll */
.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Staggered delays for children */
.reveal-up:nth-child(1) { transition-delay: 0.1s; }
.reveal-up:nth-child(2) { transition-delay: 0.2s; }
.reveal-up:nth-child(3) { transition-delay: 0.3s; }

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gold Gradient Text Utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus Styles for Accessibility */
input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-left,
    .reveal-right,
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .text-mint-400 {
        color: #98ffeb;
    }
    
    .text-mint-400\/70 {
        color: #98ffeb;
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    nav,
    #menu-btn,
    #mobile-menu,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-midnight-900,
    .bg-midnight-800,
    .bg-midnight-700 {
        background: white !important;
    }
    
    .text-white,
    .text-mint-400,
    .text-gold-400 {
        color: black !important;
    }
}
