*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* NAV */
#site-header { background: transparent; }
#site-header.scrolled {
  background: rgba(4, 11, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

/* FLOATING CARDS */
.floating-card {
  animation: float 6s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* SCROLL REVEAL */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@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;
  }
}

/* GALLERY HOVER */
@media (prefers-reduced-motion: no-preference) {
  .group:hover img { transform: scale(1.05); }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #040b18; }
::-webkit-scrollbar-thumb { background: rgba(251,191,36,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(251,191,36,0.5); }

/* SELECTION */
::selection { background: rgba(251,191,36,0.3); color: #fff; }
