/* Custom styles for Studio 51 Salon */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Scroll reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Navbar glass effect when scrolled */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

/* Mobile menu transitions */
#mobileMenu {
  animation: slideDown 0.3s ease-out;
}

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

/* Subtle hover lift on cards */
.card {
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-4px);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #1e3a5f 0%, #2ecc71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #58d689;
}

/* Selection color */
::selection {
  background: rgba(46, 204, 113, 0.2);
  color: #1e3a5f;
}
