/* =========================================================
   home.css — Hero slider, Pertamina Foundation style
   Full-screen hero with gradient overlays and bottom slide indicators
   ========================================================= */

.hero{
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}

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

.hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active{ opacity: 1; z-index: 1; }

.hero__slide .photo-frame{ width: 100%; height: 100%; }
.hero__slide.is-empty .photo-frame,
.hero__slide .photo-frame.is-empty{ border: none; }
.hero__slide .photo-frame.is-empty{
  align-items: flex-end;
  justify-content: flex-end;
  padding: 26px;
}
.hero__slide .photo-frame.is-empty::after{ text-align: right; color: rgba(255,255,255,.5); }

.hero__slide::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.90) 0%, rgba(0,0,0,.40) 40%, rgba(0,0,0,.30) 100%);
  z-index: 1;
}

.hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 140px;
  padding-top: var(--nav-h);
}

@media (max-width: 768px){
  .hero__content{ padding-bottom: 160px; }
}

.hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--pf-red);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.hero h1{
  color: var(--white);
  font-size: clamp(28px, 5.5vw, 60px);
  max-width: 820px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
.hero h1 em{
  font-style: normal;
  color: var(--pf-red);
}

.hero__desc{
  margin-top: 20px;
  max-width: 580px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__scroll{
  position: absolute;
  bottom: 28px;
  left: 24px;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__scroll::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--pf-red);
}
@media (min-width: 640px){ .hero__scroll{ display: flex; } }

/* ---------- Slider controls — bottom progress bar like PF ---------- */
.hero__controls{
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__dots{ display: flex; gap: 6px; }
.hero__dot{
  width: 0;
  flex: 1;
  height: 3px;
  min-width: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.30);
  border: none;
  padding: 0;
  transition: background .25s var(--ease);
  overflow: hidden;
  position: relative;
}
.hero__dot.is-active{ background: rgba(255,255,255,.30); }
.hero__dot.is-active::after{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pf-blue);
  border-radius: inherit;
  animation: dotProgress 7s linear forwards;
}
@keyframes dotProgress{
  from{ width: 0; }
  to{ width: 100%; }
}

.hero__arrows{ display: none; gap: 10px; }
@media (min-width: 560px){ .hero__arrows{ display: flex; } }
.hero__arrow{
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.hero__arrow:hover{ background: var(--white); border-color: var(--white); color: var(--pf-red); }
.hero__arrow svg{ width: 16px; height: 16px; }
