/* ── HERO SLIDER ─────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  background: var(--primary);
}

/* ── SLIDES ── */
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease-out), visibility 1.2s;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide.prev   { opacity: 0; visibility: visible; }

.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }

/* Multi-layer overlay for cinematic feel */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,  rgba(8,20,12,0.92) 0%, transparent 45%),
    linear-gradient(to right, rgba(8,20,12,0.7) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(8,20,12,0.3) 0%, transparent 30%);
}

/* ── HERO CONTENT ── */
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(80px, 12vh, 140px);
  z-index: var(--z-raised);
}

.hero-slide-inner {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s 0.4s var(--ease-out), transform 0.9s 0.4s var(--ease-out);
  max-width: 680px;
}
.hero-slide.active .hero-slide-inner { opacity: 1; transform: translateY(0); }

.hero-slide-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-pill);
  background: rgba(201,168,76,0.08);
  margin-bottom: var(--space-lg);
}
.hero-slide-badge i { font-size: 0.55rem; }

.hero-slide-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero-slide-subline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.hero-slide-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ── SLIDE COUNTER ── */
.hero-counter {
  position: absolute; bottom: 2.5rem; right: 3rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-accent); font-size: 0.65rem;
  letter-spacing: 0.15em; color: var(--text-muted);
  z-index: var(--z-raised);
}
.hero-counter-current { font-size: 1.6rem; font-weight: 600; color: var(--accent); line-height: 1; }
.hero-counter-divider { width: 30px; height: 1px; background: rgba(201,168,76,0.3); }

/* ── DOTS ── */
.hero-dots {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: var(--space-sm);
  z-index: var(--z-raised);
}
.hero-dot {
  width: 24px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.22);
  border: none; padding: 0; cursor: pointer;
  transition: background var(--dur-mid), width var(--dur-mid) var(--ease-out);
}
.hero-dot.active { width: 48px; background: var(--accent); }

/* ── NAV ARROWS ── */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-mid);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease-out);
  z-index: var(--z-raised);
  backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
  color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev { left: 2rem; }
.hero-arrow-next { right: 2rem; }

/* ── SCROLL INDICATOR ── */
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: var(--z-raised);
  opacity: 0.5;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll span {
  font-family: var(--font-body); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
}

/* ── QUICK SEARCH BAR ── */
.hero-search {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: var(--z-raised);
}
.hero-search-inner {
  background: rgba(8,20,12,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201,168,76,0.18);
  border-bottom: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: var(--space-md);
  flex-wrap: wrap;
}
.search-field {
  flex: 1; min-width: 140px;
  display: flex; flex-direction: column; gap: 4px;
}
.search-field label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.search-field select,
.search-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--dur-fast);
  width: 100%;
}
.search-field select:focus,
.search-field input:focus { border-color: rgba(201,168,76,0.5); }
.search-field select option { background: #0d2218; color: var(--text-dark); }
.search-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

@media (max-width: 768px) {
  .hero-arrow { display: none; }
  .hero-counter { display: none; }
  .hero-search-inner { border-radius: 0; }
  .search-divider { display: none; }
  .hero-scroll { display: none; }
  .hero-slide-headline { font-size: clamp(2.2rem, 9vw, 3.5rem); }
}
