/* Custom styles for Cecilia Beauty Social */

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

/* Mobile menu animations */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu .mobile-link {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Hamburger animation */
#menuBtn.active #bar1 {
  transform: translateY(4px) rotate(45deg);
}

#menuBtn.active #bar2 {
  opacity: 0;
}

#menuBtn.active #bar3 {
  transform: translateY(-4px) rotate(-45deg);
  width: 1.25rem;
}

/* Gold accent line animation */
.gold-line {
  position: relative;
  display: inline-block;
}

.gold-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #C9A84C, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.gold-line:hover::after {
  transform: scaleX(1);
}

/* Image hover effects */
img {
  transition: transform 0.6s ease;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #C9A84C !important;
  box-shadow: 0 0 0 1px #C9A84C;
}

/* Selection color */
::selection {
  background: #C9A84C;
  color: #0A1628;
}

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

::-webkit-scrollbar-track {
  background: #0A1628;
}

::-webkit-scrollbar-thumb {
  background: #C9A84C;
  border-radius: 3px;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  header, footer, .reveal {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}
