/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; }

::selection { background: rgba(185, 28, 51, 0.4); color: #f4f4f5; }

/* ===== HEADER ===== */
#site-header {
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#site-header.scrolled {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(251, 191, 36, 0.08);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

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

/* ===== HERO SCROLL LINE ===== */
@keyframes scrollLine {
  0% { top: -16px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.animate-scroll-line {
  animation: scrollLine 2s ease-in-out infinite;
}

/* ===== FLOATING CARDS ===== */
@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}
.card-float-1 { animation: float1 4s ease-in-out infinite; }
.card-float-2 { animation: float2 5s ease-in-out infinite 0.5s; }
.card-float-3 { animation: float3 4.5s ease-in-out infinite 1s; }

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(217, 119, 6, 0.06);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== GOLD DIVIDER ===== */
.gold-divider {
  background: linear-gradient(90deg, transparent, #d97706, #f59e0b, #d97706, transparent);
}

/* ===== INPUTS ===== */
input:focus, select:focus, textarea:focus {
  border-color: rgba(217, 119, 6, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1) !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0c0c0e; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #791627, #d97706); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #b82233, #f59e0b); }

/* ===== MOBILE NAV LINKS ===== */
.mobile-nav-link {
  position: relative;
  padding: 0.5rem 0;
}
.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  transition: width 0.3s ease;
}
.mobile-nav-link:hover::after { width: 60%; }
