/* ==============================================================
   index.css | HANYA UNTUK STYLING KHUSUS HALAMAN BERANDA
   ============================================================== */
/* --- FIX FINAL: Memastikan Kontainer Link Menang --- */
.nav-inner {
    position: relative; /* Wajib untuk z-index bekerja */
    z-index: 999999 !important; /* <-- Nilai tertinggi untuk memenangkan konflik global */
}
/* ------------------------------------------------------------------------------------- */

/* --- Kurikulum & Jenjang Section Background (dari profil.php) --- */

.kur {
  position: relative; 
  background: url("../img/bg1.png") no-repeat center center fixed;
  background-size: cover;
}

.kur::before {
  content: "";
  position: absolute;
  inset: 0; 
  background: rgba(255, 255, 255, 0.815); 
  z-index: 0;
}

.kur > * {
  position: relative;
  z-index: 1; 
}


.jen {
  background: rgb(231, 231, 231); 
}

/* --- Hero Slider Styles --- */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1; 
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0; 
  animation: zoomInOut 20s ease-in-out infinite;
  transform-origin: center center;
}

.slide:nth-child(odd) .slide-bg {
  animation: zoomInOut 20s ease-in-out infinite;
}

.slide:nth-child(even) .slide-bg {
  animation: zoomOutIn 20s ease-in-out infinite;
}

@keyframes zoomInOut {
  0%   { transform: scale(1); }
  100% { transform: scale(1.15); }
}

@keyframes zoomOutIn {
  0%   { transform: scale(1.15); }
  100% { transform: scale(1); }
}


.content {
  position: relative;
  color: white;
  max-width: 800px;
  z-index: 2;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  pointer-events: none; 
}


.content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.content p {
  font-size: 1.7rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.container p.lead{
  color: #2e7d32;
}

/* --- Responsif Khusus Mobile --- */
@media (max-width: 768px) {
  /* ... (mobile styles, keep) ... */
  .hero-slider {
    height: 60vh; 
    max-height: 450px;
  }
  
  .content p {
      font-size: 1.4rem;
  }
  
  .content h1{
      font-size: 2.5rem;
  }
  
  .slide-bg {
    animation: none !important; 
    transform: scale(1) !important; 
  }
  
  /* Hapus placeholder CSS jika Anda menggunakannya */
}

/* --- Misc & Legacy Styles --- */
h2.jenjang{
  color: #2e7d32;
}