/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fefcf3;
}
::-webkit-scrollbar-thumb {
    background: #d1fae5;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6ee7b7;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 252, 243, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(110, 231, 183, 0.15);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.04);
}

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

.mobile-line:first-child {
    transform: translateY(3px) rotate(45deg);
}
.mobile-line:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }

/* Hero stat cards */
.stat-card {
    opacity: 0;
    transform: translateX(20px);
    animation: floatIn 0.6s ease forwards;
}
.stat-card:nth-child(1) { animation-delay: 0.8s; }
.stat-card:nth-child(2) { animation-delay: 1.0s; }
.stat-card:nth-child(3) { animation-delay: 1.2s; }

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Amenity items */
.amenity-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.3s ease;
}
.amenity-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery images */
section img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
    border-color: #6ee7b7 !important;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.15);
}

/* Selection */
::selection {
    background: #d1fae5;
    color: #064e3b;
}

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

/* Mobile responsive */
@media (max-width: 767px) {
    .stat-card {
        display: none;
    }
}
