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

/* Smooth scroll offset for fixed header */
html {
  scroll-padding-top: 80px;
}

/* Header scroll state */
#site-header.scrolled {
  background: rgba(253, 248, 240, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(28, 37, 48, 0.08), 0 4px 20px rgba(28, 37, 48, 0.06);
}

#site-header.scrolled .font-display,
#site-header.scrolled span {
  color: #1C2530 !important;
}

/* Stat card entrance animations */
.stat-card {
  opacity: 0;
  transform: translateY(24px);
  animation: cardEntrance 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Amenity card hover glow */
.amenity-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease, border-color 0.3s ease;
}

.amenity-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.amenity-card:nth-child(1) { transition-delay: 0.05s; }
.amenity-card:nth-child(2) { transition-delay: 0.1s; }
.amenity-card:nth-child(3) { transition-delay: 0.15s; }
.amenity-card:nth-child(4) { transition-delay: 0.2s; }
.amenity-card:nth-child(5) { transition-delay: 0.25s; }
.amenity-card:nth-child(6) { transition-delay: 0.3s; }
.amenity-card:nth-child(7) { transition-delay: 0.35s; }
.amenity-card:nth-child(8) { transition-delay: 0.4s; }

/* Room card hover */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Mobile menu transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

#mobile-menu.open {
  max-height: 400px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
  background: #D4893A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C0603A;
}

/* Selection color */
::selection {
  background: #F4C0AA;
  color: #5A2B1F;
}
