/* Custom Styles for Bryant's Group Day Care */

/* Smooth scroll offset for fixed header */
section[id] {
  scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
  background: #d4ce9e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5be85;
}

/* Selection color */
::selection {
  background: #f3c4b4;
  color: #30160e;
}

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

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

/* Subtle pattern overlay for cream sections */
.bg-cream-50::before,
.bg-cream-100::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(184, 92, 56, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Nav active state */
.nav-link-active {
  color: #B85C38;
}

/* Print styles */
@media print {
  header, footer, #contact-form, button {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
