/* Custom styles for Country Inn S */

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

/* Subtle fade-in for sections below the fold (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating card animation */
@media (prefers-reduced-motion: no-preference) {
  .float-slow {
    animation: float-slow 6s ease-in-out infinite;
  }
  .float-medium {
    animation: float-medium 4.5s ease-in-out infinite;
  }
  .float-fast {
    animation: float-fast 3.5s ease-in-out infinite;
  }
}

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

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

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

/* Navbar scroll state */
.nav-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
