/* ===== Custom Styles for Poinsetta Lodge ===== */

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

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

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

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 83, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 83, 0.5);
}

/* Scroll Indicator Animation */
@keyframes scrollIndicator {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Room Card Hover */
.room-card {
    transition: transform 0.4s ease;
}

.room-card:hover {
    transform: translateY(-4px);
}

/* Amenity Item Hover */
.amenity-item {
    transition: transform 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-4px);
}

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.1);
}

/* Mobile Menu Active State */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open #menu-line-1 {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-open #menu-line-2 {
    opacity: 0;
}

.mobile-menu-open #menu-line-3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
}

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

/* Subtle Glow Effect */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.15);
}

/* Selection Color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #fefce8;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-scroll-indicator,
    .room-card,
    .amenity-item {
        transition: none;
        animation: none;
    }
    
    .room-card:hover,
    .amenity-item:hover {
        transform: none;
    }
}

/* Date Input Styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* Select Styling */
select option {
    background: #1a1a1a;
    color: #e8c57b;
}
