/* ============================================
   HOME PAGE - Hero Slider
   ============================================

   This file contains desktop-first styles for the Hero Slider
   section on the home page, including:
   - Hero slider container and shell
   - Slide content and grid layout
   - Navigation arrows and controls
   - Media and image styles

   Note: Hero slider dots moved to components/sliders.css
   Responsive styles are in responsive/mobile/ directory
   ============================================ */

/* ================= HERO SLIDER ================= */

.hc-hero-slider {
  padding: clamp(32px, 5vw, 56px) 5%;
  /*background: radial-gradient(circle at top left, #111827 0, var(--dark-base) 55%, var(--dark-base) 100%);*/
  color: var(--text-light);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hc-hero-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 32px;
  /*background:
    /*radial-gradient(circle at top left, rgba(148, 163, 253, 0.18), transparent 55%),
    /*radial-gradient(circle at bottom right, rgba(248, 113, 113, 0.18), transparent 50%),
    var(--dark-base);*/
  background: #00072b;
  padding: 26px 24px;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(148, 163, 184, 0.25);
  overflow: hidden;
}

/* viewport + track */

.hc-hero-viewport {
  overflow: hidden;
  border-radius: 26px;
  position: relative;
}

.hc-hero-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hc-hero-track {
    transition: none;
  }
}

.hc-hero-slide {
  flex: 0 0 100%;
  padding: clamp(22px, 3vw, 32px);
  position: relative;
}

.hc-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background:
    linear-gradient(120deg, var(--dark-alt) 0%, var(--brand-blue) 40%, var(--dark-alt) 100%);
  pointer-events: none;
  z-index: 0;
}

.hc-hero-slide.is-active {
  /* slight pop */
  transform: translateZ(0);
}

/* layout inside slide */

.hc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}

.hc-hero-copy {
  max-width: 560px;
}

.hc-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5b4fc;
  /* Note: Keeping specific blue tint for hero eyebrow */
  margin-bottom: 0.75rem;
}

.hc-hero-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--text-light);
}

.hc-hero-lead {
  margin: 0 0 1.3rem;
  color: var(--text-muted);
  /* Note: Keeping specific blue tint for hero lead text */
  font-size: 0.98rem;
  line-height: 1.7;
}

.hc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.hc-hero-tag {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 253, 0.45);
  background: rgba(15, 23, 42, 0.7);
  font-size: 0.8rem;
  color: #e5e7eb;
  white-space: nowrap;
}

/* CTA */

.hc-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hc-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: var(--gradient-orange);
  color: var(--dark-base);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.5);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, background 0.22s ease-out;
}

.hc-hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.6);
  background: var(--gradient-orange-reverse);
}

/* media side */

.hc-hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--dark-base);
  min-height: 260px;
}

.hc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hc-hero-slide.is-active .hc-hero-media img {
  transform: scale(1.04);
}

.hc-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.2), transparent 55%);
}

/* pill over image */

.hc-hero-media-pill {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.8);
  backdrop-filter: blur(12px);
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
}

.hc-hero-media-pill-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hc-hero-media-pill-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-gold);
  /* Note: Using brand-gold for yellow accent, adjust if different needed */
}

/* nav arrows */

.hc-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
  z-index: 4;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out, opacity 0.2s ease-out;
}

.hc-hero-nav--prev { left: 26px; }
.hc-hero-nav--next { right: 26px; }

.hc-hero-nav:hover {
  transform: translateY(-50%) translateY(-1px) scale(1.02);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  border-color: rgba(249, 115, 22, 0.9);
  background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.95));
}

.hc-hero-nav-icon {
  font-size: 1.8rem;
  line-height: 1;
}


/* Note: Hero slider dots moved to components/sliders.css */
/* mobile / tablet tweaks */
