/* Custom styles for Red Hill Motel and Cabins */

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

/* Selection color */
::selection {
    background-color: rgba(251, 146, 60, 0.3);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f0a14;
}
::-webkit-scrollbar-thumb {
    background: #251d33;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3d2f4d;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(15, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Geometric pattern overlay */
.hero-pattern {
    background-image: radial-gradient(rgba(251, 146, 60, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Card hover glow effects */
.room-card:hover .card-glow {
    opacity: 1;
}

/* Gradient text utility */
.gradient-text-plum {
    background: linear-gradient(135deg, #f9a8d4, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-amber {
    background: linear-gradient(135deg, #ffdb6e, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

/* Select dropdown styling */
select option {
    background: #1a1225;
    color: #fff;
}
