/* =========================================
   1. RESET & GLOBAL (SOLUSI AREA PUTIH HP)
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

html, body {
    width: 100%;
    overflow-x: hidden; /* MENGUNCI AREA PUTIH */
    position: relative;
    background-color: #f8f9fa;
}

/* Laptop tetap 90% lega */
@media screen and (min-width: 1025px) {
    html { zoom: 90%; }
}

/* HP tetap 100% pas */
@media screen and (max-width: 1024px) {
    html { zoom: 100%; }
}

/* =========================================
   2. TOP BAR (KUNING) - KITA KEMBALIKAN
   ========================================= */
.top-bar-container { 
    background-color: #ffd700; 
    overflow: hidden; 
    padding: 5px 0; 
    width: 100%;
}

.top-bar-marquee { 
    white-space: nowrap; 
    display: inline-block; 
    padding-left: 100%; 
    animation: scroll-text 20s linear infinite; 
}

.scrolling-text { 
    font-size: 13px; 
    font-weight: bold; 
    color: #000; 
}

@keyframes scroll-text { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}

/* =========================================
   3. HEADER & NAV (FIX MENU CAREER)
   ========================================= */
header { 
    background-color: #0c0908 !important; 
    width: 100%;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 2px solid #ffd700;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; 
    min-height: 70px;
}

.logo-text { 
    font-size: 24px; 
    color: #fff !important; 
    font-weight: bold; 
    text-decoration: none;
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    align-items: center; 
}

.nav-menu li a { 
    text-decoration: none; 
    color: #ffffff !important; 
    font-size: 14px; 
    font-weight: 500; 
    transition: 0.3s; 
}

.nav-menu li a:hover { color: #ffd700 !important; }

/* =========================================
   4. RESPONSIVE MOBILE (FIX WARNA & LAYOUT)
   ========================================= */
@media screen and (max-width: 768px) {
    /* Pastikan Header tetap hitam pekat di HP */
    header {
        background-color: #0c0908 !important; 
        height: auto !important;
        padding-bottom: 10px;
    }

    nav {
        flex-direction: column !important; 
        padding: 10px !important;
        height: auto !important;
        background-color: #0c0908 !important; /* Kunci warna di sini */
    }

    .nav-menu {
        gap: 10px;
        flex-wrap: wrap; 
        justify-content: center;
        margin-top: 10px;
        padding-bottom: 10px;
        width: 100%;
    }

    /* Pastikan link menu tetap putih terang */
    .nav-menu li a {
        font-size: 12px;
        padding: 5px;
        color: #ffffff !important; 
    }

    /* Fix elemen lain agar tidak meluber */
    .main-container, .detail-container, #home, .section {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Fix Form Career agar otomatis 1 kolom di HP */
    #apply-form div[style*="grid"] {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    #apply-form input {
        min-width: 100% !important;
    }
}
/* =========================================
   4. DROPDOWN (RAPAT KE ATAS)
   ========================================= */
.dropdown { position: relative; }

.dropdown-content { 
    display: none; 
    position: absolute; 
    background: #333; 
    min-width: 180px; 
    top: 100%; /* Dropdown menempel tepat di bawah nav */
    left: 0;
    border-top: 3px solid #ffd700;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content a { 
    color: #fff !important; 
    padding: 12px 15px; 
    display: block; 
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #444;
}

.dropdown-content a:hover { background: #444; }

.dropdown:hover .dropdown-content { display: block; }

/* =========================================
   5. HOME / HERO SECTION 
   ========================================= */
#home { text-align: center; padding: 40px 0; }

#home img {
    max-width: 550px; /* Membatasi gambar beruang agar tidak zoom-in */
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* =========================================
   6. GOODS / SOFTWARE CARDS 
   ========================================= */
.software-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px)); 
    gap: 25px; 
    padding: 30px 0;
    justify-content: center;
}

.software-card { 
    background: #fff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    border: 1px solid #eee; 
    transition: 0.3s;
    cursor: pointer;
}

.card-image {
    height: 180px;
    background: #222; /* Sesuai background hitam di screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   7. DETAIL PAGES (ENGINEERING / GSTARCAD)
   ========================================= */
.page-header-container { padding: 40px 0; text-align: center; }
.page-header-container h2 { font-size: 28px; margin-bottom: 10px; }

.product-sub-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

.sub-card { 
    background: #fff; border-radius: 12px; overflow: hidden; 
    border: 1px solid #eee; transition: 0.3s; cursor: pointer; text-align: center;
}

.sub-card-img { padding: 30px; height: 180px; display: flex; align-items: center; justify-content: center; }
.sub-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* =========================================
   8. BUTTONS & UTILS
   ========================================= */
.contact-btn {
    background: #ffd700; color: #000 !important; 
    padding: 12px 30px; border-radius: 30px; font-weight: bold;
    border: none; cursor: pointer; text-decoration: none;
}

.back-link {
    display: inline-block; text-decoration: none;
    color: #0054a6; font-weight: bold; margin-bottom: 20px;
}

.wa-button {
    position: fixed; bottom: 25px; right: 25px;
    width: 60px; height: 60px; z-index: 9999;
    background-color: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* =========================================
   9. KONTROL TAMPILAN
   ========================================= */
.section { display: none; }
.section.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================
   CUSTOMERS LOGO SLIDER (LOOPING)
   ========================================= */
.customers-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.customers-section h3 {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #333;
}

.logo-slider {
    width: 100%;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 46); /* Lebar satu slide * jumlah total slide */
    animation: scroll-logos 40s linear infinite;
}

.slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.slide img {
    max-height: 75px !important; 
    max-width: 180px !important; 
    width: auto;
    /* Memaksa warna asli muncul dan lebih cerah */
    filter: grayscale(0%) brightness(100%) !important; 
    opacity: 1 !important; 
    transition: all 0.3s ease;
    object-fit: contain;
    background-color: transparent !important; /* Memastikan tidak ada background gelap di belakang gambar */
}

/* Pastikan saat hover juga tetap terang */
.slide img:hover {
    filter: grayscale(0%) brightness(110%) !important;
    opacity: 1 !important;
}

/* Animasi Bergerak */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 40)); } /* Geser setengah dari total slide */
}

/* Tambahan: Pastikan Section ini mengikuti aturan Max-Width */
.customers-section {
    max-width: 100%; /* Slider ini boleh full screen lebar agar dramatis */
}

/* Container Utama */
.section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.detail-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header dan Navigasi */
h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.back-link {
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
}

.back-link:hover {
    color: #2980b9;
}

/* Fitur Utama */
.key-features {
    margin: 40px 0;
    padding: 20px;
    background-color: #f1f7ff;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.key-features h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.key-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0;
    list-style: none;
}

.key-features li {
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzM0OThkYiIgY2xhc3M9ImJpIGJpLWNoZWNrLWNpcmNsZS1maWxsIiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Ik0xNiA4QTEgMSAwIDEgMSAwIDhhOCA4IDAgMCAxIDE2IDB6bS0zLjk3LTMuMDNMMi40NyA3LjkzMmwzLjI1IDMuMjUgMS40MTQtMS40MTQtMS44MzctMS44Mzd6Ii8+PC9zdmc+') no-repeat left center;
    padding-left: 30px;
    color: #444;
    font-weight: 500;
}

.feature-description {
    margin-top: 25px;
    line-height: 1.8;
    color: #666;
}

/* Grid Kartu Produk (Sub-Grid) */
.product-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.sub-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.sub-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sub-card-footer {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.sub-card-footer h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* Tombol Aksi */
.demo-action {
    text-align: center;
    margin-top: 50px;
}

.demo-btn {
    background-color: #3498db;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.demo-btn:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* Responsif */
@media (max-width: 768px) {
    .detail-container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}



/* Container Utama */
.contact-card-wrapper {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.contact-main-card {
    display: flex;
    background: #fff;
    width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Bagian Kiri (Info) */
.contact-info-side {
    flex: 1;
    padding: 60px 40px;
    background-color: #e0e0e0; /* Warna abu-abu soft sesuai gambar */
}

.contact-info-side h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-info-side p {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

/* Bagian Tengah (Mascot) */
.contact-mascot-side {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: #fff;
}

.mascot-img {
    max-width: 120%; /* Sedikit lebih besar untuk efek pop-out */
    height: auto;
}

/* Bagian Kanan (Form) */
.contact-form-side {
    flex: 1.2;
    padding: 60px 40px;
}

.contact-form-side h2 {
    margin-bottom: 30px;
    color: #004a80;
    font-size: 1.8rem;
}

#myrz-contact-form input, 
#myrz-contact-form textarea, 
#myrz-contact-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 1rem;
}

/* Tombol Kirim Kuning Sesuai Brand */
.btn-send {
    width: 100%;
    padding: 15px;
    background-color: #ffd700; /* Kuning MYRZ */
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background-color: #ffd700;
}

/* WhatsApp Floating Button */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 100;
}

.wa-float img {
    width: 100%;
}

/* Responsif Mobile */
@media (max-width: 900px) {
    .contact-main-card {
        flex-direction: column;
        width: 100%;
    }
    .contact-mascot-side {
        display: none; /* Sembunyikan maskot di layar kecil agar tidak penuh */
    }
}

/* Container Utama */
.customers-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Latar belakang sedikit abu agar lingkaran putih terlihat menonjol */
    text-align: center;
    overflow: hidden;
}

/* Slider Track */
.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.logo-slide-track {
    display: flex;
    width: calc(200px * 32); /* Sesuaikan: 32 adalah total logo set1 + set2 */
    animation: scroll 40s linear infinite;
    align-items: center;
}

/* Slide Item (Lingkaran) */
.slide {
    width: 200px; /* Jarak antar lingkaran */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lingkaran Putih */
.slide-circle {
    width: 150px;  /* Ukuran lingkaran */
    height: 150px; /* Ukuran lingkaran */
    background-color: #ffffff;
    border-radius: 50%; /* Membuat jadi bulat sempurna */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Efek bayangan halus */
    border: 1px solid #ddd; /* Garis tepi tipis agar lebih rapi */
    padding: 20px; /* Ruang agar logo tidak menempel ke pinggir lingkaran */
}

/* Gambar Logo di Dalam Lingkaran */
.slide-circle img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* ANTI-GEPENG */
    filter: none !important; /* SELALU BERWARNA */
    opacity: 1 !important;
}

/* Animasi */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 16)); } /* Geser sebanyak 1 set (16 logo) */
}


.logo-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.header-logo {
    height: 50px;    /* Sesuaikan tinggi logo agar pas dengan header */
    width: auto;     /* Biarkan lebar menyesuaikan otomatis agar TIDAK GEPENG */
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Efek saat logo disorot (optional) */
.header-logo:hover {
    transform: scale(1.05);
}

/* Responsif untuk layar HP */
@media (max-width: 768px) {
    .header-logo {
        height: 40px; /* Ukuran lebih kecil sedikit untuk tampilan mobile */
    }
}

/* Apply Form Styles */
.apply-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.apply-form-container h2 {
    color: #1565c0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

#apply-form input,
#apply-form textarea,
#apply-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 1rem;
    box-sizing: border-box;
}

#apply-form input[type="file"] {
    padding: 10px;
}

#apply-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Efek saat mouse menyentuh kartu gallery */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    border: 1px solid #1565c0;
}