/* ===== CUSTOM STYLES ===== */

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

/* Base transitions */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(240, 250, 246, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

#navbar.scrolled .nav-link {
  color: #0f2656;
}

#navbar.scrolled .nav-link:hover {
  color: #247d64;
}

#navbar.scrolled .btn-primary {
  background: #0a1628;
  color: #d8f5e8;
}

#navbar.scrolled .btn-primary:hover {
  background: #0f2656;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #0a1628;
  color: #d8f5e8;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  background: #0f2656;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.25);
}

/* Mobile menu */
.mobile-link {
  font-family: 'Playfair Display', serif;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Selection color */
::selection {
  background: #7dd3b4;
  color: #0a1628;
}

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

::-webkit-scrollbar-track {
  background: #f0faf6;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #7dd3b4;
}

/* Select styling */
select option {
  background: #0a1628;
  color: #d8f5e8;
}
