/* === CUSTOM STYLES === */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body base */
body {
  overflow-x: hidden;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(45, 23, 57, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Floating stat cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.stat-card {
  animation: float 4s ease-in-out infinite;
}

.stat-card.animate-float-delayed {
  animation: float-delayed 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Amenity cards */
.amenity-card {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

/* Gallery items */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item img {
  transition: transform 0.5s ease;
}

/* Reveal animations (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .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);
  }
}

/* Mobile links */
.mobile-link {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
  padding-left: 8px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
  background: #a045b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #80338e;
}

/* Selection */
::selection {
  background: #a045b8;
  color: white;
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid #a045b8;
  outline-offset: 2px;
}

/* Print */
@media print {
  #navbar, .stat-card, .reveal { display: none; }
  body { color: #000; background: #fff; }
}
