/* Custom styles for Stanley Lodge */

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAFAF5;
}
::-webkit-scrollbar-thumb {
  background: #c7dcb9;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9dbe8c;
}

/* Selection color */
::selection {
  background: #c7dcb9;
  color: #22371f;
}

/* Mobile toggle animation */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  width: 1.5rem;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar transition */
#navbar {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 5rem;
}

/* Subtle hover lift for cards */
.reveal {
  will-change: transform, opacity;
}

/* Image lazy-load fade */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

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

/* Print styles */
@media print {
  #navbar, .reveal, .cta-bg, .hero-bg { display: none; }
  body { color: #000; background: #fff; }
}
