/* ============================================================
   PRIME XI — HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---- Slideshow Background ---- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.04);
  animation: none;
}

.hero__slide--active {
  opacity: 1;
  animation: heroKenBurns 8s ease-in-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,24,63,0.88) 0%,
    rgba(7,24,63,0.70) 50%,
    rgba(7,24,63,0.55) 100%
  );
}

/* ---- Content ---- */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-8);
  padding-top: var(--nav-height);
  width: 100%;
}

.hero__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  margin-bottom: var(--space-6);
  opacity: 0;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.hero__headline span { display: block; }

.hero__headline--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-blue-light);
}

.hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  margin-bottom: var(--space-6);
  opacity: 0;
}

.hero__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin-bottom: var(--space-10);
  opacity: 0;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
}

/* ---- Scroll Indicator ---- */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: heroScrollPulse 2s ease-in-out infinite;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

.hero__scroll p {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ---- Slide Dots ---- */
.hero__slide-dots {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 2;
  display: flex;
  gap: var(--space-2);
}

.hero__dot {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition-base), width var(--transition-base);
  border: none;
  padding: 0;
}

.hero__dot.active {
  background: var(--color-white);
  width: 40px;
}

/* ---- Animations ---- */
.animate-fadein         { animation: fadeIn 0.9s ease 0.2s forwards; }
.animate-slidein        { animation: slideIn 1s ease 0.4s forwards; }
.animate-fadein-delay   { animation: fadeIn 0.9s ease 0.7s forwards; }
.animate-fadein-delay2  { animation: fadeIn 0.9s ease 1.0s forwards; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .hero__content { padding: 0 var(--space-4); padding-top: var(--nav-height); }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .hero__slide-dots { bottom: var(--space-4); right: var(--space-4); }
  .hero__headline--accent { -webkit-text-stroke-width: 1.5px; }
}

@media (max-width: 480px) {
  .hero { min-height: 100svh; }
  .hero__tag { margin-bottom: var(--space-4); }
  .hero__desc { font-size: 0.9rem; }
}
