/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
    color: rgba(30, 41, 59, 0.8) !important;
}

.navbar.scrolled .nav-link:hover {
    color: #0d9488 !important;
}

.navbar.scrolled .mobile-menu-btn svg {
    color: #1e293b;
}

/* Hero */
.hero {
    position: relative;
}

.hero-bg {
    will-change: transform;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.hidden {
    animation: slideUp 0.2s ease-in forwards;
}

/* Amenity Cards */
.amenity-card {
    animation: fadeInUp 0.6s ease-out both;
}

.amenity-card:nth-child(1) { animation-delay: 0.1s; }
.amenity-card:nth-child(2) { animation-delay: 0.2s; }
.amenity-card:nth-child(3) { animation-delay: 0.3s; }
.amenity-card:nth-child(4) { animation-delay: 0.4s; }
.amenity-card:nth-child(5) { animation-delay: 0.5s; }
.amenity-card:nth-child(6) { animation-delay: 0.6s; }

/* Site Cards */
.site-card {
    animation: fadeInUp 0.6s ease-out both;
}

.site-card:nth-child(1) { animation-delay: 0.1s; }
.site-card:nth-child(2) { animation-delay: 0.2s; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 500px;
    }
    to {
        opacity: 0;
        max-height: 0;
    }
}

/* Intersection Observer Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu button active state */
.mobile-menu-btn.active svg {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .quick-info {
        margin-top: 0;
    }
}
