/* Custom styles for English Pronto USA */

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  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; }

/* Service card hover */
.service-card {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(250, 248, 244, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(45, 94, 45, 0.08);
}

/* Smooth focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Selection color */
::selection {
  background-color: #2d5e2d;
  color: #faf8f4;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .service-card:hover {
    transform: none;
  }
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure hero images have consistent aspect ratios */
.hero-img-main {
  aspect-ratio: 4/5;
}

.hero-img-secondary {
  aspect-ratio: 16/12;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf8f4;
}
::-webkit-scrollbar-thumb {
  background: #b9d1b9;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8bb88b;
}
