/* Custom styles — overrides and enhancements beyond Tailwind */

:root {
  --mint: 59, 170, 128;
  --midnight: 14, 17, 40;
}

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

/* Subtle gradient on the hero overlay for extra depth */
#top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,17,40,0.3) 0%, transparent 40%, transparent 70%, rgba(10,17,40,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

#top > .relative {
  z-index: 2;
}

/* Card hover lift */
.group:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* Map section */
section:has(#contact) + section iframe {
  border-radius: 0 0 1rem 1rem;
}

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

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

/* Reduced motion: keep everything visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
  img { transition: none !important; }
  .group:hover { transform: none; }
}
