/* Gulf Crest #7 — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e6;
}
::-webkit-scrollbar-thumb {
    background: #7b2d8e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #632272;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(250, 248, 244, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

.nav-scrolled .nav-link-text {
    color: #3e1648 !important;
}

.nav-scrolled .nav-subtext {
    color: #b8860f !important;
}

/* Hero section - ensure text contrast */
#hero {
    background-color: #1a0a20;
}

/* Animation for floating cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Scroll reveal base state (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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Amenity card hover glow */
.amenity-card:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.15);
}

/* Subtle pattern overlay */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(123, 45, 142, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}
