/* White River Cabins - Custom Styles */
/* Tailwind CSS CDN is used for core utilities */

/* Custom Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-10px) translateX(5px);
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.animate-gentle-float {
  animation: gentle-float 6s ease-in-out infinite;
}

.animate-shimmer {
  animation: shimmer 3s linear infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF8F5;
}

::-webkit-scrollbar-thumb {
  background: #C4883C;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A06828;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30, 41, 59, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.open {
  transform: rotate(180deg);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Card hover effects */
.cabin-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cabin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cabin-card img {
  transition: transform 0.5s ease;
}

.cabin-card:hover img {
  transform: scale(1.05);
}

/* Gallery thumbnail hover */
.gallery-thumb {
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-thumb.active {
  outline: 3px solid #C4883C;
  outline-offset: 2px;
}

/* Filter buttons */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: #C4883C;
  color: white;
}

/* Navigation scroll state */
.nav-scrolled {
  background: rgba(250, 248, 245, 0.97) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.1);
}

.nav-scrolled .nav-link {
  color: rgba(30, 41, 59, 0.6) !important;
}

.nav-scrolled .nav-link:hover {
  color: #C4883C !important;
}

.nav-scrolled .nav-logo-text {
  color: #1e293b !important;
}

.nav-scrolled .nav-logo-subtext {
  color: rgba(30, 41, 59, 0.4) !important;
}

.nav-scrolled .hamburger-line {
  background: #1e293b !important;
}

/* Star rating */
.star-filled {
  fill: #D4A830;
}

/* OwnerRez widget container styling */
.ownerrez-widget {
  min-height: 400px;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #C4883C;
  box-shadow: 0 0 0 3px rgba(196, 136, 60, 0.2);
}

/* Button loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin-slow 1s linear infinite;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Attraction category colors */
.category-outdoor {
  background: #2d5a3d;
}

.category-eureka-springs {
  background: #6b4c8a;
}

.category-natural-wonders {
  background: #3d6b9e;
}

.category-entertainment {
  background: #9e5a3d;
}

/* Print styles */
@media print {
  nav, footer, .no-print {
    display: none !important;
  }

  body {
    background: white !important;
  }
}

/* ==========================================================================
   Nav dropdown (Cabins): added for detail-page discoverability
   ========================================================================== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  margin-top: 0.25rem;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: block;
}
.nav-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}
