/* ========================================
   Playtime Educational Center — Custom Styles
   ======================================== */

/* Base reset & typography */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: #10b981;
  color: #fefdf8;
}

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

/* Smooth transitions for interactive elements */
a, button {
  transition: all 0.2s ease;
}

/* Custom select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(254, 253, 248, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(5, 150, 105, 0.1);
}

/* Ensure hero text is always readable */
#hero h1,
#hero p,
#hero .inline-flex {
  position: relative;
  z-index: 10;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Print styles */
@media print {
  #navbar, #mobile-menu, .reveal { display: none !important; }
  body { color: #000; background: #fff; }
}
