/* ====== Global & smooth scroll ====== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5;
    color: #111827;
    line-height: 1.5;
}

/* ====== Header & nav ====== */
.logo img.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: .8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    color: #111827;
}

.logo {
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 1rem;
    text-transform: uppercase;
    color: #2563eb;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
}

nav a {
    text-decoration: none;
    color: #4b5563;
    font-size: .9rem;
    position: relative;
    padding-bottom: .15rem;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width .2s ease;
}

nav a:hover { color: #111827; }
nav a:hover::after { width: 100%; }

.lang-switch {
    display: flex;
    gap: .35rem;
    margin-left: .75rem;
}

.lang-btn {
    padding: .25rem .65rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background: transparent;
    color: #4b5563;
    font-size: .75rem;
    cursor: pointer;
}
.lang-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #f9fafb;
}

main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.8rem 1.5rem 3rem;
}

/* ====== HERO full slider ====== */
.hero { margin-bottom: 3rem; }

.hero--full {
    border-radius: 2.5rem 0 2.5rem 2.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15,23,42,0.35);
    background: transparent;
}

.hero-slider {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 420px;
    max-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    left: 3.5rem;
    top: 3.5rem;
    max-width: 460px;
    color: #111827;
    z-index: 2;
}

.hero-left-eyebrow {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #2563eb;
    letter-spacing: .16em;
    margin-bottom: .4rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: .7rem;
    letter-spacing: .02em;
}

.hero-title span { display: block; }

.hero-subtitle {
    font-size: .95rem;
    color: #111827;
    margin-bottom: 1.3rem;
}

.btn-primary {
    display: inline-block;
    padding: .7rem 1.5rem;
    border-radius: 9999px;
    background: #2563eb;
    color: #f9fafb;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}
.btn-primary:hover { background: #1d4ed8; }

.hero-caption {
    position: absolute;
    left: 1.4rem;
    bottom: 1.2rem;
    background: rgba(15,23,42,0.75);
    padding: .65rem .95rem;
    border-radius: .9rem;
    font-size: .8rem;
    color: #e5e7eb;
    max-width: 420px;
    z-index: 2;
}

.hero-dots {
    position: absolute;
    right: 1.4rem;
    bottom: 1.1rem;
    display: flex;
    gap: .35rem;
    z-index: 2;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    opacity: .7;
    background: transparent;
}
.hero-dot.active {
    background: #f9fafb;
    opacity: 1;
}

/* ====== Sections ====== */
.section { margin-bottom: 3rem; }

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: .9rem;
    padding: 1rem 1.2rem;
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
    font-size: .9rem;
}

.card-icon {
    font-size: 2rem;   /* besarkan ikon */
    margin-bottom: .5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: .35rem;
    color: #f97316;
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.5rem;
}

/* ===== ABOUT ===== */
.about-card-icon {
    font-size: 2rem;   /* besarkan ikon */
    margin-bottom: .5rem;
}


.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
}

.about-photo img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

.about-text p {
    font-size: .95rem;
    margin-bottom: .9rem;
    color: #374151;
}

.about-subtitle {
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: .3rem;
    color: #f97316;
}

.about-right { margin-top: 3rem; }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 1.5rem;
}

.contact-info p {
    font-size: .9rem;
    color: #4b5563;
}

.branch { margin-bottom: .9rem; }
.branch-title { font-weight: 600; }

.contact-form {
    background: white;
    border-radius: .9rem;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

.field { margin-bottom: .9rem; }
.field label {
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: .3rem;
}
.field input,
.field textarea {
    width: 100%;
    border-radius: .6rem;
    border: 1px solid #d1d5db;
    padding: .55rem .7rem;
    font-size: .85rem;
}
.field textarea {
    min-height: 90px;
    resize: vertical;
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.2rem 1.5rem;
    font-size: .8rem;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
}

/* ===== Floating Buttons ===== */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #25D366;
    color: white;
    padding: .55rem .9rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: .4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 60;
    text-decoration: none;
}
.whatsapp-float-circle {
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    border: none;
    background: #111827;
    color: #f9fafb;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 60;
}
.scroll-top-btn.show { display: flex; }

/* ===== Fleet Section (DUPLIKASI SUDAH DIBERSIHKAN) ===== */
.fleet-section { text-align: center; }

.fleet-category-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d2d2d;
}

/* Fleet grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.fleet-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: .25s ease;
    text-align: center;
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.fleet-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.fleet-card-title {
    font-weight: 700;
    padding: .7rem 0 .9rem;
    color: #f97316;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    main { padding-inline: 1rem; }

    .hero-slider {
        height: 420px;
        max-height: 420px;
    }

    .hero-overlay {
        left: 1.5rem;
        top: 1.5rem;
        max-width: 80%;
    }

    .hero-title { font-size: 2.1rem; }

    .about-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        gap: .75rem;
    }

    nav { width: 100%; }

    .whatsapp-float span.text { display: none; }

    .two-col,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-logo {
    height: 250px;
    width: auto;
    display: block;
}


/* Fix map always staying behind header + avoid overflow bugs */
#map,
.leaflet-container {
    z-index: 1 !important;
    position: relative !important;
}

/* Prevent map tiles from overflowing its parent */
.network-section {
    position: relative;
    overflow: hidden;
}

/* Set offset untuk semua section agar tidak tertutup header */
section {
    scroll-margin-top: 70px;
}



/* FIX: Map tidak nembus header */
#network {
    scroll-margin-top: 50px; /* biar offset pas sticky header */
}

/* Map container */
.map-wrapper {
    background: #e5e7eb;
    padding: 1rem;
    border-radius: 1.2rem;
    margin-bottom: 2rem;
}

#networkMap {
    width: 100%;
    height: 420px;
    border-radius: 1rem;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-logo {
    width: 180px;
    height: auto;
}

.contact-info p {
    margin: 5px 0;
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-logo {
        width: 150px;
    }
}


/* ============================
   NETWORK LAYOUT (MAP LEFT + TEXT RIGHT)
   ============================ */

.network-section {
    padding: 40px 20px;
}

.network-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-top: 20px;
}

/* LEFT: MAP */
.network-map-container {
    flex: 2;
}

#map {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

/* RIGHT: TEXT */
.network-description {
    flex: 1;
    font-size: 15px;
    line-height: 1.55;
}

.contact-section {
    padding: 60px 20px;
}

.contact-card {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-left {
    width: 100%;
    max-width: 350px;
    text-align: left;
}

.contact-logo {
    width: 300px;
    margin-bottom: 5px;
}

.contact-info p {
    margin: 6px 0;
}

.contact-form {
    flex: 1;
    min-width: 260px;
}

.field {
    margin-bottom: 16px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.field textarea {
    height: 120px;
}

.btn-primary {
    padding: 14px 22px;
    border: none;
    border-radius: 8px;
    background: #e60000;
    color: #fff;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    letter-spacing: .5px;
    margin-top: 8px;
}

.contact-company {
    font-weight: 700;       /* bold */
    color: #f97316;         /* warna oranye */
    font-size: 1rem;
}


.contact-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 12px;
}

.branch {
    padding: 10px 0;
}

.branch-title {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 6px;
    color: #f97316;
}

.branch p {
    font-size: .85rem;
    color: #4b5563;
    margin: 4px 0;
}

.contact-email {
    margin-top: 18px;
    font-size: .9rem;
    color: #374151;
}

@media (max-width: 768px) {
    .contact-branches {
        grid-template-columns: 1fr;
    }
}
