/* Custom styles for Mayde Beauty Studio */

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

/* Selection color */
::selection {
  background-color: rgba(20, 184, 166, 0.3);
  color: #f1f5f9;
}

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

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Subtle text shadow for readability */
.font-serif {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Navbar glass effect when scrolled */
nav.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Reduced motion */
@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;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  .img-reveal {
    clip-path: inset(0 0 0 0);
  }
  .accent-line {
    width: 80px;
  }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
  .hero-gradient {
    background: linear-gradient(160deg, #0f172a 0%, #134e4a 50%, #0f172a 100%);
  }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
  .service-card {
    padding: 2rem !important;
  }
}
