/* Custom styles for Phi Boarding House */

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

/* Reveal animations — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* Fallback: if JS is disabled, all content is visible */
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1;
  transform: none;
}

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
  background: #c21e51;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a11540;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #a11540;
  outline-offset: 2px;
}

/* Input focus styles */
input:focus-visible,
textarea:focus-visible {
  outline: none;
}
