/* ============================================
   Dana Hair & Beauty Studio — Custom Styles
   ============================================ */

/* Base resets & typography refinements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #4a7a4a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: #b8d1b8;
  color: #1f351f;
}

/* Print styles */
@media print {
  nav, .mobile-menu, #contactForm, #successMessage {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .hero-gradient {
    background: #2d4a2d !important;
    animation: none !important;
  }
}

/* Reduced motion — ensure content is visible */
@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .float-1, .float-2, .float-3 {
    animation: none !important;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .service-card {
    border: 2px solid ButtonText;
  }
  .hero-gradient {
    border: 2px solid ButtonText;
  }
}

/* Tablet breakpoint adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-gradient {
    min-height: 90vh;
  }
}

/* Small phone adjustments */
@media (max-width: 374px) {
  .font-serif {
    font-size: 1.125rem;
  }
  #hero h1 {
    font-size: 2.25rem;
  }
}

/* Large desktop refinements */
@media (min-width: 1920px) {
  .max-w-7xl {
    max-width: 80rem;
  }
}
