*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #fafaf5;
}
::-webkit-scrollbar-thumb {
  background: #d4c4b0;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6B3A6B;
}

/* Hero animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.hero-eyebrow {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-headline {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtext {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-card {
  animation: fadeInUp 0.6s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 1s; }
.stat-card:nth-child(2) { animation-delay: 1.2s; }
.stat-card:nth-child(3) { animation-delay: 1.4s; }

.animate-float-1 { animation: float1 4s ease-in-out infinite; }
.animate-float-2 { animation: float2 5s ease-in-out infinite; }
.animate-float-3 { animation: float3 4.5s ease-in-out infinite; }

/* Scroll indicator */
.scroll-indicator {
  animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-indicator span {
  animation: fadeInUp 1s ease-out 1.8s both;
}

/* Room cards */
.room-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Navigation */
.nav-link {
  position: relative;
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(250, 250, 245, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(107, 58, 107, 0.08);
}

.navbar-scrolled .nav-link {
  color: #5a5a5a !important;
}

.navbar-scrolled .navbar-logo {
  color: #6B3A6B !important;
}

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

.mobile-link {
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: #6B3A6B;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image hover */
img {
  max-width: 100%;
  height: auto;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #6B3A6B;
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: #6B3A6B;
  color: #fff;
}

/* Form date inputs */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(5) hue-rotate(230deg);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 60px;
  }

  .stat-card {
    display: none;
  }
}
