/* Custom styles for Angels Valley Event Center */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Selection color */
::selection {
  background: #0d9488;
  color: white;
}

/* Header styles */
#header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#header.scrolled .font-serif {
  color: #0f172a;
}

/* Hero animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile menu */
#mobile-menu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* Service card hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Button ripple effect */
button, a {
  -webkit-tap-highlight-color: transparent;
}

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

/* Responsive typography adjustments */
@media (max-width: 640px) {
  .font-serif {
    line-height: 1.15;
  }
}

/* Print styles */
@media print {
  #header, #mobile-menu, .reveal {
    display: none;
  }
}
