/* Custom styles for Beauty Oasis Salon */

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

/* Navbar scroll effect */
#navbar.scrolled {
  background: rgba(26, 32, 44, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Service card hover */
.service-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  border-color: rgba(237, 137, 118, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Gallery hover */
.gallery-item {
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 55, 72, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Testimonial card hover */
.testimonial-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(237, 137, 118, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(237, 137, 118, 0.15);
}

/* Button press effect */
button:active,
a:active {
  transform: scale(0.97);
}

/* 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;
  }

  .reveal.hidden-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }

  .service-card .h-52 {
    height: 200px;
  }

  .gallery-item {
    min-height: 200px;
  }

  .gallery-item img {
    height: 200px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f7f7f8;
}

::-webkit-scrollbar-thumb {
  background: #b0b0be;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #88889a;
}
