/* Custom styles for The Reserve At Stone Hall Pool */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #a83232;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c43f3f;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(61, 16, 16, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

/* Hero image reveal - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal-up.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal-left.revealed {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Force visible for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left {
        opacity: 1;
        transform: none;
    }
}

/* Gallery hover effects */
.gallery-item:hover img {
    transform: scale(1.05);
}

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

/* Input focus states */
input:focus,
textarea:focus {
    border-color: #a83232 !important;
    box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.1) !important;
}

/* Print styles */
@media print {
    nav, #contact-form, #form-success {
        display: none;
    }
    body {
        color: #1c1917;
        background: white;
    }
}
