/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: rgba(4, 120, 87, 0.4);
  color: #F5F0E8;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070E0A;
}
::-webkit-scrollbar-thumb {
  background: #1A3A28;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  backdrop-filter: none;
}

#navbar.scrolled {
  background: rgba(7, 14, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 58, 40, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .menu-line {
  background: #F5F0E8;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ===== HERO FLOATING ORBS ===== */
.floating-orb {
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  animation-delay: 0s;
}

.orb-2 {
  animation-delay: -3s;
  animation-duration: 10s;
}

.orb-3 {
  animation-delay: -5s;
  animation-duration: 7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, -50px) scale(0.95); }
  75% { transform: translate(30px, -20px) scale(1.02); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(0); }
.reveal-left { transform: translateX(0); }
.reveal-right { transform: translateX(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up, .reveal-left, .reveal-right {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .floating-orb { animation: none; }
  .group:hover img { transform: none; }
}

/* ===== FORM STYLES ===== */
select option {
  background: #0D1A13;
  color: #F5F0E8;
}

/* ===== BUTTON HOVER GLOW ===== */
button[type="submit"]:hover,
a:hover {
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .font-display {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}
