/* Custom styles for Mendez Air */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Navbar scroll effect */
#nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(11, 31, 60, 0.08);
}

/* Mobile menu animations */
#mobile-menu {
  animation: slideDown 0.25s ease-out;
}

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

/* Mobile menu button animation */
.menu-btn-active .menu-line:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn-active .menu-line:nth-child(2) {
  opacity: 0;
}
.menu-btn-active .menu-line:nth-child(3) {
  width: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Service card hover glow */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(52, 212, 168, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card {
  position: relative;
}

/* Geometric decorative elements */
.geo-shape-1 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.geo-shape-2 {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Scroll reveal base — progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: none;
  }
}

/* Selection color */
::selection {
  background: rgba(52, 212, 168, 0.3);
  color: #0b1f3c;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0b1f3c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #162d4a;
}
