/* Custom styles for Salon C */

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

/* Floating animation for hero cards */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 4.5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Service card hover */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #34d399);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Fade-in animation for scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Mobile menu transition */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

#mobileMenu.open {
  max-height: 400px;
  padding: 1.5rem;
}

/* Selection color */
::selection {
  background: #d1fae5;
  color: #064e3b;
}
