/* Lindfields — Premium Dark Luxury Hotel Styles */

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

body {
  background-color: #1a1209;
  color: #e8d5be;
}

::selection {
  background-color: rgba(200, 149, 108, 0.3);
  color: #f5ece0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1209;
}
::-webkit-scrollbar-thumb {
  background: #2c2010;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3d2e18;
}

/* Navbar */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(26, 18, 9, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 149, 108, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
#mobile-menu.open {
  transform: translateX(0);
}

#mobile-menu:not(.open) {
  transform: translateX(100%);
}

/* Menu animation */
.menu-line {
  display: block;
  transition: all 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) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile link hover */
.mobile-link {
  position: relative;
}
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #c8956c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.mobile-link:hover::after {
  width: 100%;
}

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

/* Subtle gold shimmer on hover for links */
a {
  text-decoration: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

.reveal.revealed {
  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; }

/* Only apply reveal if JS is available and user prefers motion */
.js .reveal {
  /* default state is hidden, JS will reveal */
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
