/* BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; overflow-x: hidden; }

/* NAV */
#nav { transition: background 0.4s, box-shadow 0.4s, padding 0.4s; }
#nav.scrolled {
    background: rgba(4, 13, 31, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0;
}
#nav .mx-auto { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* MOBILE MENU */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { transition: transform 0.2s, opacity 0.2s; }
.mobile-link:hover { transform: scale(1.05); }

/* HERO */
.hero-gradient {
    background: linear-gradient(135deg, #040d1f 0%, #0a1f4d 40%, #0e2a66 70%, #071433 100%);
}

.hero-shapes { perspective: 800px; }

.geo-shape {
    position: absolute;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-1 {
    width: 500px; height: 500px;
    border-radius: 50%;
    background: #14b888;
    top: -100px; right: -100px;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: #5fe8be;
    bottom: 10%; left: -50px;
    animation-delay: -3s;
}

.geo-rect-1 {
    width: 200px; height: 200px;
    background: #ccfbef;
    top: 20%; left: 10%;
    transform: rotate(45deg);
    animation-delay: -1s;
}

.geo-triangle {
    width: 0; height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #2dd4a0;
    bottom: 15%; right: 8%;
    animation-delay: -5s;
}

.geo-dots {
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, #5fe8be 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 30%; right: 20%;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

/* AMENITY CARDS */
.amenity-card {
    transform: translateY(0);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.amenity-card:hover {
    transform: translateY(-4px);
}

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    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; }

/* GALLERY HOVER */
.rounded-3xl.overflow-hidden img {
    display: block;
}

/* FORM FOCUS */
input:focus, textarea:focus {
    outline: none;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #040d1f; }
::-webkit-scrollbar-thumb { background: #0e2a66; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #14b888; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .geo-circle-1 { width: 300px; height: 300px; }
    .geo-circle-2 { width: 180px; height: 180px; }
    .geo-rect-1 { width: 120px; height: 120px; }
    .geo-triangle { border-left-width: 80px; border-right-width: 80px; border-bottom-width: 139px; }
}
