/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0B1D3A;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0B1D3A; }
::-webkit-scrollbar-thumb { background: #2DD4BF40; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2DD4BF60; }

/* ── Geometric Decorative Shapes ───────────────────────────── */
.geo-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.geo-circle {
  border-radius: 50%;
}
.geo-circle--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, transparent 70%);
  top: -100px; right: -150px;
}
.geo-circle--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(251,113,133,0.06) 0%, transparent 70%);
  bottom: 20%; left: -100px;
}
.geo-tri {
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 60px 104px 60px;
  border-color: transparent transparent rgba(45,212,191,0.07) transparent;
  top: 45%; right: 5%;
  transform: rotate(15deg);
}
.geo-ring {
  width: 200px; height: 200px;
  border: 3px solid rgba(251,191,36,0.1);
  border-radius: 50%;
  top: 30%; left: 8%;
}
.geo-dots {
  background-image: radial-gradient(rgba(45,212,191,0.2) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  width: 120px; height: 120px;
  bottom: 15%; right: 12%;
  opacity: 0.5;
}

/* ── Navigation ─────────────────────────────────────────────── */
#nav-bg.scrolled {
  background: rgba(11,29,58,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #2DD4BF;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #2DD4BF; }

/* ── Mobile Menu ────────────────────────────────────────────── */
#mobile-menu.open {
  transform: translateX(0);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

/* ── Room Cards ─────────────────────────────────────────────── */
.room-card {
  display: flex;
  flex-direction: column;
}

/* ── Amenity Cards ──────────────────────────────────────────── */
.amenity-card {
  transition: all 0.3s ease;
}

/* ── Nearby Items ───────────────────────────────────────────── */
.nearby-item {
  transition: all 0.3s ease;
}

/* ── Contact Items ──────────────────────────────────────────── */
.contact-item {
  transition: all 0.2s ease;
}
.contact-item:hover { transform: translateX(4px); }

/* ── Scroll Reveal (progressive enhancement) ────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s 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; }
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .geo-circle--1 { width: 250px; height: 250px; }
  .geo-circle--2 { width: 180px; height: 180px; }
  .geo-tri { border-width: 0 40px 69px 40px; }
  .geo-ring { width: 120px; height: 120px; }
}
