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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
  background: rgba(9, 24, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 154, 42, 0.1);
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
  opacity: 1 !important;
  pointer-events: all !important;
}

.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ===== MENU TABS ===== */
.menu-tab {
  background: transparent;
  color: var(--tw-text-opacity, rgba(255,255,255,0.5));
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
}

.menu-tab:hover {
  color: rgba(255,255,255,0.8);
}

.menu-tab.active {
  background: rgba(212, 154, 42, 0.15);
  color: #d49a2a;
  border-color: rgba(212, 154, 42, 0.4);
}

/* ===== 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);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(30px);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* ===== FORM STYLES ===== */
.contact-form input,
.contact-form textarea {
  background: rgba(13, 34, 58, 0.6);
  border: 1px solid rgba(212, 154, 42, 0.2);
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 154, 42, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 154, 42, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

::-webkit-scrollbar-track {
  background: #09182a;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #25619a;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(212, 154, 42, 0.3);
  color: #fff;
}
</style>
