/* Custom styles for Hotel Barbour */

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

/* Hero animations */
.hero-headline {
  animation: heroFadeUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  animation: heroFadeUp 1s ease-out 0.1s both;
}

.hero-desc {
  animation: heroFadeUp 1s ease-out 0.5s both;
}

.hero-ctas {
  animation: heroFadeUp 1s ease-out 0.7s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Room card hover */
.room-card {
  transform: translateY(0);
}

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

/* Navbar transition */
#navbar.scrolled {
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Scroll indicator pulse */
.scroll-indicator svg {
  animation: bounce 2s infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-headline,
  .hero-subtitle,
  .hero-desc,
  .hero-ctas {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal {
    transition: none;
  }
  .scroll-indicator svg {
    animation: none;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1f1f27;
}
::-webkit-scrollbar-thumb {
  background: #42424d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #575764;
}

/* Selection color */
::selection {
  background: rgba(255, 96, 46, 0.2);
  color: #1f1f27;
}
