/* Shorts Section - Side by Side */
.shorts-section {
  margin-top: 60px;
  text-align: center;
}
.shorts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.shorts-item {
  width: 100%;
  max-width: 360px; /* ukuran maksimal agar tidak terlalu besar */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.shorts-item:hover {
  transform: translateY(-8px);
}
.shorts-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* rasio vertikal Shorts */
  background: #111;
}
.shorts-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Caption tetap seperti galeri */
.shorts-item .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 12px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.shorts-item:hover .caption {
  opacity: 1;
}
/* Responsif mobile */
@media (max-width: 768px) {
  .shorts-container {
    grid-template-columns: 1fr;
  }
  .shorts-item {
    max-width: 100%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #f8f9fb;
  color: #333;
  transition: background 0.4s, color 0.4s;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  z-index: 100;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #0073e6;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: #0073e6;
}
#themeToggle {
  cursor: pointer;
  color: #666;
  transition: transform 0.3s;
}
#themeToggle:hover {
  transform: rotate(20deg);
}
.hero {
  height: 100vh;
  background: url('https://img.freepik.com/free-photo/low-angle-view-skyscrapers_1359-1105.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: white;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-content span {
  color: #4fc3f7;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.primary {
  background: #0073e6;
  color: white;
}
.primary:hover {
  background: #005bb5;
}
.secondary {
  border: 2px solid white;
  color: white;
  margin-left: 10px;
}
.secondary:hover {
  background: white;
  color: #0073e6;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}
.delay {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.produk-page {
  padding: 120px 50px;
  text-align: center;
}
.produk-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.produk-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 200px;
  transition: transform 0.3s;
}
.produk-card:hover {
  transform: translateY(-5px);
}
.footer {
  background: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
}
/* ===== INFO SECTION ===== */
.info-section {
  padding: 100px 50px;
  background: #f8f9fb;
  display: flex;
  justify-content: center;
}

.info-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  flex-wrap: wrap;
}

.info-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.info-image img:hover {
  transform: scale(1.03);
}

.info-text {
  flex: 1;
  min-width: 300px;
}

.info-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0073e6;
}

.info-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.info-buttons {
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    text-align: center;
  }

  .info-image img {
    max-width: 100%;
  }

  .info-buttons {
    justify-content: center;
  }
}

/* === HERO SLIDER === */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
  text-align: center;
}

.slider-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 12px;
  max-width: 700px;
  margin: auto;
}

/* === INFO SECTION === */
.info-section {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.info-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.info-section p {
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.program-list {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
  list-style: none;
}

.program-list li {
  font-size: 1.1rem;
  margin: 8px 0;
}

/* === TESTIMONI === */
.testimoni-section {
  background: #fff;
  text-align: center;
  padding: 80px 20px;
}

.testimoni-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.testimoni-card {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimoni-card p {
  font-style: italic;
  color: #333;
}

/* === MAPS === */
.maps-section {
  text-align: center;
  background: #f9fafb;
  padding: 60px 20px;
}

.maps-container {
  max-width: 800px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-text {
    padding: 20px;
    font-size: 0.9rem;
  }
  .testimoni-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

a {
  text-decoration: none;
}
/* DESKRIPSI UTAMA DI TENGAH */
.intro {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 60px 20px;
}

.intro .info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro .info-text.center {
  text-align: center;
}

.intro .info-text.center h2 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 20px;
}

.intro .info-text.center p {
  color: #555;
  line-height: 1.8;
  text-align: justify;
}
