/* --- 1. RESET & FONT --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Menggunakan font Poppins agar lebih modern */
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcfcfc;
}

/* --- 2. PALET WARNA (KETERANGAN) --- 
   Biru Tua (Primary): #0a2558
   Biru Muda (Accent): #00a8e8
   Putih: #ffffff
   Abu-abu background: #f4f6f8
------------------------------------- */

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* --- 3. HEADER & NAVIGASI (DIPERBAIKI) --- */
/* --- HEADER SETUP (Pastikan kode ini ada) --- */
header {
    background: #0a2558; /* Warna Biru Tua */
    border-bottom: 4px solid #00a8e8;
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* WADAH FLEXBOX (KUNCI AGAR KIRI-KANAN) */
.header-flex {
    display: flex !important; /* Paksa agar aktif */
    justify-content: space-between; /* Logo Kiri, Menu Kanan */
    align-items: center; /* Rata tengah vertikal */
    height: 100%;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LOGO (KIRI) --- */
.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    display: flex;
    height: 40px;
    align-items: center;
}

.logo-box img {
    height: 28px;
    width: auto;
    display: block;
}

.company-name h1 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap; /* Agar teks tidak turun baris di desktop */
}

/* --- MENU NAVIGASI (KANAN - TAMPILAN DESKTOP) --- */
.nav-menu ul {
    display: flex; /* Menu berjejer ke samping */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: #00a8e8;
}

/* --- TOMBOL HAMBURGER (SEMBUNYI DI DESKTOP) --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: 0.3s;
}

/* --- TAMPILAN KHUSUS HP (LAYAR KECIL) --- */
@media (max-width: 768px) {
    /* Munculkan Tombol Hamburger */
    .hamburger {
        display: block; 
    }

    /* Ubah Menu jadi Dropdown/Sembunyi */
    .nav-menu {
        position: fixed;
        left: -100%; /* Sembunyi di kiri layar */
        top: 80px; /* Muncul di bawah header */
        width: 100%;
        background-color: #0a2558;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    /* Menu jadi tumpuk ke bawah di dalam HP */
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    /* Teks nama PT boleh turun baris di HP */
    .company-name h1 {
        font-size: 15px;
        white-space: normal;
        max-width: 200px;
        line-height: 1.2;
    }

    /* Class untuk memunculkan menu via JS */
    .nav-menu.active {
        left: 0;
    }
    
    /* Animasi Hamburger menjadi X */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* --- 4. HERO SECTION (BANNER) --- */
/* --- HERO SECTION (PROFESIONAL) --- */

.hero-section {
    position: relative;
    /* GANTI URL INI dengan foto pabrik/background Anda */
    background-image: url('path-ke-gambar-background-pabrik.jpg');
    background-size: cover;
    background-position: center;
    /* Tinggi minimal agar terlihat gagah */
    min-height: 90vh; /* Hampir setinggi layar penuh */
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

/* Overlay Gelap di atas background agar teks terbaca jelas */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradasi Biru Tua transparan */
    background: linear-gradient(135deg, rgba(10, 37, 88, 0.9) 0%, rgba(0, 168, 232, 0.8) 100%);
    z-index: 1;
}

/* Agar konten berada di atas overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Flexbox untuk 2 Kolom */
.hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* --- KOLOM KIRI (TEKS) --- */
.hero-content {
    flex: 1;
    max-width: 600px; /* Batasi lebar agar teks enak dibaca */
    /* Animasi masuk */
    animation: fadeInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Gaya Tombol Utama */
.btn-primary {
    display: inline-block;
    background-color: #00a8e8; /* Warna Biru Muda */
    color: #fff;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    border: none; /* Hapus border jika ada */
}

.btn-primary:hover {
    background-color: #008ec4;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.6);
}

/* Data Pendukung (Stats) */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2); /* Garis pemisah halus */
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: #00a8e8; /* Angka berwarna biru muda */
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
}

/* --- KOLOM KANAN (GAMBAR MESIN) --- */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Animasi masuk dari kanan */
    animation: fadeInRight 1s ease-out 0.3s forwards; /* Delay 0.3s */
    opacity: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    /* Efek bayangan halus agar gambar 'keluar' */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* --- DEFINISI ANIMASI --- */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- RESPONSIF (HP) --- */
@media (max-width: 900px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px 0; /* Tambah padding atas karena ada header sticky */
        text-align: center;
    }
    
    .hero-row {
        flex-direction: column-reverse; /* Gambar di atas teks di HP */
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-image {
        animation: none; /* Matikan animasi di HP biar ringan */
        opacity: 1;
    }
    
    .hero-image img {
        max-width: 80%; /* Perkecil gambar di HP */
    }
}

/* --- 5. TOMBOL (BUTTON) --- */
.btn {
    display: inline-block;
    background: #fff; /* Tombol putih agar kontras dengan background biru */
    color: #0a2558;   /* Teks biru tua */
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px; /* Membuat tombol bulat (pill shape) */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    background: #0a2558; 
    color: #fff;
    transform: translateY(-3px); /* Efek tombol naik sedikit saat di-hover */
}

/* --- 6. SECTIONS UMUM --- */
.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    margin-bottom: 40px;
    font-size: 36px;
    color: #0a2558; /* Judul Section Biru Tua */
    position: relative;
    display: inline-block;
}

/* Garis kecil di bawah judul */
.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #00a8e8; /* Garis Biru Muda */
    margin: 10px auto 0;
}

.bg-light {
    background: #f4f6f8; /* Abu-abu sangat muda */
}

/* --- ABOUT US SECTION (Split Layout) --- */

.about-section {
    background-color: #fff; /* Background Putih Bersih */
    padding: 80px 0;
    overflow: hidden; /* Mencegah scrollbar jika animasi keluar batas */
}

/* Container Flexbox untuk membagi 2 kolom */
.about-row {
    display: flex;
    align-items: center; /* Vertikal rata tengah */
    justify-content: space-between;
    gap: 50px; /* Jarak antara teks dan gambar */
}

/* --- 1. PENGATURAN KOLOM TEKS --- */
.about-text {
    flex: 1; /* Mengambil sisa ruang yang ada */
    
    /* ANIMASI: Fade In Up (Muncul dari bawah) */
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0; /* Mulai dari transparan */
}

.about-text h2 {
    color: #0a2558; /* Judul Biru Tua */
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Garis kecil di bawah judul */
.divider {
    width: 60px;
    height: 4px;
    background: #00a8e8; /* Biru Muda */
    margin-bottom: 25px;
    border-radius: 2px;
}

.about-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify; /* Rata Kanan Kiri sesuai request */
}

.btn-primary {
    margin-top: 10px;
    display: inline-block;
}

/* --- 2. PENGATURAN KOLOM GAMBAR --- */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    
    /* ANIMASI: Floating (Mengambang) */
    animation: floatImage 4s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    max-width: 500px; /* Batasi lebar gambar */
    border-radius: 10px; /* Sudut melengkung */
    box-shadow: 20px 20px 0px #0a2558; /* Efek bayangan kotak biru tua yang keren */
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02); /* Efek zoom sedikit saat kursor masuk */
}

/* --- 3. DEFINISI ANIMASI (KEYFRAMES) --- */

/* Animasi Muncul dari Bawah */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px); /* Mulai dari 50px di bawah */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Kembali ke posisi asal */
    }
}

/* Animasi Mengambang (Naik Turun) */
@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px); /* Naik 15px */
    }
    100% {
        transform: translateY(0);
    }
}

/* --- RESPONSIF (HP/TABLET) --- */
@media (max-width: 900px) {
    .about-row {
        flex-direction: column; /* Ubah jadi atas-bawah di HP */
        text-align: center;
    }
    
    .about-text p {
        text-align: left; /* Atau justify, tergantung selera di HP */
    }

    .divider {
        margin: 0 auto 25px auto; /* Garis di tengah saat di HP */
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .about-image img {
        box-shadow: 10px 10px 0px #0a2558; /* Bayangan lebih kecil di HP */
    }
}

/* --- TOMBOL DOWNLOAD PROFILE (DI ABOUT US) --- */

.about-btn-container {
    margin-top: 30px; /* Jarak dari teks paragraf terakhir */
}

.btn-download-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Jarak antara ikon PDF dan Teks */
    background-color: #0a2558; /* Warna Biru Tua (Warna Utama Brand) */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px; /* Membuat tombol lonjong (Pill shape) */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(10, 37, 88, 0.2);
}

.btn-download-profile i {
    font-size: 18px; /* Ukuran ikon PDF */
}

/* Efek saat tombol disorot (Hover) */
.btn-download-profile:hover {
    background-color: #00a8e8; /* Berubah jadi Biru Terang */
    transform: translateY(-3px); /* Tombol naik sedikit */
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3); /* Bayangan makin tebal */
    color: #fff;
}

/* Responsif HP: Tombol jadi lebar penuh agar mudah dipencet */
@media (max-width: 768px) {
    .btn-download-profile {
        width: 100%;
        justify-content: center;
    }
}


/* --- VISION & MISSION SECTION --- */

/* Jarak antar section */
#vision-mission {
    padding-top: 20px; /* Jarak dari atas agak dekat ke About Us */
    padding-bottom: 60px;
}

.vm-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Agar aman di HP */
}

.vm-card {
    flex: 1; /* Membagi rata lebar */
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Bayangan lembut */
    text-align: center;
    border-top: 5px solid #00a8e8; /* Aksen garis biru di atas */
    min-width: 300px; /* Batas minimal lebar agar tidak gepeng di HP */
    transition: transform 0.3s ease;
}

/* Efek saat disentuh kursor */
.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 168, 232, 0.15);
}

/* Pengaturan Ikon */
.vm-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: #eef9fe; /* Lingkaran biru sangat muda */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-icon img {
    width: 35px;
    height: 35px;
}

/* Judul Visi/Misi */
.vm-card h3 {
    color: #0a2558;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Teks Paragraf Visi */
.vm-card p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

/* List Misi (Titik-titik) */
.vm-card ul {
    text-align: left; /* List rata kiri agar rapi */
    padding-left: 20px;
    margin: 0 auto;
    display: inline-block; /* Trik agar list rata kiri tapi posisinya di tengah */
    max-width: 90%;
}

.vm-card ul li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* --- RESPONSIF HP --- */
@media (max-width: 768px) {
    .vm-grid {
        flex-direction: column; /* Jadi atas bawah di HP */
    }
    
    .vm-card {
        margin-bottom: 10px;
    }
}

/* --- PRODUCT SECTION (GRID GAMBAR) --- */

.section-title {
    text-align: center;
    color: #0a2558;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Garis kecil di bawah judul (Tengah) */
.divider-center {
    width: 60px;
    height: 4px;
    background: #00a8e8;
    margin: 0 auto 40px auto; /* Auto kanan-kiri agar di tengah */
    border-radius: 2px;
}

/* WADAH GRID PRODUK */
.product-grid {
    display: flex; /* Kunci tata letak */
    flex-wrap: wrap; /* Mengizinkan item turun ke baris baru */
    justify-content: center; /* KUNCI: Membuat item sisa berada di TENGAH */
    gap: 30px; /* Jarak antar kotak produk */
}

/* KARTU PRODUK */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden; /* Agar gambar tidak keluar dari sudut melengkung */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    
    /* PENGATURAN LEBAR (3 KOLOM) */
    /* Rumus: (100% / 3) - (jarak gap) */
    flex-basis: calc(33.333% - 20px); 
    max-width: 350px; /* Batas maksimal agar tidak terlalu lebar di layar besar */
    
    /* Agar tinggi kotak seragam */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px); /* Efek naik saat disentuh kursor */
}

/* AREA GAMBAR */
.product-image {
    width: 100%;
    height: 220px; /* Tinggi gambar ditetapkan agar seragam */
    background-color: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* PENTING: Agar gambar crop otomatis & tidak gepeng */
    display: block;
}

/* AREA NAMA BARANG */
.product-info {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-top: 4px solid #00a8e8; /* Aksen biru muda */
}

.product-info h3 {
    font-size: 18px;
    color: #0a2558;
    margin: 0;
    font-weight: 600;
}

/* --- RESPONSIF (HP) --- */
@media (max-width: 768px) {
    .product-grid {
        gap: 20px;
    }
    
    .product-card {
        /* Di HP, lebar jadi 100% (1 kolom) atau 45% (2 kolom) */
        flex-basis: 100%; 
        max-width: 400px;
    }
}

/* --- CLIENTS SECTION (LOGO FLEXBOX) --- */

.clients-grid {
    display: flex; /* Ganti Grid menjadi Flexbox */
    flex-wrap: wrap; /* Izinkan turun ke baris baru */
    justify-content: center; /* KUNCI: Item sisa (orphans) akan ke tengah */
    gap: 20px; /* Jarak antar kotak */
    margin-top: 30px;
}

.client-box {
    background: #ffffff;
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    
    /* RUMUS MATEMATIKA AGAR PAS 6 KOLOM: */
    /* Lebar = (100% dibagi 6) dikurangi kompensasi gap */
    flex-basis: calc(16.666% - 20px); 
    
    /* Agar kotak tidak melar atau menyusut aneh */
    flex-grow: 0; 
    flex-shrink: 0;
}

/* Efek Hover */
.client-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.2);
    border-color: #00a8e8;
}

/* Pengaturan Gambar Logo (Langsung Berwarna) */
.client-box img {
    max-width: 90%; /* Sedikit padding agar tidak terlalu mepet kotak */
    max-height: 90%;
    object-fit: contain; /* Memastikan logo utuh */
    display: block;
    /* Baris filter grayscale dan opacity SUDAH DIHAPUS di sini */
}

/* --- RESPONSIF (HP & TABLET) --- */

/* Tablet & Laptop Kecil (Max 1024px) -> Jadi 4 Kolom */
@media (max-width: 1024px) {
    .client-box {
        flex-basis: calc(25% - 20px); /* 100% bagi 4 */
    }
}

/* HP (Max 768px) -> Jadi 2 Kolom */
@media (max-width: 768px) {
    .client-box {
        flex-basis: calc(50% - 15px); /* 100% bagi 2 */
        height: 80px; /* Tinggi kotak di HP lebih kecil */
    }
    
    .clients-grid {
        gap: 15px; /* Jarak di HP lebih rapat */
    }
}

/* --- CONTACT SECTION (PROFESIONAL) --- */

.contact-wrapper {
    display: flex;
    gap: 30px; /* Jarak antara teks dan peta */
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Bayangan halus satu kotak besar */
    overflow: hidden;
}

/* --- BAGIAN KIRI: INFO TEKS --- */
.contact-details {
    flex: 1; /* Mengambil 1 bagian ruang (50% kurang dikit) */
    padding: 30px;
    background-color: #ffffff;
}

.contact-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee; /* Garis pemisah tipis antar info */
    padding-bottom: 15px;
}

.contact-item:last-child {
    border-bottom: none; /* Hilangkan garis di item terakhir */
    margin-bottom: 0;
}

.contact-item h3 {
    color: #0a2558; /* Biru Tua */
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* --- BAGIAN KANAN: MAPS --- */
.contact-map {
    flex: 1; /* Mengambil 1 bagian ruang (50%) */
    min-height: 350px; /* Tinggi peta minimal */
    border-radius: 0 10px 10px 0; /* Sudut melengkung sebelah kanan */
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- RESPONSIF (HP) --- */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column; /* Ubah jadi atas-bawah di HP */
    }

    .contact-map {
        min-height: 300px; /* Tinggi peta di HP */
        border-radius: 0 0 10px 10px; /* Sudut melengkung bawah */
    }
}

/* --- 9. FOOTER --- */
footer {
    background: #0a2558; /* Biru Tua */
    color: #fff;
    text-align: center;
    padding: 25px;
    border-top: 5px solid #00a8e8; /* Garis atas Biru Muda */
}

/* --- 10. RESPONSIVE (HP) --- */
@media (max-width: 768px) {
    header h1, header nav {
        float: none;
        text-align: center;
    }
    
    header nav ul {
        margin-top: 20px;
        padding: 0;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    .services-grid {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 32px;
    }
    
    .contact-box {
        width: 100%;
        padding: 20px;
    }
}

/* --- TOMBOL WHATSAPP MELAYANG --- */
.float-wa {
    position: fixed; /* Agar tetap di tempat saat di-scroll */
    bottom: 30px;    /* Jarak dari bawah */
    right: 30px;     /* Jarak dari kanan */
    z-index: 9999;   /* Pastikan selalu di atas elemen lain */
    
    background-color: #25d366; /* Warna Hijau WhatsApp Resmi */
    color: #fff;
    width: 60px;     /* Ukuran tombol */
    height: 60px;
    border-radius: 50%; /* Membuatnya bulat sempurna */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); /* Bayangan agar timbul */
    transition: transform 0.3s ease; /* Animasi halus saat disentuh */
}

/* Efek saat kursor diarahkan (Zoom dikit) */
.float-wa:hover {
    transform: scale(1.1);
    background-color: #20ba5a; /* Hijau sedikit lebih gelap */
}

/* Mengatur ukuran ikon di dalam tombol */
.float-wa img {
    width: 35px;
    height: 35px;
}

/* --- RESPONSIF HP --- */
@media (max-width: 768px) {
    .float-wa {
        width: 50px;  /* Di HP tombolnya sedikit lebih kecil */
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .float-wa img {
        width: 28px;
        height: 28px;
    }
}

/* --- MODAL / POPUP STYLES --- */

/* Latar Belakang Gelap (Overlay) */
.modal {
    display: none; /* Sembunyi secara default */
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); /* Hitam transparan */
    backdrop-filter: blur(5px); /* Efek blur di belakang */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Kotak Konten Putih */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* Animasi Muncul */
.modal.show {
    display: flex;
    opacity: 1;
}
.modal.show .modal-content {
    transform: scale(1);
}

/* Tombol Close (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}
.close-btn:hover { color: #000; }

/* Layout Isi Modal (Kiri Gambar, Kanan Teks) */
.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-img-box {
    flex: 1;
    min-width: 300px;
    background: #f0f0f0;
}

.modal-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-text {
    flex: 1;
    padding: 40px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h2 {
    color: #0a2558;
    margin-top: 0;
    font-size: 28px;
}

.modal-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Tombol Download */
.btn-download {
    background-color: #d32f2f; /* Merah PDF */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    transition: 0.3s;
}

.btn-download:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

/* Tambahan: Cursor Pointer di Product Card */
.product-card {
    cursor: pointer; /* Agar kursor jadi jari telunjuk */
}

/* Teks kecil "Klik untuk detail" */
.click-info {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Responsif di HP */
@media (max-width: 768px) {
    .modal-body { flex-direction: column; }
    .modal-img-box { height: 200px; }
    .modal-text { padding: 25px; }
}

/* --- Style Tambahan untuk Tombol Mati (Disabled) --- */
.btn-disabled {
    background-color: #e0e0e0 !important; /* Warna abu muda */
    color: #999 !important; /* Teks abu tua */
    cursor: not-allowed; /* Kursor tanda dilarang */
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}

/* Biar ikon di tombol mati warnanya juga abu */
.btn-disabled i {
    color: #999 !important;
}
