/* Woody's Gold Dollar — Custom Styles */

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

/* Base transitions */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Navigation active state */
#nav.scrolled {
  box-shadow: 0 1px 20px rgba(30, 70, 20, 0.08);
}

/* Room cards */
.room-card {
  transform: translateY(0);
}

.room-card:hover {
  transform: translateY(-4px);
}

/* Amenity cards */
.amenity-card {
  backdrop-filter: blur(8px);
}

/* Testimonial cards */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: rgba(46, 110, 30, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* Mobile menu animations */
.menu-line {
  transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
  width: 6rem;
  margin-left: 0;
}

/* Mobile link hover */
.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2e6e1e;
  transition: width 0.3s ease;
}

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

/* Gold accent line */
.gold-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #d4a832, #e8c45a);
  border-radius: 2px;
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .room-card:hover,
  .amenity-card:hover {
    transform: none;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #56a83e;
  outline-offset: 2px;
  border-radius: 4px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #7fbf6a;
}

/* Selection */
::selection {
  background: #d5e2cc;
  color: #1e4614;
}
