/* ===== RESET ===== */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #fafafa;
}

/* ===== FIX MATERIALIZE CONTAINER PADDING ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px !important; /* override Materialize */
  box-sizing: border-box;
}

/* ===== NAVBAR FIXED ===== */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
}

main {
  margin-top: 70px !important; /* Tambahan supaya tidak ketutup navbar */
}



/* ===== NAVBAR SPACING FIX ===== */

/* Desktop (lebih dari 992px) */
@media (min-width: 993px) {
  .brand-logo {
    margin-left: 40px !important; /* tidak mepet kiri */
  }
}

/* Tablet (601px–992px) */
@media (max-width: 992px) and (min-width: 601px) {
  .brand-logo {
    margin-left: 10px !important; /* agak ke dalam */
    font-size: 1.6rem !important;
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .brand-logo {
    margin-left: 10px !important; /* lebih rapat */
    font-size: 1.4rem !important;
  }
}


/* ===== SIDENAV ===== */
.sidenav li a {
  color: black !important;
}

/* ===== BOOKNOW ===== */
.booknow {
  background-color: #0d47a1;
  color: white;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 30px;
}

.booknow a {
  color: #ffeb3b;
  font-weight: bold;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

/* ===== CARD ===== */
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.card-text {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.pagination a {
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: white;
  color: #333;
}

.pagination a.active {
  background: #1e73ff;
  color: white;
  border: none;
}

/* ============================
   RESPONSIVE FIX
============================ */

/* TABLET */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .card img {
    height: 220px;
  }
}

/* MOBILE – 1 KOLOM SUPAYA AMAN */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 20px 15px !important;
  }
  .card img {
    height: 200px;
  }
  .brand-logo {
    margin-left: 10px;
    font-size: 1.3rem !important;
  }
}


 h1 {
        font-size: 40px !important;         /* Sesuaikan, misal 2rem atau 32px */
        font-weight: bold;           /* Gunakan 600–700, jangan terlalu bold */
        line-height: 1.4;           /* Tambahkan jarak vertikal agar tidak gepeng */
        font-family: 'Fraunces', sans-serif;  /* Gunakan font modern dan bersih */
      }
      
      @media only screen and (max-width: 600px) {
  h1 {
    font-size: 26px !important; /* ubah sesuai kebutuhan */
  }
      }

      p {
  font-size: 20px;
}

.footer {
  text-align: center;
  padding: 20px;
}




/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* BLOG CARD */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: .2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 300px;       /* tinggi fix */
    object-fit: cover;   /* tetap estetis */
}
@media (max-width: 600px) {
    .blog-image {
        height: 180px;
    }
}



/* TEXT */
.blog-body {
  padding: 18px 20px 25px;
}

.blog-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: #1e73ff;
  font-weight: 600;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-image {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    margin-bottom: 10px;
  }
  .blog-image {
    height: 180px;
  }
}









