/* Custom styles for Rainbow Gulch Farm */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0F0C;
}
::-webkit-scrollbar-thumb {
    background: #C9A84C30;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C50;
}

/* Selection color */
::selection {
    background: #C9A84C40;
    color: #FAF9F6;
}

/* Gold shimmer animation for hero text */
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-gold-shimmer {
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

/* Gold line accent */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, transparent);
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(10, 15, 12, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Room card hover glow */
.room-card:hover {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.08);
}

/* Input focus ring */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .room-card:hover {
        transform: none;
    }
    .room-card img {
        transition: none;
    }
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in for scroll sections (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
