* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 31px;
}

header {
  background: linear-gradient(135deg, #28a745, #007BFF);
  color: #fff;
  position: fixed;
  top: 40px; /* sesuai tinggi info-strip */
  left: 0;
  width: 100%;
  z-index: 1000; /* lebih rendah dari info-strip */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  height: 122px;
}


nav {
  max-width: 90%;
  margin: auto;
  background: white;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
}

nav ul li a {
  color: #28a745;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  font-weight: 600;

}

nav ul li a:hover {
  background-color: #007bff;
  color: white;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.hero {
  background: #f4f4f4;
  padding: 100px 20px 60px 20px; /* Tambahkan ruang atas */
  text-align: center;
}

.hero .cta {
  display: inline-block;
  margin-top: 20px;
  background: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
}

.about {
	background: linear-gradient(135deg, #007BFF, #28a745); /* biru ke hijau */
  padding: 60px 20px;
  text-align: center;
  color:white;
}
.contact {
  padding: 60px 20px;
  text-align: center;
}
.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.about-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 30%;
  min-width: 250px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  background-color: rgba(255, 255, 255, 0.9); /* transparansi putih */
  color: #000;
}

.about-box:hover {
  transform: scale(1.03);
}

.about-box h3 {
  margin-bottom: 10px;
  color: #333;
}

@media (max-width: 900px) {
  .about-box {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .about-box {
    width: 100%;
  }
}


form {
  max-width: 500px;
  margin: auto;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

form button {
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}
.testimonials {
  padding: 60px 20px;
  background-color: #f0f4f8;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 40px;
  color: #333;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial-box {
  background-color: #fff;
  border-left: 5px solid #28a745;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 365px;
  padding: 20px;
  border-radius: 8px;
  font-style: italic;
  transition: transform 0.2s ease;
}

.testimonial-box:hover {
  transform: translateY(-5px);
}

.testimonial-box h4 {
  margin-top: 15px;
  font-style: normal;
  color: #555;
}

.galeri {
}

.galeri h2 {
  color: #333;
}

.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 80px; /* menghindari tertutup navbar */
}

.slides {
  position: relative;
  width: 100%;
  height: 600px;
}

.slide {
  display: none;
  width: 100%;
  height: 600px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: block;
}
.slider::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Hitam transparan */
  z-index: 2;
  pointer-events: none; /* agar klik tetap ke slide */
}
.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* lebih tinggi dari ::before (z-index: 2) */
  color: white;
  font-size: 49px;
  font-weight: 900;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none; /* supaya tidak ganggu klik */
}



.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 200px; /* Atur tinggi tetap */
  object-fit: cover; /* Biar gambar tetap proporsional & terpotong rapi */
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Hidden by default */
.gallery-item.hidden:not(.visible) {
  display: none;
}

.button-container {
  text-align: center;
  margin-top: 30px;
}

#toggleBtn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #0073e6;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#toggleBtn:hover {
  background-color: #005bb5;
}

.view-all-button {
  margin-left: 10px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #28a745;
  border: none;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-all-button:hover {
  background-color: #1e7e34;
}

.contact-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #1ebe5d;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;

}

.contact-card {
  background-color: #fff;
  padding: 20px;
  width: 26%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 10px;
  color: #333;
}

.contact-card p {
  margin-bottom: 15px;
  color: #666;
}

.contact-section {
  max-width: 80%;
  margin: 30px auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 10px;
  font-size: 32px;
  color: #222;
}

.contact-section p {
  margin-bottom: 30px;
  font-size: 16px;
  color: #555;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 10px;
}

.contact-item {
  flex: 1 1 27%;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.contact-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.contact-item p a {
  color: #0073e6;
  text-decoration: none;
}

.wa-button-container {
  margin-top: 20px;
}

.wa-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.wa-button:hover {
  background-color: #1ebe5d;
}

section {
  scroll-margin-top: 110px; /* Sesuaikan tinggi header */
}

.info-strip {
  background: linear-gradient(135deg, #28a745, #007BFF);
  color: white;
  font-size: 14px;
  padding-right: 5%;
  padding-left: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  z-index: 1001;
  position: fixed;   /* biar stay di atas */
  top: 0;
  left: 0;
  width: 100%;
}

ul li a.download-link {
  background-color: #ffd700 !important;       /* hijau cerah */
  color: black !important;          /* text putih */
  padding: 1px 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
} 

ul li a.download-link:hover,
ul li a.download-link:focus {
  background-color: #ce2f24 !important;        /* hijau lebih gelap */
  color: white !important;
  text-decoration: none;
  outline: none;
}

#toTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background-color: #28a745;
  color: white;
  border: none;
  outline: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* muncul saat scroll */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
  text-align: center;
  line-height: 50px; /* agar ikon/panah tepat di tengah vertikal */
}

#toTopBtn:hover {
  background-color: #007BFF;
}




