/* Custom styles for Healinglight Laredo */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection color */
::selection {
  background: rgba(212, 154, 50, 0.3);
  color: #faf8f4;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #d49a32;
  outline-offset: 2px;
}

/* Loading state for images */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

img[data-src] {
  opacity: 0;
}

/* Subtle pattern overlay for dark sections */
.bg-pattern-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 154, 50, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Gold glow effect for buttons */
.btn-gold-glow {
  box-shadow: 0 0 20px rgba(212, 154, 50, 0.3), 0 0 40px rgba(212, 154, 50, 0.1);
}

.btn-gold-glow:hover {
  box-shadow: 0 0 30px rgba(212, 154, 50, 0.4), 0 0 60px rgba(212, 154, 50, 0.15);
}

/* Custom select styling */
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='%23d49a32' 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;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(10, 10, 12, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 154, 50, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Reduce motion for accessibility */
@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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
  .hero-gradient {
    background: linear-gradient(135deg, #1a0a06 0%, #2d1510 30%, #1a1a1f 60%, #0a0a0c 100%);
  }
}

/* Large screen optimization */
@media (min-width: 1200px) {
  .font-serif {
    font-size: clamp(1.125rem, 1vw, 1.25rem);
  }
}
