/* Custom styles for Rooneys Retreat */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #2c2c2c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4A853;
}

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

/* Reveal animations - progressive enhancement, only active with JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* Gold shimmer on hover for interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle glow effects */
.glow-coral {
    box-shadow: 0 0 40px rgba(255, 107, 74, 0.15);
}
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.15);
}

/* Ensure all text is readable */
.text-gray-400 {
    color: #9ca3af;
}

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

/* Card hover lift */
.group:hover {
    transform: translateY(-2px);
}

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