/* Custom CSS Extensions for CO7 Eau de Parfum */

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

/* Custom Selection Colors */
::selection {
  background-color: #C9AA87;
  color: #17110E;
}

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

::-webkit-scrollbar-track {
  background: #17110E;
}

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

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

/* Scroll Reveal Initial States */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Hero Stagger Animation Initial States */
.hero-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-stagger.appeared {
  opacity: 1;
  transform: translateY(0);
}

/* Bottle Hover Depth Effect */
#floating-bottle {
  will-change: transform;
}

/* Subtle Glass Reflection Animations */
@keyframes lightGlow {
  0%, 100% { opacity: 0.15; transform: scale(0.95); }
  50% { opacity: 0.25; transform: scale(1.05); }
}

.animate-glow {
  animation: lightGlow 6s ease-in-out infinite;
}

/* Button Hover State Accent */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Prefers Reduced Motion Accessibility Support */
@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;
  }
  
  .scroll-reveal, .hero-stagger {
    opacity: 1 !important;
    transform: none !important;
  }

  #custom-cursor, #custom-cursor-dot {
    display: none !important;
  }
}