/* Custom styles for Solvibelashes */

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

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

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(253, 242, 248, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(154, 47, 84, 0.1);
}

/* Hero gradient animation */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#hero {
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
  background: #d45585;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b83d6a;
}

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

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

/* Button focus styles */
button:focus-visible,
a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

/* Image hover effect */
.rounded-2xl.overflow-hidden {
  position: relative;
}

.rounded-2xl.overflow-hidden::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(102, 34, 56, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.rounded-2xl.overflow-hidden:hover::after {
  opacity: 1;
}
