/* Custom styles for Sinking Creek Lodge */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #061210;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Room card animations */
.room-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Amenity card animations */
.amenity-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.4s ease, border-color 0.4s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Gold shimmer effect for special elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Gradient text animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-gradient-animated {
    background-size: 200% auto;
    animation: gradient-shift 4s ease infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Pulse glow for CTA elements */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.5); }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .room-card,
    .amenity-card {
        transition: none;
    }
    .text-gradient-animated {
        animation: none;
    }
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
    [style*="animation"] {
        animation: none !important;
    }
}

/* Mobile menu button active state */
#mobile-menu-btn.active {
    background-color: rgba(4, 120, 87, 0.5);
}

/* Navbar glass effect */
.nav-glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #0a1a14 0%, #061210 100%);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: rgba(16, 185, 129, 0.3);
    color: #fefdf8;
}
