/* ============================================
   Fiesta Keys Resort — Custom Styles
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #ffffff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d14;
}
::-webkit-scrollbar-thumb {
    background: #2f2f4d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

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

/* --- Floating Card Animations --- */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float-3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
@keyframes float-4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-card-1 { animation: float-1 6s ease-in-out infinite; }
.hero-card-2 { animation: float-2 5s ease-in-out infinite; animation-delay: 1s; }
.hero-card-3 { animation: float-3 7s ease-in-out infinite; animation-delay: 0.5s; }
.hero-card-4 { animation: float-4 5.5s ease-in-out infinite; animation-delay: 2s; }

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

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

#bar1.open {
    transform: translateY(4px) rotate(45deg);
}
#bar2.open {
    opacity: 0;
}
#bar3.open {
    transform: translateY(-4px) rotate(-45deg);
    width: 24px;
}

/* --- Gold shimmer on hover --- */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer:hover {
    background: linear-gradient(90deg, #c9a84c, #e8d5a3, #c9a84c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* --- Image lazy loading placeholder --- */
img {
    background: linear-gradient(135deg, #1a1a2e 0%, #252540 100%);
}
