/* ===== Custom Styles for Kelly Bennett NP ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
  background: #2E2E2E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E8735A;
}

/* Pulse animation for decorative elements */
@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

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

/* Hero entrance animations */
.hero-element {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-element:nth-child(1) { animation-delay: 0.1s; }
.hero-element:nth-child(2) { animation-delay: 0.3s; }
.hero-element:nth-child(3) { animation-delay: 0.5s; }
.hero-element:nth-child(4) { animation-delay: 0.7s; }
.hero-element:nth-child(5) { animation-delay: 0.9s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(13, 13, 13, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer effect on hover */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Mobile menu transitions */
#mobileMenu {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

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

/* Selection color */
::selection {
  background: rgba(232, 115, 90, 0.3);
  color: #fff;
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #E8735A;
  outline-offset: 2px;
}

/* Remove default select arrow and add custom */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-element {
    transform: translateY(20px);
  }
}

/* Print styles */
@media print {
  nav, #contact, .scroll-reveal { display: none; }
  body { background: white; color: black; }
}
