/* Custom styles for Lincoln Professional Center */

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

/* Navigation transition */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}

#navbar.scrolled .text-navy-700 {
  color: #334e68 !important;
}

#navbar.scrolled .font-display {
  color: #102a43 !important;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  /* Staggered delays */
  .reveal:nth-child(1) { transition-delay: 0.05s; }
  .reveal:nth-child(2) { transition-delay: 0.12s; }
  .reveal:nth-child(3) { transition-delay: 0.19s; }
  .reveal:nth-child(4) { transition-delay: 0.26s; }
  .reveal:nth-child(5) { transition-delay: 0.33s; }
  .reveal:nth-child(6) { transition-delay: 0.40s; }
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Back to top button */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Input focus styles for dark backgrounds */
input:focus, textarea:focus {
  outline: none;
}

/* Custom selection color */
::selection {
  background: rgba(245, 158, 11, 0.2);
  color: #102a43;
}

/* Ensure hero text is always visible */
#hero h1,
#hero p,
#hero a,
#hero span {
  opacity: 1;
  transform: none;
}

/* Gradient text effect for gold highlights */
.text-gold-gradient {
  background: linear-gradient(135deg, #facc15, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
</style>
