
/*TENTANG SECTION*/

#Logo-hartara {
  width: 150px;
  height: auto;
}

#Logo-sekolah {
  width: 145px;
  height: auto;
}


.beranda{
  background-color: var(--back);
  
}



.beranda-container {
  position: relative;
  background-image: url(../Asset/pemandangan.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  border-radius: 20px;
  width: 30rem;
  height: 25rem;
  overflow: hidden;
}

.beranda-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75); /* white overlay */
  z-index: 1;
}

.beranda-container > * {
  position: relative;
  z-index: 2; /* keep inner content above overlay */
}

.school-container {
  position: relative;
  background-image: url(../Asset/sekolah.jpg);
  background-size: cover;
  background-position: center;
  width: 30rem;
  border-radius: 20px;
  padding: 3rem;
  height: 25rem;
  overflow: hidden;
}

.school-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75); /* white overlay */
  z-index: 1;
}

.school-container > * {
  position: relative;
  z-index: 2; /* keep inner content above overlay */
}


.terus-btn {
  margin-top: 3rem;
  padding: 0.75rem;
  text-decoration: none;
  color: white;
  background-color: var(--primary);
  border-radius: 10px;
  cursor: pointer;

  transition: 0.3s;
}

.terus-btn:hover {
  transform: scale(1.2);
}







.eusi-beranda {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}




/*HASIL PROYEK SECTION*/
.proyek-item {
  background-color: white;
  border-radius: 30px;

  padding: 2rem;
  margin-bottom: 1.5rem;
}

.proyek-item i {
  font-size: 3rem;
  color: var(--primary);;
}

.proyek-btn {
  padding: 0.75rem;
  text-decoration: none;
  background-color: var(--primary);
  color: white;
  border-radius: 15px;
  margin-top: 3rem;

  transition: ease-in-out 0.3s;
  cursor: pointer;
}

.proyek-btn:hover {
  transform: scale(1.3);
  transition: ease-in-out 0.3s;
}


/*VIDEO SECTION*/
/* === VIDEO KARYA SECTION === */
.video-karya {
  background-color: var(--back);
  padding: 4rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-karya h2 {
  color: var(--primary);
  font-family: 'Lora', serif;
  margin-bottom: 2rem;
}

.video-karya .card {
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
}

.video-karya .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.video-karya .card-img-top {
  height: 340px;
  object-fit: cover;
}

.video-karya .card-body {
  padding: 1.5rem;
}

.video-karya .btn {
  background-color: var(--primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.video-karya .btn:hover {
  background-color: var(--info);
  transform: scale(1.05);
}

/* Navigasi carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary);
  border-radius: 50%;
  padding: 1rem;
  background-size: 60%;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 0.9;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}




/**/
/**/
/**/



/* RESPONSIVE */
@media (max-width: 768px) {
  .cta h1 {
    font-size: 2.3rem;
  }
  .cta p {
    font-size: 1.4rem;
  }

  /*Tentang Section*/
  .eusi-beranda {
    flex-direction: column;
  }
  .beranda-container, .school-container {
    width: 20rem;
    margin: 1rem;
  }

  /*Video Karya*/
  .video-karya {
    padding: 2rem 0.5rem;
  }

  .video-karya .card-img-top {
    height: 220px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 0.8rem;
  }
}

