:root {
  --orange-main: #ea580c;
}

img {
  content-visibility: auto;
}

.hero-gradient {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #0f172a;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block !important;
  animation: fadeInUp 0.5s ease forwards;
}

.tab-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Warna tombol aktif */
.tab-link.active {
  background-color: #ea580c !important; /* orange-600 */
  color: white !important;
  border-color: #ea580c !important;
}

#image-modal {
  z-index: 100;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pastikan tombol tab tetap rapi di layar kecil */
@media (max-width: 640px) {
  .tab-link {
    width: 100%; /* Tombol jadi full width di HP agar mudah di-klik jempol */
    margin-bottom: 0.5rem;
    padding: 1rem !important;
    font-size: 0.875rem;
  }

  /* Perkecil padding section agar konten tidak terlalu sempit */
  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
