/* ========== RESET & DASAR ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: #f3f3f3;
  font-size: 0.85rem;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  color: #666;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.4rem;
  color: #0066cc;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #0066cc;
}

.btn-primary {
  background: #0066cc;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  background: #e6f0ff;
  color: #0066cc;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
}

/* ========== HERO SECTION ========== */
.hero {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 20px;
  text-align: left;
}

.hero-text {
  max-width: 600px;
  margin: auto;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* ========== FEATURES SECTION ========== */
.features {
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  background: #fff;
  flex-wrap: wrap;
  gap: 30px;
}

.feature {
  text-align: center;
  max-width: 300px;
}

.feature img {
  width: 50px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0066cc;
}

.feature p {
  font-size: 0.95rem;
  color: #555;
}

/* ========== ABOUT / PROFIL ========== */
.about {
  display: flex;
  padding: 30px 20px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.about-img {
  flex: 1;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003366;
}

.about-content h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #0066cc;
}

.about-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 12px;
  text-align: justify;
}

.about-content ul {
  margin-top: 10px;
  padding-left: 20px;
  color: #444;
  font-size: 0.95rem;
}

.about-content ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ========== JADWAL ========== */
.jadwal {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.jadwal h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #003366;
}

.jadwal-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.jadwal-grid img {
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Specific styling for the Tarif table categories */
.tarif-table .category-header {
  background-color: #f2f2f2;
  font-weight: bold;
  text-align: left;
}

.tarif-table .sub-category {
  padding-left: 30px; /* Indent sub-categories */
  text-align: left;
}

/* ========== KONTAK ========== */
.kontak {
  padding: 10px 20px;
  text-align: center;
}

.kontak h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #003366;
}

.kontak p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 20px;
}

/* ========== SARAN ========== */
.saran {
  padding: 30px 20px;
  background: #ffffff;
  text-align: center;
}

.saran h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

.saran p {
  color: #444;
  margin-bottom: 25px;
}

.saran form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.saran input,
.saran textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

.saran button {
  width: fit-content;
  align-self: center;
  padding: 10px 10px;
  font-size: 1rem;
  cursor: pointer;
}

/* ========== FOOTER ========== */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }
  .about {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .logo img {
    height: 30px;
    margin-right: 6px;
  }
}/* === Modal Style === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 95%;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}
/* Sesuaikan ukuran font di perangkat mobile */
@media (max-width: 768px) {
  .jadwal-table th,
  .jadwal-table td {
    padding: 8px; /* Mengurangi padding */
    font-size: 0.8rem; /* Mengurangi ukuran font */
  }
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
}

.modal .close:hover {
  color: #000;
}

/* Jadwal Table */
.jadwal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.jadwal-table th, .jadwal-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

.jadwal-table th {
  background: #0066cc;
  color: white;
}
