html {
  scroll-behavior: smooth;
}
/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 4%; 
    background: white;

    position: sticky;
    top: 0;
    z-index: 1000;
}

/* KIRI */
.nav-left {
    display: flex;
    align-items: center;
    gap: 1px; 
}

/* LOGO */
.logo-img {
    height: 40px; 
}

/* TEXT */
.brand {
    font-size: 15px;
    font-weight: 600;
}

/* KANAN */
.nav-right {
    display: flex;
    align-items: center;
    gap: 40px; /* makin rapat */
}

/* MENU */
.nav-right ul {
    display: flex;
    gap: 20px; /* ini kunci biar compact */
    list-style: none;
}

/* LINK */
.nav-right a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}

/* ACTIVE */
.nav-right a.active {
    color: #A24400;
    font-weight: 600;
}

/* LOGIN */
.btn-login {
  background: #b45309;
  border: 1px solid #FE990C; 
  color: #fff !important;  /* paksa putih */
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}
@media (max-width: 768px) {

    .nav-right {
        gap: 15px; /* dari 40 → kecil */
    }

    .nav-right ul {
        gap: 10px; /* dari 20 → kecil */
    }

    .nav-right a {
        font-size: 12px; /* biar muat */
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 12px;
    }
}
.btn-login:hover {
  background: #933c07;
  color: #fff !important; /* hover tetap putih */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
}

/* ================= HERO ================= */
.hero-cabang {
  height: 93vh;
  position: relative;

  background: url('../assets/images/lokasipusat.jpeg') center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-cabang {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content-cabang {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 700px;
  width: 90%;
}

.hero-content-cabang h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-content-cabang p {
  font-size: 15px;
  margin-bottom: 20px;
}

.btn-cta {
  display: inline-block;
  background: #D17A00;
  border: 1px solid #A24400;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.hero-content-cabang small {
  display: block;
  margin-top: 10px;
  opacity: 0.8;
}

/* BUTTON */
.btn-cta {
    display: inline-block;
    background: #D17A00;
    border: 1px solid #A24400; 
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;

    margin-bottom: 8px; /* JARAK KE TEXT BAWAH */
}

/* TEXT KECIL DI BAWAH BUTTON */
.hero-overlay small {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-top: 8px;
}

/* ================= SECTION ================= */
.section {
    padding: 60px 10%;
    text-align: center;
}

.section h2 {
    margin-bottom: 30px;
    font-size: 24px;
}
/* ================= GAMBARAN FULL ================= */
.gambaran {
    width: 100%;
    background: #f3f3f3;
    padding: 60px 0;
}

/* BIAR SEJAJAR HERO */
.gambaran-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* JUDUL */
.gambaran h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

/* GARIS */
.title-line {
    width: 200px;
    height: 4px;
    background: #ddd;
    margin: 10px auto 40px;
    border-radius: 10px;
    position: relative;
}

.title-line span {
    position: absolute;
    width: 80px;
    height: 4px;
    background: #f97316;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

/* GAMBAR */
.gambaran-img img {
    width: 85%;
    max-width: 850px;
    height: auto;

    border-radius: 12px;
}
/* ================= KEUNTUNGAN ================= */
.keuntungan {
    width: 100%;
    background: #D17A00;
    padding: 60px 0; 
}

/* CONTAINER BIAR SAMA KAYAK HERO */
.keuntungan-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* TITLE */
.keuntungan h2 {
    color: black;
    margin-bottom: 10px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

/* CARD */
.box {
    background: white;
    padding: 20px 10px;
    border-radius: 14px;
    text-align: center;
}

/* ICON */
.box i {
    font-size: 28px;
    color: black; 
    margin-bottom: 10px;
}

/* TEXT */
.box p {
    font-size: 14px;
    font-weight: 600;
    color: black;
}
/* ================= TIMELINE ================= */
.timeline {
    position: relative;
    margin-top: 40px;
}

/* STEP */
.step {
    width: 50%;
    padding: 20px 30px; 
    position: relative;
}

/* KIRI */
.step.left {
    left: 0;
    text-align: right;
}

/* KANAN */
.step.right {
    left: 50%;
    text-align: left;
}

/* CARD */
.step .content {
    background: #ffeed5c3;
    border: 1px solid #A24400; 
    padding: 18px 22px;
    border-radius: 12px;

    display: block;
    width: 460px;
}

/* JUDUL */
.step .content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* PARAGRAF */
.step .content p {
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;

    white-space: nowrap; /* 🔥 WAJIB */
}

/* KHUSUS KIRI (biar ikut rata kanan luar tapi isi tetap rapi) */
.step.left .content {
    text-align: right;
    margin-left: auto; 
    transform: translateX(-25px); 
}
/* KHUSUS KANAN */
.step.right .content {
    text-align: left;
    margin-left: auto; 
    transform: translateX(12px); 
}
/* ================= NOMOR BULAT ================= */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #A24400; 
    top: 0;
    bottom: 0;
    left: 50%;
}
.step::before {
    content: attr(data-step);
    position: absolute;
    top: 25px;

    width: 35px;
    height: 35px;
    background: white;             
    border: 3px solid #A24400;      
    color: #A24400;             

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;

    z-index: 2;
}

/* POSISI NOMOR */
.step.left::before {
    right: -18px;
}

.step.right::before {
    left: -18px;
}
/* ================= FOOTER ================= */
.footer {
    background: #D17A00;
    color: black;
    padding: 20px 6%;
}

/* CONTAINER */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* BIKIN TENGAH SEJAJAR */
    flex-wrap: wrap;
}

/* ================= KIRI ================= */
.footer-left {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 60px;
}

.footer-address {
    font-size: 13px;
    line-height: 1.6;
    white-space: nowrap;
}

/* ================= KANAN ================= */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ROW */
.footer-row {
    display: flex;
    gap: 40px; /* BIAR RATA & GA DEMPET */
}

/* ITEM */
.footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px; /* BIKIN LEBAR SAMA */
}

/* ICON */
.footer-item i {
    font-size: 18px;
    color: #000;
    font-weight: 600;
}

/* TEXT */
.footer-item span {
    font-size: 13px;
}
/* ================= RESET LINK FOOTER ================= */
.footer a {
    text-decoration: none !important;
    color: black !important;
}

/* biar tetap hitam walau diklik / visited */
.footer a:visited,
.footer a:active,
.footer a:focus {
    color: black !important;
    text-decoration: none !important;
}
/* ================= RESPONSIVE PATCH (NO CHANGE STRUCTURE) ================= */

/* TABLET */
@media (max-width: 992px) {

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-overlay h1 {
        font-size: 24px;
    }
}
/* MOBILE */
@media (max-width: 768px) {

    /* ================= NAVBAR (tanpa ubah HTML) ================= */
    .navbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .nav-right ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    /* ================= HERO ================= */
    .hero-cabang {
    height: 100vh; /* FIX: full layar HP */
    min-height: 100vh;
    }

    .hero-content-cabang {
        width: 92%;
        padding: 0 10px;
    }

    .hero-content-cabang h1 {
        font-size: 18px;
        line-height: 1.4;
    }

    .hero-content-cabang p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .btn-cta {
        padding: 10px 18px;
        font-size: 13px;
    }

    /* ================= GAMBARAN ================= */
    .gambaran-img img {
        width: 100%;
    }

    /* ================= KEUNTUNGAN ================= */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* ================= TIMELINE FIX (PALING PENTING) ================= */
    .timeline::after {
        left: 20px;
    }

    .step {
        width: 100%;
        left: 0 !important;
        text-align: left;
        padding-left: 55px;
    }

    .step.left .content,
    .step.right .content {
        transform: none !important;
        width: 100% !important;
        text-align: left;
    }

    .step::before {
        left: 0;
        right: auto;
    }

    .step .content p {
        white-space: normal !important;
    }

    /* ================= FOOTER ================= */
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-row {
        flex-direction: column;
        gap: 10px;
    }

    .footer-address {
        white-space: normal;
    }
}
/* HP kecil */
@media (max-width: 480px) {

    .hero-overlay h1 {
        font-size: 18px;
    }

    .btn-cta {
        padding: 10px 18px;
        font-size: 12px;
    }

    .section {
        padding: 40px 6%;
    }
}