/* ============================================
   LAZY ACRES COTTAGE — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #051525;
}
::-webkit-scrollbar-thumb {
  background: #34d4a8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2bc496;
}

/* Selection color */
::selection {
  background: rgba(52, 212, 168, 0.3);
  color: #051525;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid #34d4a8;
  outline-offset: 2px;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(3, 13, 24, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero gradient overlay fallback */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5, 21, 37, 0.7) 0%,
    rgba(5, 21, 37, 0.6) 50%,
    rgba(5, 21, 37, 0.9) 100%
  );
}

/* Button press effect */
.btn-press {
  transition: transform 0.1s ease;
}
.btn-press:active {
  transform: scale(0.97);
}

/* Image lazy-load fade */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* 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;
  }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
  .font-serif {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

/* Print styles */
@media print {
  header, footer, #contact-form, #menu-btn {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  a {
    color: #000;
  }
}
