/* ================= RESET DASAR ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ================= BODY ================= */
body {
  background-color: rgba(185, 235, 225, 0.45);
}

/* ================= HEADER ================= */
header .kosong {
  height: 20px;
  background-color: rgba(185, 235, 225, 0.45);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 60px;
  background-color: rgba(254, 255, 255, 0.911);
  border-bottom: 2px solid #e5e5e5;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

header .logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

header .logo h3 a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: "Merriweather", serif;
}

header ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

header ul li a {
  padding: 10px 10px;
  text-decoration: none;
  color: #333;
  font-family: "Montserrat", sans-serif;
}

header ul li a:hover {
  color: #ffffff;
  background-color: #1acb82d4;
}

header ul li.active a {
  color: #fff;
  font-weight: 600;
}

.active {
  background-color: #1acb82d4;
}

/* ================= BANNER ================= */
.banner {
  height: 90vh;
  background-image: url(../img/banner.jpeg);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-left: 80px;
  padding-bottom: 60px;
}

.banner:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 80, 66, 0.45);
}

.banner h2,
.banner p {
  z-index: 1;
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff;
  margin: 0;
  color: #b6dc6fd4;
}

.banner h2 {
  font-family: "Playfair Display", serif;
  font-size: 50px;
  font-weight: 700;
}

.banner p {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  margin-top: 10px;
}

/* ================= LABEL ================= */
.label {
  background-color: rgba(185, 235, 225, 0.45);
  color: #000;
  padding: 30px 20px;
  text-align: left;
  margin-bottom: 20px;
}

/* ================= ABOUT ================= */
.about {
  background-color: #ffffff7c;
  padding: 60px 20px;
}

.about h4 {
  text-align: center;
  font-size: 24px;
  color: #333;
  font-family: "Merriweather", serif;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.about p {
  text-align: justify;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin: 0 auto;
  width: 85%;
  background-color: rgba(185, 235, 225, 0.45);
  padding: 20px 25px;
  border-left: 4px solid #b6dc6fd4;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about .kanan {
  text-align: right;
  font-size: 16px;
  color: #333;
  margin-right: 8%;
  margin-top: 25px;
  font-style: italic;
}

/* ================= JADWAL IBADAH ================= */
.jadwal-ibadah {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  width: 85%;
}

.jadwal-ibadah h4 {
  margin-bottom: 10px;
  color: #000;
}

.jadwal-ibadah p {
  margin: 0;
  color: #000;
  font-size: 16px;
}

/* ================= KONTak ================= */
.kontak {
  background-color: rgba(185, 235, 225, 0.45);
  padding: 60px 20px;
  text-align: center;
}

.kontak h4 {
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
  font-family: "Poppins", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.kontak .box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.kontak .col-4 {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 180px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.kontak .col-4:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.kontak .icon {
  font-size: 32px;
  color: #4a90e2;
  margin-bottom: 10px;
}

.kontak h6 {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}

/* ================= IFRAME PETA ================= */
.map-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* TEKS SAMPING PETA */
.map-info {
  max-width: 250px;
  margin-right: 50px; /* JARAK dari sisi kanan */
}

.map-info h2 {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.map-info p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}
.map-container iframe {
  width: 400px; /* SEMULA 600px → diperkecil */
  height: 300px; /* SEMULA 450px → diperkecil */
  border: 0;
  border-radius: 10px; /* opsional agar lebih rapi */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* responsif untuk HP */
@media (max-width: 600px) {
  .map-container iframe {
    width: 100%;
    height: 250px;
  }
}

/* ================= FOOTER ================= */
footer {
  padding: 30px 20px;
  background-color: #333;
  color: #fff;
  text-align: center;
  font-size: 14px;
  width: 100%;
}

/* ================= MEDIA QUERY RESPONSIVE ================= */

/* Tablet (768px) */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 10px 20px;
  }

  header ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .banner {
    padding-left: 20px;
    padding-bottom: 40px;
  }

  .banner h2 {
    font-size: 32px;
  }

  .banner p {
    font-size: 18px;
  }

  .about p,
  .jadwal-ibadah {
    width: 95%;
  }

  .kontak .col-4 {
    width: 45%;
  }
}

/* HP (480px) */

@media screen and (max-width: 768px) {
  .container {
    width: 98%;
  }
  header h1 {
    text-align: center;
    float: none;
  }
  header ul {
    text-align: center;
    float: none;
  }
  .box .col-4{
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }
}
