/* ========================================
   GISTARU BANTEN - ABOUT SECTION STYLES
   ======================================== */

/* Section Title */
.section-title h2 {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title p {
  font-size: 36px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0;
}

/* --- ROW CONTENT: Texs & Gambar sejajar (side by side) --- */
.row.content {
  display: flex;
  flex-wrap: nowrap;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  align-items: stretch;
  gap: 0; /* No gap by default, kanten */
  background: #fff;
}

/* ========================================
 KOLOM 1: INFO SECTION
 ======================================== */

.gistaru-info {
  background: #ffffff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  min-height: 1px;
  flex: 1 1 48%;
  max-width: 520px;
  box-sizing: border-box;
  /* Menjadikan konten menempel pinggir jika ruang lebih sempit */
}

.info-header {
  margin-bottom: 16px;
}

.header-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  margin-bottom: 12px;
  border-radius: 2px;
}

.info-header h5 {
  font-size: 22px;
  font-weight: 700;
  color: #334155;
  margin: 0;
}

.info-header .text-primary {
  color: #2563eb;
}

.info-description {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  text-align: justify;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* ========================================
 KOLOM 2: GALLERY SECTION
 ======================================== */
.gistaru-gallery {
  background: #f8fafc;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 1px;
  flex: 1 1 52%;
  max-width: 740px;
  position: relative;
  overflow: hidden;
  height: auto;
}

.gallery-overlay-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 360px;
  transition: transform 0.5s ease;
  border-radius: 0;
  display: block;
}

.gallery-overlay-container:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 32px 24px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay-container:hover .gallery-overlay {
  opacity: 1;
}

.overlay-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.overlay-content p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

/* ========================================
 KOLOM 3: STATISTICS SECTION (TIDAK DIPAKAI UTK GISTARU INFO & GAMBAR)
 ======================================== */
.gistaru-stats {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  padding: 50px 40px;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.gistaru-stats::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.stats-header {
  position: relative;
  z-index: 1;
}

.stats-header h4 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.stats-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  margin-bottom: 15px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.stats-footer {
  position: relative;
  z-index: 1;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #2563eb;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-explore:hover {
  background: #f1f5f9;
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
 RESPONSIVE DESIGN
 ======================================== */

@media (max-width: 1199px) {
  .row.content {
    flex-wrap: wrap;
  }
  .gistaru-info {
    max-width: 100%;
    flex-basis: 100%;
    padding: 38px 24px;
  }
  .gistaru-gallery {
    max-width: 100%;
    flex-basis: 100%;
    padding: 0;
    min-height: 320px !important;
  }
  .gallery-overlay-container img {
    max-height: 280px;
  }
}

@media (max-width: 991px) {
  .row.content {
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.09);
    gap: 0;
  }
  .gistaru-info, .gistaru-gallery {
    max-width: 100%;
    flex-basis: 100%;
    min-height: unset;
    padding: 30px 16px;
  }
  .gallery-overlay-container img {
    max-height: 220px;
  }
  .section-title p {
      font-size: 28px;
  }
}

@media (max-width: 768px) {
  .gistaru-info, .gistaru-gallery {
      padding: 24px 8px;
  }

  .section-title p {
      font-size: 22px;
  }
  .gallery-overlay-container img {
    max-height: 160px;
  }
  .overlay-content h3 {
    font-size: 16px;
  }
  .info-header h5 {
    font-size: 18px;
  }
}