/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../img/home/hero.png") center/cover no-repeat;
  filter: brightness(1);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 0.5;
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 0 16px;
  margin-top: clamp(200px, 30vh, 300px);
  max-width: 800px;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}

.hero__tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: clamp(-10px, -2vw, -20px);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

/* TENTANG SECTION */
.tentang {
  padding: clamp(48px, 8vw, 64px) 16px;
  background: var(--bg);
}

.tentang__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 5vw, 32px);
  max-width: 1200px;
  margin: 0 auto;
}

.tentang__text {
  flex: 1;
  min-width: 280px;
}

.tentang__title {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.tentang__description {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.tentang__image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.tentang__image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* PROGRAM KERJA SECTION */
.program-kerja {
  padding: clamp(48px, 8vw, 64px) 16px;
  background: var(--bg-light);
}

.program-kerja__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.program-kerja__title {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: clamp(24px, 5vw, 32px);
  line-height: 1.2;
}

.program-kerja__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 32px);
  margin-bottom: clamp(24px, 5vw, 32px);
}

.program-kerja__item {
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: clamp(16px, 3vw, 20px);
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.program-kerja__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-kerja__image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.program-kerja__name {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.program-kerja__theme {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.3;
}

.program-kerja__description {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-muted);
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 56px;
  }

  .hero__content {
    margin-top: clamp(150px, 25vh, 200px);
  }

  .tentang__container {
    flex-direction: column;
    text-align: center;
  }

  .tentang__text {
    order: 2;
  }

  .tentang__image {
    order: 1;
  }

  .program-kerja__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 52px;
    min-height: 80vh;
  }

  .hero__content {
    margin-top: clamp(100px, 20vh, 150px);
    padding: 0 20px;
  }

  .tentang {
    padding: 32px 20px;
  }

  .program-kerja {
    padding: 32px 20px;
  }

  .program-kerja__item {
    padding: 16px;
    border-radius: 8px;
  }

  .program-kerja__image {
    border-radius: 6px;
  }

  .program-kerja__more {
    width: 100%;
    max-width: 300px;
    margin: 24px auto 0;
    text-align: center;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    margin-top: clamp(50px, 15vh, 100px);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .program-kerja__item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .program-kerja__item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
}