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

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

/* Base */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAV ===== */
#nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #eab308;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s 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.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  border: 2px solid #eab308;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  background: #eab308;
  border-radius: 50%;
  bottom: 20%;
  left: 5%;
  opacity: 0.08;
  animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: #eab308;
  top: 30%;
  right: 10%;
  opacity: 0.06;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid #eab308;
  opacity: 0.07;
  top: 60%;
  left: 8%;
  animation: float 7s ease-in-out infinite;
}

.geo-diamond-1 {
  width: 80px;
  height: 80px;
  background: #facc15;
  top: 25%;
  left: 15%;
  opacity: 0.05;
  transform: rotate(45deg);
  animation: spin 15s linear infinite reverse;
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== ROOM CARDS ===== */
.room-card {
  opacity: 1;
}

.room-card:hover .room-card-img {
  transform: scale(1.05);
}

/* ===== AMENITY CARDS ===== */
.amenity-card {
  opacity: 1;
  transform: translateY(0);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.amenity-card:hover {
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.4);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  opacity: 1;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .geo-shape {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .geo-circle-1 {
    width: 250px;
    height: 250px;
  }
  .geo-circle-2 {
    width: 120px;
    height: 120px;
  }
  .geo-square-1 {
    width: 80px;
    height: 80px;
  }
  .geo-triangle-1 {
    border-left-width: 40px;
    border-right-width: 40px;
    border-bottom-width: 69px;
  }
  .geo-diamond-1 {
    width: 50px;
    height: 50px;
  }
}
