/* RESET DAN DASAR */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  /* padding-top: 70px;  <-- Hapus atau komentari */
  color: #333;
}


/* NAVBAR */
.navbar {
  background-color: #343a40;
  color: white;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.navbar-brand img {
  margin-right: 10px;
  width: 40px;
  height: 40px;
}

/* Hamburger menu (default: hidden) */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 12px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: #5a2600;
}

.nav-links a.active {
  background-color: #843404;
  box-shadow: 0 0 6px rgba(132, 52, 4, 0.7);
}

/* RESPONSIVE: Hamburger only on small screens */
@media (max-width: 600px) {
  .hamburger {
    display: block;
    font-size: 28px;
    color: white;
    cursor: pointer;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* bawah navbar */
    left: 0;
    width: 100%;
    background-color: #343a40;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    text-align: left;
    border-top: 1px solid #555;
    width: 100%;
  }
}

/* Tambahkan jarak antara navbar dan banner video */
@media (max-width: 600px) {
  .banner {
    margin-top: 60px; /* Sesuaikan jaraknya, bisa 70px jika masih sempit */
  }
}


/* BANNER VIDEO */
.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* SECTION: WELCOME / CONTENT */
.content {
  background-color: white;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.content-section h1 {
  font-size: 2.5rem;
  color: #48c78e;
  margin-bottom: 20px;
  text-align: center;
}


.left-text, .right-text {
  flex: 1;
  line-height: 1.6;
}

.left-text {
  padding-right: 20px;
}

.right-text {
  padding-left: 20px;
}

.left-text h1 {
  margin-bottom: 10px;
  text-align: center; /* Tambahan agar teks tersusun rapi */
}


.right-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333;
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    padding: 20px 15px;
  }
  .left-text, .right-text {
    padding: 0;
  }
  .left-text h1 {
    text-align: center;
    font-size: 1.6rem;
  }
  .right-text p {
    font-size: 1rem;
    text-align: center;
  }
}


/* GOOGLE MAPS */
iframe {
  border: none;
  display: block;
  width: 100%;
  height: 580px;
  margin-top: -4px;
}

/* SECTION: KONTAK */
.kontak {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
}

.kontak h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.kontak p {
  margin-bottom: 40px;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 800px;
  margin: auto;
}

.form-container .left,
.form-container .right {
  flex: 1 1 300px;
}

.kontak input,
.kontak textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: none;
}

.kontak button {
  margin-top: 30px;
  padding: 12px 30px;
  font-size: 1rem;
  background-color: #343a40;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.kontak button:hover {
  background-color: #495057;
}

/* SECTION: DUKUNGAN */
/* === SECTION: DUKUNGAN (LOGO PARTNER) === */
/* === BAGIAN DUKUNGAN LOGO === */
.dukungan {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}

.dukungan h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.logo img {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Responsive tablet */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo img {
    max-width: 130px;
  }
}

/* Responsive HP */
@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    max-width: 120px;
  }
}


/* === FOOTER === */
.footer {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  margin-top: 0;
  border-top: 1px solid #555;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .logo-container img {
    height: 70px;
  }

  .dukungan h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-container {
    flex-direction: column;
    gap: 20px;
  }

  .logo-container img {
    height: 60px;
  }
}

.info-pembuat-container { 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 30px 40px;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  color: #ffffff; /* Tambahkan warna teks default putih */
}

.foto-pembuat {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #00aaff;
  box-shadow: 0 0 15px #00aaff;
  margin-right: 40px;
}

.info-pembuat-box p {
  margin: 12px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff; /* Ubah warna teks jadi putih */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Tambah glow supaya makin jelas */
}

.info-pembuat-box strong {
  color: #ffffff; /* Supaya label juga putih */
}

.info-pembuat-box a {
  color: #00c3ff;
  text-decoration: underline;
  font-weight: 700;
}

.info-pembuat-box a:hover {
  color: #00e5ff;
}

@media (max-width: 768px) {
  .info-pembuat-container {
    flex-direction: column;
    text-align: center;
  }

  .foto-pembuat {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
/* === SECTION: CHECK & RECHECK === */
/* === SECTION: CHECK & RECHECK === */

.check-section {
  padding: 100px 20px 60px 20px;
  background-color: #f7f7f7;
  min-height: 100vh;
}

.check-section h1 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 30px;
  color: #48c78e;
}

/* Kartu Rumah Makan khusus di check-section */
.check-section .card {
  width: 300px;          /* Atur ukuran card */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 15px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.check-section .card-img {
  width: 100%;          /* Lebar penuh */
  height: 200px;        /* Tinggi tetap */
  object-fit: cover;    /* Membuat gambar memenuhi dan terpotong pas */
  display: block;
}

.check-section .card-body {
  padding: 10px;
  text-align: center;
}

.check-section .card-title {
  font-size: 1.2rem;
  margin: 10px 0;
}

.check-section .card-text {
  margin-bottom: 15px;
}

.check-section .btn {
  background-color: #2ecc71;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.check-section .btn:hover {
  background-color: #27ae60;
}

.check-section .card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Filter Dropdown di Check Section */
.check-section .filter-container {
  text-align: center;
  margin-bottom: 30px;
}

.check-section .filter-container label {
  font-weight: bold;
  margin-right: 10px;
}

.check-section .filter-container select {
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
}

/* Responsive Check Section */
@media (max-width: 768px) {
  .check-section .card {
    max-width: 90%;
  }

  .check-section .card-img {
    height: 180px;
  }
}

/* === SECTION: DAFTAR YUK === */

/* Container utama */
.content-section {
  padding: 50px 20px 20px 20px;
  text-align: center;
  background: #fff;
}

.content-section h1 {
  font-size: 2.8rem;
  color: #48c78e;
  margin-bottom: 20px;
}

.requirement-wrapper {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
  padding: 0 20px;
}

.requirement-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.requirement-list {
  font-size: 1rem;
  line-height: 1.8;
  padding-left: 20px;
  color: #333;
}

/* Bagian step sertifikasi */
.step-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.step-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

/* Grid card khusus step section */
.step-section .card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card khusus step section */
.step-section .card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.step-section .card img.card-img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  max-width: none !important;
  margin-bottom: 0 !important;
  display: block;
}

.step-section .card:hover {
  transform: scale(1.05);
}

.step-section .card p {
  font-size: 0.95rem;
  color: #333;
}

/* Responsive Tablet Daftar Yuk */
@media (max-width: 1024px) {
  .step-section .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive Mobile Daftar Yuk */
@media (max-width: 600px) {
  .step-section .card-grid {
    grid-template-columns: 1fr;
  }

  .step-section .card img.card-img {
    max-width: 50px;
  }
}

/* Video container */
.video-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding-bottom: 35%; /* Lebih lebar, lebih pendek vertikalnya */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Style untuk halaman detail rumah makan */

.detail-section {
  max-width: 1000px;
  margin: 100px auto 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.detail-section h1 {
  text-align: center;
  color: #48c78e;
  margin-bottom: 30px;
}

.detail-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.detail-image img {
  width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.detail-info {
  flex: 1;
}

.detail-info h2 {
  margin-top: 0;
  color: #1a237e;
}

.detail-info p {
  font-size: 18px;
  margin: 8px 0;
}

.detail-map {
  margin-top: 20px;
  width: 100%;
  min-height: 300px;
}

.back-button {
  text-align: center;
  margin-top: 30px;
}

.back-button a {
  padding: 12px 25px;
  background-color: #48c78e;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
}

.back-button a:hover {
  background-color: #3ca86f;
}

@media (max-width: 768px) {
  .detail-container {
    flex-direction: column;
    align-items: center;
  }
  .detail-image img {
    width: 100%;
    max-width: 400px;
  }
  .detail-map {
    min-height: 200px;
  }
}
