body {
    margin: 0;
    font-family: 'Poppins', sans-serif; 
    font-weight: 400;
    color: #2c3e50;
  }
  
  h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  header .logo img {
    height: 50px;
    width: auto;
  }

  nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
  }

  /* header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #245132;
    color: white;
    position: relative;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .logo img {
    width: 50px;
    height: auto;
  }

  .logo span {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
  }

  nav {
    display: flex;
    align-items: center;
  }

  .burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .burger img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  @media (max-width: 768px) {
    .burger {
      display: block;
    }

    nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #245132;
      padding: 10px 20px 20px;
      z-index: 999;
    }

    nav.open {
      display: flex;
    }

    nav a {
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.15);
      margin: 0;
      font-size: 15px;
    }

    nav a:last-child {
      border-bottom: none;
    }
  }
  .hero {
    position: relative;
    min-height: 70vh;
    background: url("images/backgroundberanda1.png") center/cover no-repeat;
    
  }
  .intro {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;   
    margin: 0 auto;     
  }
  
  .intro p {
    line-height: 1.7;
  }

  section{
    padding:40px 20px;
  }
  .cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
  }
  .card{
    border:1px solid #ddd;
    padding:20px;
    border-radius:10px;
    text-align:center;
  }
  .card img{
    width:100%;
    border-radius:10px;
  }
  .btn{
    background:#00a6fb;
    color:white;
    padding:15px 30px;
    text-decoration:none;
    border-radius:8px;
    display:inline-block;
  }
  footer{
    background:#245132;
    color:white;
    text-align:center;
    padding:20px;
  }
  input, textarea{
    width:100%;
    padding:10px;
    margin:10px 0;
  }
  
  /* homepage : destinasi populer  */
.homepage-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.homepage-grid .artikel-utama {
    position: relative;
    display: flex;
    flex-direction: column;
}

.homepage-grid .artikel-utama img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
}

.homepage-grid .artikel-samping {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.homepage-grid .artikel-samping .artikel-kecil img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
/* Wrapper hitam  */
.artikel-bg-modern {
    background-color: rgba(0, 0, 0, 0.85); 
    padding: 30px;
    border-radius: 12px;
}

/* Card modern */
.card-modern {
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.card-modern img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Teks tetap putih agar kontras */
.artikel-bg-modern h3,
.artikel-bg-modern h4,
.artikel-bg-modern .kategori {
    color: white;
}

/* Artikel samping  */
.homepage-grid .artikel-samping {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; 
    color: white;
    border-radius: 50%; 
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  
  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }

  /* page about */
  .about-hero {
    background: url("images/about1.png") center top / contain no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  .about-hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
  }
  
  .about-hero h2 {
    font-size: 36px;
  }
  
  /* content about */
  .about-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
    line-height: 1.8;
  }
  
  /* supaya image ke center */
  .about-image {
    display: flex;
    justify-content: center;
    padding: 20px;
  }
  
  .about-image img {
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
  }
  
/* gambar about */
.about-intro {
    background: url("images/tentangkami.png") center / cover no-repeat;
    height: 75vh;
  }
  
  /* text about */
  .about-intro-text {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
  }
  
  .about-intro-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .about-intro-text p {
    font-size: 16px;
    line-height: 1.8;
  }
  

  
  /*kontak page*/
  .page-wrap {
    min-height: calc(100vh - 80px);
  }
  
  /* sesuaikan tinggi footer */
  footer {
    height: 80px;
    background: #1f4f2e;
    color: white;
    text-align: center;
    padding: 25px 0;
  }
  /* highligh tur */
.highlight-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
  }
  
  /* efek pop up */
  .highlight-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  }
  
  /* gambar ikut halus */
  .highlight-item img {
    transition: transform 0.3s ease;
  }
  
  .highlight-item:hover img {
    transform: scale(1.05);
  }

  /* bagian quotes*/
.quote-section {
    background: #f6f8f4;
    text-align: center;
    padding: 80px 20px;
    color: #5b6f4a;
  }
  
  .quote-icon {
    font-size: 48px;
    margin-bottom: 10px;
  }
  
  .quote-section blockquote {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
  }
  
  .quote-author img {
    width: 50px;
    margin-bottom: 5px;
  }
  
  .quote-author span {
    display: block;
    font-size: 14px;
    color: #7a8f66;
  }
  
/* bagian why us */
.why-us {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .why-us h2 {
    font-size: 32px;
    font-weight: 600;
    color: #5b7f4a;
    margin-bottom: 10px;
  }
  
  .why-us p {
    font-size: 16px;
    color: #7a7a7a;
  }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 60px auto 0;
    align-items: start;
  }
  
  .why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px; /* bikin semua kolom sama tinggi */
  }
  
  .why-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
  }
  
  .why-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    max-width: 260px;
  }
  
  /*destinasi page*/
  .region-card {
    text-align: center;
    cursor: pointer;
    padding: 40px 20px;
    transition: all 0.3s ease;
  }
  
  .region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  }
  
/* Container card */
#content {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px); 
  gap: 24px;
  margin-top: 30px;
  justify-content: center; 
}
  
  /* Card destinasi */
  .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
  }

  .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* Hover biar hidup */
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  
  /* Gambar diperkecil & seragam */
  .card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  /* Judul kota */
  .card h3 {
    font-size: 18px;
    margin: 12px 0 6px;
    color: #2c3e50;
  }
  
  /* Deskripsi */
  .card p {
    font-size: 14px;
    color: #666;
    padding: 0 12px;
    min-height: 40px;
    flex-grow: 1;
  }
  
  /* Button */
  .card button {
    margin-top: auto;
    margin: 12px 0 16px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #1e8449;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .card button:hover {
    background: #145a32;
  }
    
  /* MODE DETAIL (bukan card, bukan grid) */
#content.detail-mode {
    display: block;
    max-width: 900px;
    margin: 40px auto;
    gap: 0;
  }
  
  /* Judul detail */
  .detail-page h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #1e8449;
  }
  
  /* Paragraf */
  .detail-page p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
  }
  
  /* Section */
  .detail-section {
    margin-top: 30px;
  }
  
  .detail-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
  }
  
  /* List */
  .detail-section ul {
    padding-left: 20px;
  }
  
  .detail-section li {
    margin-bottom: 6px;
  }
  
  /* Button back */
  .detail-page button {
    margin-top: 40px;
    padding: 10px 22px;
    border-radius: 24px;
    background: #1e8449;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  .detail-page button:hover {
    background: #145a32;
  }
  
/*PAGE LAYANAN
/* Container Utama */
#content1 {
  display: grid;
  /* KUNCI: Gunakan minmax dengan batas maksimal agar card tidak melebar liar */
  grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); 
  gap: 25px;
  margin-top: 30px;
  padding: 20px;
  justify-content: center; /* Menjaga card tetap di tengah jika cuma ada 1 atau 2 */
}

/* Judul Section */
#content1 h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

/* Card Styling - Berlaku untuk SEMUA kategori */
.card-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #eee; 
  transition: 0.3s;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-item img {
  width: 100%;
  height: 350px; 
  object-fit: cover;
}

.card-body {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body h3 {
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

/* Tombol & Navigasi */
.btn-lihat, .btn-wa {
  background-color: #248a4d;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-wa { background-color: #25D366; } 
.btn-lihat:hover { background-color: #1a6337; }
.btn-wa:hover { background-color: #128C7E; }

.btn-back {
  grid-column: 1 / -1;
  width: fit-content;
  justify-self: center;
  margin: 30px auto;
  background: white;
  border: 2px solid #248a4d;
  color: #248a4d;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  text-align: left;
}

.detail-title {
  color: #248a4d;
  font-size: 2.2rem;
  margin-bottom: 25px;
  border-bottom: 3px solid #f0f0f0;
  padding-bottom: 10px;
}