/* Custom styles for Santa Anna Sunset Lodge */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4b965;
}

/* Selection color */
::selection {
    background: #c9a84c;
    color: #0a1628;
}

/* Reveal animation - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Default state - always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

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

/* Image loading placeholder */
img {
    background-color: #e8e4df;
}

/* Subtle gold accent line on section dividers */
section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c/30, transparent);
    margin-top: 0;
}

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-navy-900, .bg-navy-800 {
        background: #fff !important;
        color: #000 !important;
    }
}
