/* === Custom Styles for Taylor and Company === */

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

/* Navbar transition */
#navbar.scrolled {
  background: rgba(249, 240, 246, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(107, 47, 91, 0.1);
}

#navbar.scrolled .nav-logo-text {
  color: #2D1124;
}

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

/* Scroll reveal base - content always visible */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only animate on preference for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

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

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

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

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

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

/* Selection color */
::selection {
  background: #E8BDD4;
  color: #2D1124;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(168, 75, 128, 0.15);
}

/* Image aspect ratio fallback */
img {
  max-width: 100%;
  height: auto;
}

/* Print styles */
@media print {
  #navbar, .scroll-reveal { opacity: 1 !important; transform: none !important; }
  .animate-float { animation: none; }
}
