/* ===== Custom Styles for The Boathouse ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F9F3E8;
}
::-webkit-scrollbar-thumb {
  background: #D4AD6A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C0603A;
}

/* Glass card effect */
.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating animation for stat cards */
@keyframes float-1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.animate-float-1 { animation: float-1 4s ease-in-out infinite; }
.animate-float-2 { animation: float-2 5s ease-in-out infinite 0.5s; }
.animate-float-3 { animation: float-3 4.5s ease-in-out infinite 1s; }

/* Nav active state */
.nav-link.active {
  background: #FFE8DC;
  color: #C0603A !important;
}

/* Service card hover glow */
.service-card:hover {
  transform: translateY(-4px);
}

/* Listing card hover */
.listing-card:hover {
  transform: translateY(-6px);
}

/* Testimonial card hover */
.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Fade-in animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeUp 0.8s ease forwards;
}
.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Selection color */
::selection {
  background: #FFD0B8;
  color: #5A291C;
}

/* Mobile menu transitions */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Form select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #C0603A;
  outline-offset: 2px;
}

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