/* RESET & UTILITIES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Efek scroll halus saat klik menu navigasi */
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    color: #0B192C;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    margin-right: 8px;
    font-size: 28px;
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

/* HEADER & NAVIGATION */
header {
    background-color: #0B192C;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: #FFD700;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

.btn-primary-nav {
    background-color: #FFD700;
    color: #0B192C !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600 !important;
}

.btn-primary-nav:hover {
    background-color: #FFFFFF;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(11, 25, 44, 0.85), rgba(11, 25, 44, 0.85)), url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    text-align: center;
    color: #FFFFFF;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #FFD700;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #D1D5DB;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background-color: #FFD700;
    color: #0B192C;
}

.btn-primary:hover {
    background-color: #E6C200;
}

.btn-secondary {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #0B192C;
}

/* ABOUT SECTION */
.about {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #0B192C;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555555;
}

.about-features {
    margin-top: 25px;
}

.feat-item {
    margin-bottom: 10px;
    font-weight: 500;
    color: #0B192C;
}

.feat-item i {
    color: #25D366;
    margin-right: 8px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* SERVICES SECTION */
.services {
    padding: 100px 0;
}

.services .subtitle {
    color: #0B192C;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: center;
    transition: 0.3s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top: 4px solid #FFD700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-card .icon {
    font-size: 36px;
    color: #0B192C;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: #0B192C;
    margin-bottom: 15px;
}

/* CEK TARIF (TRACKING) SECTION */
.tracking {
    padding: 100px 0;
    background: linear-gradient(rgba(11, 25, 44, 0.95), rgba(11, 25, 44, 0.95)), url('https://images.unsplash.com/photo-1512418490979-917959338e74?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

.tracking-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tracking-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.tracking-box p {
    color: #D1D5DB;
    margin-bottom: 40px;
}

.tarif-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tarif-form input, .tarif-form select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.9);
    color: #333333;
    font-size: 14px;
    outline: none;
}

.btn-submit {
    width: 100%;
    background-color: #FFD700;
    color: #0B192C;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #E6C200;
}

/* CONTACT SECTION */
.contact {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.contact .subtitle {
    color: #0B192C;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: #0B192C;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #0B192C;
    margin-bottom: 5px;
}

.info-item p {
    color: #666666;
}

/* FOOTER */
footer {
    background-color: #07101E;
    color: #9CA3AF;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* RESPONSIVE DESIGN (Biar Bagus di HP) */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; }
    nav ul { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 5px 10px; }
    .about-grid, .contact-grid, .form-group-row { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 32px; }
    .whatsapp-text { display: none; } /* Di HP hanya ikon WA saja agar ringkas */
    .whatsapp-float { padding: 15px; border-radius: 50%; }
    .whatsapp-float i { margin-right: 0; }
}

/* CONTACT FORM & INTERACTIVE FIELDS */
.contact-form-container {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
}

.form-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0B192C;
    margin-bottom: 8px;
}

.form-input-group input, .form-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #333333;
    outline: none;
    transition: all 0.3s ease;
}

.form-input-group input:focus, .form-input-group textarea:focus {
    border-color: #0B192C;
    box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.1);
}

.btn-submit-form {
    width: 100%;
    background-color: #0B192C;
    color: #FFFFFF;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit-form:hover {
    background-color: #1E3E62;
}

/* LANGUAGE SWITCHER STYLE */
.lang-selector {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 20px;
}

.lang-selector i {
    color: #FFD700;
    margin-right: 6px;
    font-size: 14px;
}

.lang-selector select {
    background: transparent;
    color: #FFFFFF;
    border: none;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.lang-selector select option {
    background-color: #0B192C;
    color: #FFFFFF;
}

/* HORIZONTAL GALLERY SLIDER STYLE */
.gallery-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    overflow: hidden; /* Mencegah halaman utama melebar ke samping */
}

/* Mengatur Judul dan Hint Panah sejajar */
.section-title-left {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title-left h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    color: #0B192C;
}

.slider-hint {
    font-size: 14px;
    font-weight: 600;
    color: #FFD700;
    background-color: #0B192C;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Track Utama Slider */
.gallery-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto; /* Mengaktifkan fungsi geser menyamping */
    padding-bottom: 25px;
    scroll-snap-type: x mandatory; /* Membuat geseran magnetis (pas di tengah foto) */
    scrollbar-width: thin; /* Desain scrollbar tipis untuk Firefox */
    scrollbar-color: #FFD700 #F3F4F6;
}

/* Desain Scrollbar untuk Google Chrome, Safari, dan Edge */
.gallery-slider::-webkit-scrollbar {
    height: 6px;
}

.gallery-slider::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.gallery-slider::-webkit-scrollbar-thumb {
    background: #FFD700; 
    border-radius: 10px;
}

/* Kartu Foto di dalam Slider */
.gallery-slide-card {
    flex: 0 0 320px; /* Lebar kaku setiap foto 320px, tidak akan mengecil */
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.gallery-slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efek Overlay Teks Emas */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 25, 44, 0.85) 20%, rgba(11, 25, 44, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.slide-overlay h4 {
    color: #FFD700;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

/* INTERACTION */
.gallery-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(11, 25, 44, 0.15);
}

.gallery-slide-card:hover img {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title-left { flex-direction: column; align-items: flex-start; gap: 15px; }
    .gallery-slide-card { flex: 0 0 280px; height: 210px; } /* Ukuran sedikit lebih kecil di HP */
}

/* ========================================================
   RESPONSIVE MENU HAMBURGER (TAMBAHKAN DI PALING BAWAH CSS)
   ======================================================== */

/* Secara default di laptop, tombol hamburger disembunyikan */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #333; /* Sesuaikan warna dengan tema Anda */
    cursor: pointer;
    z-index: 1001;
}

/* Aturan CSS khusus untuk layar HP & Tablet (Maksimal 992px) */
@media (max-width: 992px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    /* Tampilkan tombol hamburger di HP */
    .menu-toggle {
        display: block;
    }

    /* Mengubah posisi menu navigasi menjadi melayang dari atas ke bawah */
    #nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Warna latar belakang menu mobile */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out; /* Efek slide down yang mulus */
        z-index: 1000;
    }

    /* Class yang dipicu oleh JavaScript saat hamburger diklik */
    #nav-wrapper.active {
        max-height: 500px; /* Batas tinggi menu saat terbuka */
    }

    /* Mengatur susunan list menu menjadi berbaris ke bawah */
    .nav-menu {
        display: flex;
        flex-direction: column;
        padding: 20px;
        margin: 0;
        list-style: none;
        gap: 15px; /* Jarak antar menu */
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 0;
        width: 100%;
        color: #333 !important; /* Warna text menu mobile */
    }

    /* Menyesuaikan tombol hubungi kami di dalam versi mobile */
    .btn-primary-nav {
        display: inline-block;
        text-align: center;
        background-color: #ff5722; /* Sesuaikan dengan warna brand Sinar Cargo */
        color: #fff !important;
        padding: 10px 20px;
        border-radius: 5px;
    }

    /* Merapikan posisi selector bahasa di mobile */
    .lang-selector {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
}

/* ========================================================
   PENGATURAN LOGO GAMBAR + TULISAN
   ======================================================== */

.logo a {
    display: flex;         /* Membuat gambar dan tulisan sejajar horizontal */
    align-items: center;   /* Membuat gambar dan tulisan pas di tengah secara vertikal */
    gap: 10px;             /* Memberikan jarak antara gambar logo dan tulisan teks */
    text-decoration: none; /* Menghilangkan garis bawah pada link */
}

.brand-logo {
    height: 40px;          /* Atur tinggi logo (sesuaikan dengan tinggi header Anda) */
    width: auto;           /* Lebar otomatis proporsional agar gambar tidak gepeng */
    object-fit: contain;   /* Memastikan gambar termuat dengan sempurna */
}

/* Opsional: Jika di HP logo dirasa terlalu besar, Anda bisa mengecilkan ukurannya di dalam media query */
@media (max-width: 768px) {
    .brand-logo {
        height: 32px;      /* Ukuran sedikit lebih kecil saat dibuka di Handphone */
    }
}