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

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

body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(255, 107, 87, 0.3);
  color: #ffffff;
}

/* ─── Geometric Shapes ─── */
.geo-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.geo-circle-1 {
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 87, 0.08) 0%, transparent 70%);
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  bottom: 5%;
  left: -8%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 87, 0.05) 0%, transparent 70%);
  animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-square-1 {
  top: 20%;
  left: 55%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 107, 87, 0.15);
  transform: rotate(45deg);
  animation: spin-slow 30s linear infinite;
}

.geo-triangle {
  top: 60%;
  right: 10%;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255, 107, 87, 0.06);
  animation: float-slow 15s ease-in-out infinite;
}

.geo-dots {
  top: 40%;
  left: 48%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(255, 107, 87, 0.2) 1px, transparent 1px);
  background-size: 16px 16px;
  animation: float-slow 18s ease-in-out infinite reverse;
}

/* ─── Animations ─── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

@keyframes scroll-dot {
  0% { top: -16px; opacity: 1; }
  100% { top: 32px; opacity: 0; }
}

.scroll-dot {
  animation: scroll-dot 1.5s ease-in-out infinite;
}

/* ─── Navbar ─── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0;
}

#navbar.scrolled .menu-line {
  background: #ffffff;
}

/* ─── Mobile Menu ─── */
.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ─── Menu Toggle ─── */
.menu-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}
#menu-toggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 24px;
  margin: 0;
  background: #ffffff;
}

/* ─── Amenity Cards ─── */
.amenity-card {
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.amenity-card:hover {
  transform: translateY(-4px);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.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; }

/* ─── Form Focus Styles ─── */
input:focus, textarea:focus {
  outline: none;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .geo-circle-1 {
    width: 250px;
    height: 250px;
  }
  .geo-circle-2 {
    width: 200px;
    height: 200px;
  }
  .geo-square-1 {
    width: 50px;
    height: 50px;
  }
  .geo-triangle {
    display: none;
  }
  .geo-dots {
    width: 80px;
    height: 80px;
  }
}
