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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1f3f;
}
::-webkit-scrollbar-thumb {
  background: #1e3f73;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a5190;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(200, 150, 12, 0.3);
  color: #f5d67a;
}

/* ===== NAVIGATION ===== */
#site-header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#site-header.scrolled {
  background: rgba(10, 31, 63, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f0be30, #c8960c);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link:hover {
  color: #f0be30 !important;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  display: block;
}

/* ===== HERO ===== */
#hero {
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 18, 38, 0.3) 0%,
    rgba(10, 31, 63, 0.1) 40%,
    rgba(10, 31, 63, 0.4) 100%
  );
  pointer-events: none;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

  .reveal.delay-1 { transition-delay: 0.1s; }
  .reveal.delay-2 { transition-delay: 0.2s; }
  .reveal.delay-3 { transition-delay: 0.3s; }
  .reveal.delay-4 { transition-delay: 0.4s; }
}

/* ===== BUTTON HOVER EFFECTS ===== */
a[href="#menu"]:hover,
a[href="#contact"]:hover {
  transform: translateY(-1px);
}

/* ===== MENU CARDS ===== */
.reveal:hover .group {
  border-color: rgba(200, 150, 12, 0.3) !important;
}

/* ===== FORM ===== */
#contact-form select option {
  background: #0a1f3f;
  color: #dce6f5;
}

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

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
  border-color: rgba(200, 150, 12, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(200, 150, 12, 0.2);
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid #f0be30;
  outline-offset: 2px;
}

/* ===== MOBILE TAP TARGETS ===== */
@media (max-width: 767px) {
  .mobile-link {
    padding: 12px 16px;
  }
}
