/* Custom styles for Adalee Table Rock Lake */

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

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-text {
  color: #ffffff !important;
}

.nav-scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Mobile menu link hover */
.mobile-link:hover {
  padding-left: 0.5rem;
}

/* Gallery hover effects */
.grid .rounded-2xl {
  cursor: pointer;
}

/* Subtle pattern overlay for hero */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(10, 22, 40, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

#hero > .relative {
  z-index: 2;
}

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

::-webkit-scrollbar-track {
  background: #0f2240;
}

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

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

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

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

/* Reveal animations (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .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; }
}

/* Map container responsive */
#location .rounded-2xl {
  position: relative;
  min-height: 450px;
}

@media (max-width: 767px) {
  #location .rounded-2xl {
    min-height: 300px;
  }
}

/* Card hover glow */
.group:hover {
  box-shadow: 0 20px 60px -15px rgba(15, 34, 64, 0.15);
}

/* Gold accent line */
section > div > div:first-child > span {
  position: relative;
}
