/* Custom styles for Francisco's Custom Cabinets */

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

/* Service card hover - text color transitions */
.service-card h3 {
  transition: color 0.3s ease;
}

.service-card p {
  transition: color 0.3s ease;
}

/* Process step hover */
.process-step:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}

/* Gallery item hover */
.gallery-item {
  box-shadow: 0 4px 20px rgba(15, 26, 46, 0.08);
  transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 8px 32px rgba(15, 26, 46, 0.15);
}

/* Navbar scroll state */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s 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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.2s ease;
}

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

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

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

::-webkit-scrollbar-track {
  background: #0f1a2e;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #2a3a5c;
}

/* Selection color */
::selection {
  background: rgba(52, 211, 153, 0.2);
  color: #0f1a2e;
}
