#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen .loader-logo img {
  width: 120px;
  height: auto;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
  background: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 28px;
  transform: scale(1.8);
  transform-origin: left center;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(2);
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: flex-end;
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #222;
}

.hero {
  padding: 100px 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1 1 50%;
  padding-right: 20px;
}

.hero-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-text p {
  margin: 8px 0;
  font-size: 14px;
  color: #333;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-buttons a {
  text-decoration: none;
}

a.btn {
  display: inline-block;
  text-align: center;
}

.btn {
  padding: 8px 12px;
  font-size: 13px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: #26976c;
  color: white;
}

.btn-outline {
  border: 2px solid #26976c;
  color: #26976c;
  background-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  max-width: 250px;
}

.hero-buttons .btn {
  flex: 1;
  min-width: 100px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-images {
  flex: 1 1 44%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;

}

.image-wrapper {
  position: relative;
  width: 300px;
  height: 400px;
}

.main-img {
  width: 300px;
  height: 400px;
  border-radius: 16px;
  object-fit: cover;
  z-index: 2;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.overlay-img {
  position: absolute;
  width: 300px;
  height: 400px;
  object-fit: cover;
  bottom: -80px;
  right: -260px;
  border-radius: 16px;
  z-index: 1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.thumbnail-fixed-position {
  position: absolute;
  top: 420px;
  left: 0;
  display: flex;
  gap: 10px;
  padding-top: 0px;
  z-index: 3;
}

.thumbnail-fixed-position img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.thumbnail-fixed-position img:hover {
  transform: scale(1.1);
}

/* ------------ HOVER -------------------- */
/* Hover effect untuk navbar */
nav ul li a:hover {
  color: #26976c;
  transition: color 0.3s ease;
}

/* Hover effect umum untuk semua tombol */
.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* Tombol utama saat hover */
.btn-primary:hover {
  background-color: #1f7f5c;
}

/* Tombol outline saat hover */
.btn-outline:hover {
  background-color: #26976c;
  color: white;
}

/* === Efek Hover Gambar Galeri === */

.gallery-layout img {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  /* default border agar animasi mulus */
  border-radius: 12px;
}

.gallery-layout img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(0, 0, 0, 0.1)
    /* warna hijau khas Alhamzah Tours */
}


/* ---------------------------------------- */

/* Hover Zoom untuk gambar */
.main-img,
.overlay-img,
.thumbnail-images img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.main-img:hover,
.overlay-img:hover,
.thumbnail-images img:hover {
  transform: scale(1.05);
}

/* Lightbox Modal Style */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.img-modal .modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  animation: zoomIn 0.3s ease;
}

.img-modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Zoom animasi masuk */
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* end */

/* Hamburger Menu Styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #26976c;
  border-radius: 3px;
  transition: 0.3s;
}

/* -------TENTANG KAMI------- */

.gallery-layout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* KIRI */
.left-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.g1-img {
  width: 300px;
  height: 380px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.g5-img {
  width: 230px;
  height: 35px;
  border-radius: 10px;
  /* margin-top: 10px; */
  object-fit: contain;
}

/* KANAN */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-top: 0px;
}

/* G2 & G3 sejajar atas G1 */
.top-thumbs {
  display: flex;
  gap: 10px;
  align-self: flex-start;
  margin-bottom: -10px;
  /* atur agar nempel atas G1 */
}

.top-thumbs img {
  width: 100px;
  height: 132px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* G4 menempel ke G1 dan sedikit naik */
.g4-wrapper {
  margin-top: 10px;
  margin-left: -90px;
}

.g4-wrapper img {
  width: 300px;
  height: 280px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* -------------------------- */

.about-section {
  padding: 100px 0;
}

.about-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.about-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  font-style: italic;
}

.about-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  max-width: 45%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-gallery {
  flex: 2;
  text-align: left;
  max-width: 55%;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 12px;
  color: #333;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
  /* padding: 0 15px; */
  padding: 0 30px;

}

.about-quote {
  background-color: #52ACA0;
  color: white;
  text-align: center;
  padding: 40px;
  margin-top: 30px;
  font-style: italic;
  font-size: 16px;
}

/* ------- END ------ */

/* ---------- LAYANAN --------------- */
.layanan-kami {
  background: #fff;
  text-align: center;
}

.layanan-kami-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.layanan-kami-header p {
  font-size: 15px;
  margin-bottom: 40px;
  color: #444;
}

.layanan-kami-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.layanan-kami-text {
  max-width: 400px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.layanan-kami-text ul {
  list-style: none;
  padding-left: 0;
}

.layanan-kami-text li {
  margin-bottom: 25px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.layanan-kami-text li:hover {
  color: #26976c;
  transform: translateX(4px);
}

.layanan-kami-images {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  grid-template-rows: repeat(2, 180px);
  gap: 10px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.grid-img {
  width: 175px;
  height: 175px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.grid-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  z-index: 5;
  object-fit: contain;
  background-color: white;
  padding: 10px;
  border-radius: 20%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}


/* Logo tengah overlay */
.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  z-index: 5;
  object-fit: contain;
  background-color: white;
  padding: 6px;
  border-radius: 30px;
  /* opsional untuk sedikit membulatkan */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.layanan-kami-quote {
  /* background-color: #a7d8d1; */
  background-color: #52ACA0;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}

.layanan-kami-quote p {
  color: white;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  margin: 0;
}

/* ------------ END ------------- */

/* ---------- Galery --------------- */

.galeri-section {
  padding: 100px 0;
}

.galeri-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.galeri-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.galeri-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  font-style: italic;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.galery-quote {
  background-color: #52ACA0;
  color: white;
  text-align: center;
  padding: 40px;
  margin-top: 30px;
  font-style: italic;
  font-size: 16px;
}

.galeri-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.galeri-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.galeri-row img {
  width: 205px;
  height: 205px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Hover Zoom */
.galeri-row img {
  width: 205px;
  height: 205px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.galeri-row img:hover {
  transform: scale(1.1);
}

/* --------- modals galery------------ */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.img-modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.img-modal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.img-modal .close:hover {
  color: #bbb;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffffcc;
  color: #000;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: #fff;
}

.modal-prev {
  left: 50px;
}

.modal-next {
  right: 50px;
}

/* -------- End Galery ------------- */

/* ==== Contact Section ==== */
.contact-section {
  /* padding: 80px 20px; */
  background-color: #fff;
  text-align: center;
  padding-bottom: 100px;
}

.contact-title {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: flex-start;
  max-width: 1100px;
  margin: auto;
}

.contact-info {
  flex: 1 1 300px;
  background-color: #fff;
  border: 2px solid #a1d6c0;
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #25D366;
  text-decoration: none;
  margin-top: 5px;
}

.contact-info a i {
  font-size: 18px;
}

.contact-info h3 {
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-info p {
  margin: 10px 0;
  font-size: 14px;
}

.contact-map {
  flex: 1 1 300px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-info,
.contact-info a,
.contact-info p,
.contact-info h3,
.contact-info strong {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  color: #000;
}

/* ==== Footer ==== */
.main-footer {
  background-color: #52ACA0;
  text-align: center;
  padding: 20px 10px;
  color: #000;
  font-size: 14px;
}
/* ================ */

/* Floating Buttons Base Style */
.floating-btn {
  position: fixed;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn {
  bottom: 70px;
  background-color: #25D366;
}

.top-btn {
  bottom: 20px;
  background-color: #52ACA0;
  border: none;
  cursor: pointer;
  display: none;
}

.floating-btn:hover {
  transform: scale(1.08);
}


.top-btn:hover {
  background-color: #1f7f5c;
  transform: scale(1.1);
}

/* --------Responsive Mobile ------- */

/* Responsive Navbar */
@media screen and (max-width: 768px) {

  .hero-content {
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    text-align: center;
    padding-right: 0;
  }

  .hero-text h2 {
    font-size: 18px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .btn {
    font-size: 13px;
    padding: 8px 16px;
    margin: 5px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto 0 auto;
    width: 100%;
    max-width: 300px;
  }

  .hero-buttons .btn {
    flex: 1;
    height: 42px;
    min-width: 120px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
  }

  .hero-images {
    width: 100%;
    max-width: 280px;
    margin-top: 30px;
    position: relative;
  }

  .image-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
  }

  .main-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
    z-index: 2;
    position: relative;
  }

  .overlay-img {
    position: absolute;
    width: 80%;
    height: 280px;
    object-fit: cover;
    bottom: -50px;
    right: -30px;
    border-radius: 16px;
    z-index: 1;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }

  .thumbnail-fixed-position {
    position: absolute;
    top: 380px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
  }

  .thumbnail-fixed-position img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    text-align: center;
    gap: 0;
    display: none;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-items: center;
  }

  nav ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul.active {
    display: flex;
  }

  .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .about-content {
    flex-direction: column;
  }

  .about-subtitle {
    flex-direction: column;
    margin-bottom: 30px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
    text-align: center;
  }

  .about-image,
  .about-gallery {
    max-width: 100%;
  }

  .gallery-layout {
    flex-direction: column;
    align-items: center;
  }

  .top-thumbs {
    justify-content: center;
  }

  .g4-wrapper {
    margin: 0;
  }

  .right-column {
    align-items: center;
  }

  /* ------------------- about ------------------ */
  .gallery-layout {
    flex-direction: row;
    /* Tetap dua kolom */
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .left-column,
  .right-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .g1-img {
    width: 180px;
    height: 250px;
  }

  .g5-img {
    width: 140px;
    height: 25px;
  }

  .top-thumbs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: -8px;
  }

  .top-thumbs img {
    width: 60px;
    height: 80px;
  }

  .g4-wrapper {
    margin-top: 10px;
    margin-left: -55px;
  }

  .g4-wrapper img {
    width: 180px;
    height: 180px;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-gallery {
    max-width: 100%;
  }

  .about-text p {
    padding: 0 15px;
    font-size: 13px;
  }

  /* ------------------- end about ------------------ */

  /* === Responsive services === */

  .layanan-kami-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
  }

  .layanan-kami-text {
    text-align: center;
    align-items: center;
  }

  .grid-container {
    grid-template-columns: repeat(2, 140px);
    grid-template-rows: repeat(2, 140px);
  }

  .grid-img {
    width: 140px;
    height: 140px;
  }

  .center-logo {
    width: 70px;
    height: 70px;
  }

  .layanan-kami-header p {
    padding: 0 20px;
    line-height: 1.6;
  }

  .layanan-kami-header h2 {
    padding: 0 20px;
  }

  .layanan-kami-text ul {
    padding: 0 20px;
  }

  .layanan-kami-quote p {
    font-size: 16px;
    padding: 0 10px;
  }

  /* ------------------- end services ------------------ */

  /* ------------------- Galery ------------------------ */


  .galeri-images {
    padding: 0 15px;
  }

  .galeri-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-items: center;
  }

  .galeri-row img {
    width: 100%;
    max-width: 100px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .galeri-subtitle {
    padding: 0 15px;
  }

  /* ---------------- end galery ----------------- */
  /* --------------- Contact ------------------ */
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
  }

  .contact-info,
  .contact-map {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }
  /* ------------ end contact ---------------- */
}