/* ======= RESET DASAR ======= */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  }


/*====== AGAR CAD RESPONSIF TIDAK BERANTAKAN KETIKA DI MINIMIZE ======*/
.container {
  max-width: 95%; /* Atur agar tidak terlalu lebar */
}
/* ===== 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: 20px !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;
  }
}


.row {
  margin-left: 0;
  margin-right: 0;
}

.card-content p {
  font-size: 14px; /* Pastikan teks tidak terlalu besar di HP */
}



/*===== AGAR KARTU TERLIHAT RAPI ====*/
  /* Mengatur kartu agar ukuran seragam */
  .card p {
    font-size: 18px; /* Ubah ukuran teks di dalam card */
    color: #333; /* Opsional: Warna teks */
}


  .card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center; /* Biar kontennya lebih rapi */
}

/* Menyesuaikan ukuran gambar dalam kartu */
.card-image img {
    height: 400px; /* Sesuaikan tinggi gambar */
    object-fit: cover;
}

/* Membuat tombol sejajar dan rapi */
.card-action a {
    color: #0d47a1;
    font-weight: bold;
    text-transform: uppercase;
}

/* Menyesuaikan tata letak responsif */
@media (max-width: 768px) {
    .col.s12.m3 {
        width: 50%; /* 2 card per baris di tablet */
    }
}

@media (max-width: 480px) {
    .col.s12.m3 {
        width: 100%; /* 1 card per baris di HP */
    }
}





/* ======= NAVBAR FIXED AGAR TETAP DI ATAS ======= */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Memberi ruang agar konten tidak tertutup navbar */
main {
  margin-top: 70px;
}

/* ======= LOGO & TEKS AGAR TIDAK KETUTUP ======= */
.center img {
  margin-top: 80px;
}

/* ======= RESPONSIF KONTEN ======= */
.about .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.about .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about .col {
  flex: 1 1 300px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .about .row {
    flex-direction: column;
    align-items: center;
  }
  .about .col {
    width: 90%;
    max-width: 400px;
  }
}

/* ======= STYLE BOOK NOW ======= */
.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;
  text-decoration: none;
}

.booknow a:hover {
  text-decoration: underline;
}

/* ======= STYLE BUTTON ======= */
.button, .contact-button {
  background-color: #4CAF50;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover, .contact-button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

/* ======= FOOTER ======= */
.footer {
  text-align: center;
  padding: 20px;
}

/* ======= TEKS RAPI ======= */
p {
  font-size: 18px;
}

.text-container {
  text-align: justify;
}

.text-container p {
  max-width: 800px;
}

/* ======= STYLE LINK ======= */
a {
  text-decoration: none;
}

.green-text:hover {
  color: rgb(46, 46, 46);
  text-decoration: underline;
}

/* Menghilangkan garis atau border pada elemen koleksi */
ul.collection, .collection-item {
  list-style: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* ======= SIDENAV ======= */
.sidenav li a {
  color: black !important;
}


  .see-more-button {
    background-color: #4da6ff;
    color: white;
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .see-more-button:hover {
    background-color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  }

  /* ======= TEKS RAPI ======= */
p {
  font-size: 18px;
  text-align: justify;
            line-height: 1.6; /* Memberikan jarak antar baris agar mudah dibaca */
            max-width: 1200px; /* Batas maksimum lebar teks agar tidak terlalu lebar */
            margin: 0 auto; /* Memposisikan di tengah */
        text-indent: 30px;
}
    
    h1 {
        font-size: 32px !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 */
  }
      }

      h2 {
        font-size: 30px !important;            /* Sesuaikan, misal 2rem atau 32px */
        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) {
  h2 {
    font-size: 22px !important; /* ubah sesuai kebutuhan */
  }}
  
  

   h4 {
        font-size: 26px !important;            /* Sesuaikan, misal 2rem atau 32px */
        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) {
  h4 {
    font-size: 17px !important; /* ubah sesuai kebutuhan */
  }}
  
/* === FINAL RESPONSIVE GUEST PHOTO GRID === */

.guest-photo {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr); /* default HP */
  gap: 10px;
  padding: 10px;
}

.guest-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.guest-photo img:hover {
  transform: scale(1.03);
}

/* Tablet (601px–1023px) → 2 kolom */
@media screen and (min-width: 601px) and (max-width: 1023px) {
  .guest-photo {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop (≥1024px) → 4 kolom */
@media screen and (min-width: 1024px) {
  .guest-photo {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
/* === Atur ukuran foto di HP agar tidak terlalu besar === */
@media screen and (max-width: 600px) {
  .guest-photo img {
    height: 500px !important; /* ubah sesuai selera: 150–250px */
    object-fit: cover;
  }
}


.homepage-intro {
  padding: 60px 20px;
  background-color: #fff;
}

.homepage-intro .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: #333;
}

.homepage-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #212121;
}

.homepage-intro p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #424242;
}

/* Responsif */
@media (max-width: 600px) {
  .homepage-intro {
    padding: 40px 15px;
  }
  .homepage-intro h2 {
    font-size: 1.4rem;
  }
  .homepage-intro p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}



.blog-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    .blog-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }

    .blog-header h2 {
      font-size: 1.8rem;
      font-weight: 700;
    }

    .view-all-btn {
      font-size: 1.0rem;
      color: #6b21a8;
      border: 1px solid #e5d4f9;
      padding: 8px 20px;
      border-radius: 50px;
      background: transparent;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .view-all-btn:hover {
      background-color: #f3e8ff;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 32px;
    }

    .blog-card {
      transition: transform 0.3s ease;
    }

    .blog-card:hover {
      transform: translateY(-5px);
    }

    .blog-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  transition: transform 0.4s ease;
  display: block;
  margin: 0 auto; /* biar selalu center di dalam card */
}

/* Hover efek tetap */
.blog-card:hover .blog-image {
  transform: scale(1.05);
}

/* Grid responsif tetap jalan */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  justify-items: center; /* ✅ supaya gambar tetap di tengah setiap kolom */
}





    .blog-date {
      font-size: 0.85rem;
      color: #666;
      margin-top: 16px;
    }

    .blog-title {
      font-size: 1.05rem;
      font-weight: 700;
      margin-top: 6px;
      line-height: 1.4;
      color: #111;
      transition: color 0.3s ease;
    }

    .blog-card:hover .blog-title {
      color: #6b21a8;
    }

    .blog-excerpt {
      font-size: 0.9rem;
      color: #555;
      margin-top: 10px;
      line-height: 1.6;
    }


