/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0a0f24;
  color: #fff;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #0f162e;
  position: sticky;
  top: 0;
  z-index: 99;
}

nav a {
  color: #c7d2fe;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

/* HERO (GAMBAR ATAS) */
.hero {
  padding: 130px 20px;
  text-align: center;
  color: white;

  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  min-height: 420px;

  border-bottom: 8px solid #0a0f24;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.9;
}

/* BUTTON */
.btn {
  background: #2563eb;
  padding: 15px 25px;
  color: white;
  border-radius: 8px;
  display: inline-block;
  margin-top: 25px;
  text-decoration: none;
  font-weight: 600;
}

/* =============================== */
/* SERVICES — 4 KOLOM x 2 BARIS    */
/* =============================== */

.services {
  padding: 70px 25px;
  background: #0a0f24;
}

.services h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

/* GRID BENAR 4 KOLOM */
.service-boxes {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr);
}

/* CARD */
.service-card {
  background: #11172e;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #1a1f3a;
  transition: 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.4);
}

/* GAMBAR */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* JUDUL */
.service-card h3 {
  font-size: 16px;
  padding: 12px;
  font-weight: 600;
  color: #fff;
}

/* BUTTON ORDER */
.order-btn {
  display: block;
  background: #2563eb;
  padding: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 15px 15px;
}

.order-btn:hover {
  background: #1d4ed8;
}

/* RESPONSIVE — TABLET */
@media (max-width: 900px) {
  .service-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE — HP */
@media (max-width: 600px) {
  .service-boxes {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-card img {
    height: 150px;
  }
}

/* CONTACT */
.contact {
  padding: 70px 25px;
  text-align: center;
  background: #0a0f24;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  opacity: 0.7;
  background: #0a0f24;
}

/* TOP-BANNER NON-AKTIF */
.top-banner,
.top-banner img {
  display: none !important;
}
.hero .btn {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.hero .btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}
/* =============================== */
/* ABOUT US */
/* =============================== */

.about {
  padding: 80px 25px;
  background: #0f162e;
  color: #fff;
}

.about h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
  font-weight: 700;
}

.about-content {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
}

.about-content img {
  width: 420px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-content .text {
  flex: 1;
}

.about-content .text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.about-content .text p {
  line-height: 1.7;
  opacity: 0.85;
  margin-top: 12px;
  font-size: 16px;
}

.about-btn {
  display: inline-block;
  margin-top: 22px;
  background: #2563eb;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s ease;
}

.about-btn:hover {
  background: #1d4ed8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content img {
    width: 100%;
    max-width: 450px;
  }
}
/* FLOATING WHATSAPP BUTTON */
.wa-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.12);
  background-color: #1ebe5b;
}
/* CONTACT SECTION */
.contact-section {
  padding: 60px 20px;
  background: #0f162e;
  color: #ffffff;
  text-align: center;
}

.contact-section h2 {
  font-size: 30px;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.contact-info {
  width: 300px;
  text-align: left;
}

.contact-info h3 {
  margin: 15px 0 5px;
  color: #93c5fd;
}

.contact-info a {
  color: #60a5fa;
  text-decoration: none;
}

.contact-map {
  flex: 1;
  min-width: 300px;
}
/* OUR WORK SECTION */
.our-work {
  text-align: center;
  padding: 60px 20px;
  background: #0a1128;
}

.our-work h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.work-line {
  width: 80px;
  height: 3px;
  background: #ffffff;
  margin: 10px auto 40px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.work-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
}

.work-gallery img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE — HP 2 kolom */
@media (max-width: 768px) {
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HP kecil 1 kolom */
@media (max-width: 480px) {
  .work-gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
