body {
  margin: 0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  line-height: 1.6;
}

/* Header Container */
.header-container {
  background-color: #c6e1fa; /* ganti warna background header di sini */
}

/* Logo Kiri dan Kanan */
.logo-kiri,
.logo-kanan {
  height: 50px;
}

/* Menu Navigasi */
/* .nav-menu a {
  color: white; 
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
} */

/* Hover efek menu */
.items:hover {
  color: #00bc00 !important; /* warna saat di-hover */
}

/* Link aktif */


.hero {
  background: url('../images/karangkates.jpg') center/cover no-repeat;
  color: rgb(255, 255, 255);
  padding: 100px 20px;
  text-align: center;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.feature {
  flex: 1 1 250px;
  margin: 20px;
  background: #c6fad0;
  padding: 20px;
  border-radius: 8px;
}

footer {
  background: #000000;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px 0;
}
.gallery {
  text-align: center;
  padding: 40px 20px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-grid img {
  width: 300px;
  height: auto;
  border-radius: 8px;
}
.intro-image {
  text-align: center;
  margin: 40px 0;
}

.intro-image img {
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
}
.gallery {
  text-align: center;
  padding: 40px 20px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-grid img {
  width: 300px;
  height: auto;
  border-radius: 8px;
}
.carousel-inner img {
  height: 500px;
  object-fit: cover;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item p {
  margin: 10px 0;
  font-weight: bold;
  color: #333;
}
.gallery {
  padding: 40px 20px;
  text-align: center;
}

.gallery h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: #c6e1fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item p {
  margin: 10px 0;
  font-weight: bold;
  color: #333;
}
.promo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-item {
  display: block;
  background: #c7a982;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.promo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.promo-item h3, .promo-item p {
  padding: 0 15px;
}

.promo-item h3 {
  margin-top: 10px;
  font-size: 18px;
}

.promo-item p {
  margin-bottom: 15px;
  font-size: 14px;
}
.card ul {
  padding-left: 20px;
  text-align: left;
  margin-top: 5px;
}

.card ul li {
  font-size: 14px;
  line-height: 1.5;
}
.fasilitas-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.fasilitas-box {
  background-color: #ffe9cd;
  border-radius: 12px;
  padding: 20px 30px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.fasilitas-box h3 {
  margin-bottom: 10px;
  color: #000000;
  text-align: center;
}

.fasilitas-box ul {
  padding-left: 20px;
  margin: 0;
}
/* Wadah scroll horizontal */
.blog-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Setiap item blog */
.blog-item {
  min-width: 250px;
  flex: 0 0 auto;
  background-color: #c6e1fa;;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  scroll-snap-align: start;
  text-align: center;
  padding-bottom: 10px;
}

/* Gambar di dalam blog */
.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
 
 .section-title {
  text-align: center;
  margin: 30px auto;
}
.blog-card img {
  width: 100%;         /* Agar gambar menyesuaikan lebar container */
  height: 200px;       /* Atur tinggi tetap agar semua gambar sama */
  object-fit: cover;   /* Potong gambar agar tetap proporsional tanpa merusak layout */
  border-radius: 8px;  /* Opsional: agar gambar punya sudut melengkung */
}
.blog-card {
  width: 250px;
  height: 350px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-scroll-container {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 16px;
  padding: 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  white-space: nowrap;
}

.blog-link {
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.blog-item {
  width: 250px;
  background-color: #c6e1fa;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  color: black;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.blog-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-item h4 {
  margin: 10px 10px 5px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  white-space: normal;
}

.blog-item p {
  margin: 0 10px 10px;
  font-size: 14px;
  color: #222;
  white-space: normal;
}

.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.detail-section {
  padding: 2rem;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.detail-section img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

nav a {
  display: inline-block;
  margin: 1rem;
  text-decoration: none;
  color: #ffffff;
}

.blog-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 1rem;
  scroll-snap-type: x mandatory;
}

.blog-link {
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: start;
  text-decoration: none;
}

.blog-item {
  background-color: hsl(0, 0%, 100%); /* putih */
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  color: black;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.blog-item img {
  width: 100%;
  border-radius: 8px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #ffffff;
  color: #333;
}

/* Tambahkan jika belum ada */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-logo img {
  height: 100px;
}

.nav-bar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-bar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* .nav-bar a.active, .nav-bar a:hover {
  color: #006400;
  border-bottom: 2px solid #006400;
} */

.hero-banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.content-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fefefe;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-container h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.content-container .subheading {
  font-size: 1rem;
  color: #2a8c2a;
  margin-bottom: 30px;
  font-weight: 600;
}

.content-container ul {
  padding-left: 20px;
}

.site-footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.top-header {
  position: relative;
  padding: 10px 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-logo {
  position: absolute;
  left: 30px;
}

.header-logo img {
  height: 80px;
}

.nav-bar-center ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-bar-center a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 5px 0;
}

.nav-bar-center a.active,
.nav-bar-center a:hover {
  border-bottom: 2px solid #006400;
  color: #006400;
}

.about-header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.logo-header {
  height: 50px; /* Sesuaikan tinggi logo agar sejajar dengan teks */
}

.about-header h1 {
  margin: 0;
  font-size: 24px;
  color: #000;
}

/* Saat dihover atau aktif (klik) */
.about-header nav ul li a:hover,
.about-header nav ul li a:active,
.about-header nav ul li a.active {
  color: #006400; /* hijau tua */
  border-bottom: 2px solid #006400;
}

/* Carousel yang lebih tinggi dan penuh */
.carousel-inner {
  width: 100%;
  aspect-ratio: 20 / 20; /* lebih pendek = lebih lebar dan tinggi */
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.carousel-item {
  width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease-in-out;
}

/* Efek zoom saat hover (opsional) */
.carousel-item img:hover {
  transform: scale(1.02);
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.header-logo {
  position: absolute;
  left: 20px;
}

.header-logo img {
  height: 60px; /* Ukuran proporsional */
}

.header-title h1 {
  font-size: 24px;
  margin: 0;
  color: #333;
}

.nav-bar-center {

  text-align: center;
  margin:auto;
}

.nav-bar-center ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-bar-center a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav-bar-center a:hover,
.nav-bar-center a:active,
.nav-bar-center a.active {
  color: #006400;
  border-bottom: 2px solid #006400;
}

.swiper {
  width: 100%;
  padding: 40px 0;
}

.swiper-slide {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  width: 300px;
}

.swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.swiper-slide .card-body {
  padding: 15px;
}

.swiper-pagination {
  margin-top: 10px;
  text-align: center;
}

/* Perbaiki posisi pagination */
.swiper {
  width: 100%;
  padding-bottom: 60px; /* Tambah ruang agar pagination turun */
  position: relative;
}

.swiper-pagination {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

/* Ukuran titik pagination */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ffffff;
  opacity: 1;
  margin: 0 5px !important;
  display: inline-block;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}

.swiper-pagination-bullet {
  display: none;
}

.swiper-pagination-bullet:nth-child(-n+2),
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  display: inline-block;
}

.card-header {
  background-color: #5cd6ff !important; /* warna biru sama seperti header */
  color: #000; /* teks tetap gelap agar terbaca */
  font-weight: bold;
  font-size: 16px;
}

.map-container {
  width: 100%;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.kontak-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.kontak-item img {
  vertical-align: middle;
}

/* .nav-menu a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 10px;
  transition: 0.3s;
  position: relative;
} */

.active {
  color: rgb(3, 79, 255) !important;
  border-bottom: 3px solid rgb(3, 79, 255) !important;
}

footer {
  margin-top: 40px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow: auto;
}

.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

.close:hover {
  color: red;
}

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination a {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 5px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.2s;
}

.pagination a:hover {
  background-color: #ccc;
}

.pagination a.active {
  background-color: #007bff;
  color: white;
}

.footer-matic {
  background-color: #e7e6e6;
  color: #000000;
  font-size: 14px;
  border-top: 1px solid #e6e5e5;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.menu-columns {
  display: flex;
  gap: 40px;
}

.menu-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-columns ul li {
  margin-bottom: 8px;
}

.menu-columns ul li a {
  text-decoration: none;
  color: #000000;
}

.menu-columns ul li a:hover {
  color: #007bff;
  text-decoration: underline;
}

.footer-center {
  text-align: center;
}

.footer-center .alamat {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 130px;
  object-fit: contain;
}

.footer-bottom {
  background-color: #d8d8d8;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #000000;
}

.menu-columns ul li a.active {
  font-weight: bold;
  color: #000000;
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 4px 4px 12px rgba(93, 0, 255, 0.8);
  background: rgba(0, 0, 0, 0.35); /* hitam transparan */
  padding: 20px 50px;
  border-radius: 20px;
  letter-spacing: 2px;
  animation: fadeIn 2s ease-in-out;
}

/* Animasi muncul halus */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  white-space: nowrap; /* ⬅️ Kunci agar tidak patah baris */
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(93, 0, 255, 0.8);
  background-color: rgba(0, 0, 0, 0);
  padding: 20px 50px;
  border-radius: 15px;
}

/* Untuk layar kecil (mobile) */
@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  /* .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  } */

  .carousel-caption-custom {
    font-size: 28px;
    padding: 12px 20px;
  }

  .features {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .feature {
    text-align: center;
  }

  .card {
    width: 90%;
    margin: 10px auto;
  }
}















