/* === BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* === HERO GRADIENT === */
.hero-gradient {
  background: linear-gradient(135deg, #061321 0%, #0f2b4c 30%, #1a4a6e 55%, #0b8a74 80%, #34d4b4 100%);
}

/* === HERO PATTERN === */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 40px 40px;
}

/* === FLOAT ANIMATION === */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(2deg); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* === NAVBAR === */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(6, 19, 33, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
#navbar.scrolled .nav-link { color: rgba(255,255,255,0.85); }
#navbar.scrolled .nav-link:hover { color: #34d4b4; }

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

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MOBILE MENU === */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0fdf6; }
::-webkit-scrollbar-thumb { background: #0f2b4c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1a4a6e; }

/* === SELECTION === */
::selection { background: rgba(52, 212, 180, 0.3); color: #0f2b4c; }

/* === FOCUS VISIBLE === */
*:focus-visible { outline: 2px solid #34d4b4; outline-offset: 2px; border-radius: 4px; }

/* === FORM STYLES === */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(52, 212, 180, 0.15);
}

/* === BUTTON RIPPLE EFFECT (optional subtle) === */
button, a { -webkit-tap-highlight-color: transparent; }
