/* --- RESET & VARIABLES --- */
:root {
    --primary-color: #1e5a84;
    --secondary-color: #3561A2;
    --accent-color: #3988c8;
    --text-color: #333;
    --bg-light: #f4f4f4;
    --max-width: 1200px;
}

* {
    box-sizing: border-box; /* Kunci responsivitas */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

img {
    max-width: 75%;
    height: auto;
    display: block;
	margin: 0 auto;
}

html,body{
    overflow-x:hidden;
}

@media(max-width:768px){

.page-layout{
    grid-template-columns:1fr !important;
}

.sidebar{
    position:relative !important;
    top:0 !important;
}

}

@media(max-width:768px){

.product-item{
    flex-direction:column !important;
}

.prod-img-wrapper{
    margin:auto;
}

}


a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- LAYOUT UTILITY --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* --- HEADER & NAV --- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Navigasi Desktop */
.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 5px 5px;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-banner {
    background: var(--bg-light);
    padding: 40px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* Agar turun ke bawah saat di HP */
}

.hero-image, .hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* --- PRODUCT GRID (Pengganti featureBox) --- */
.products-section {
    padding: 0px 0;
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    display: inline-block;
    padding-bottom: 10px;
}

.product-grid {
    display: grid;
    /* Grid otomatis: membuat kolom sebanyak mungkin dengan lebar minimal 200px */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 10px;
}

/* --- ABOUT SNIPPET --- */
.about-snippet {
    background: #eef2f5;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.read-more {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- FOOTER --- */
.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* --- FLOATING WA --- */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
}

/* --- MEDIA QUERIES (MOBILE) --- */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none; /* Sembunyikan menu default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .main-nav.open {
        display: block; /* Tampilkan saat ditoggle */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block;
        padding: 15px;
    }
}
/* =======================================================
   PERBAIKAN TAMPILAN GAMBAR (FIXING LAYOUT)
   ======================================================= */

/* 1. PERBAIKAN DIAGRAM ENGINEERING (Agar Grafik Terlihat Utuh) */
.engineering-gallery {
    display: grid;
    /* Membuat kolom otomatis dengan lebar minimal 250px */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.engineering-gallery img,
.eng-item img {
    width: 100%;
    height: 250px !important;        /* Tinggi fix agar kotak sama */
    object-fit: contain !important;  /* PENTING: Gambar mengecil pas di kotak (tidak terpotong) */
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 5px;
}

/* 2. PERBAIKAN LOGO SERTIFIKAT (Agar Berjejer ke Samping) */
.cert-grid,
.ekatalog-grid {
    display: flex !important;        /* Menggunakan Flexbox agar lebih fleksibel */
    flex-wrap: wrap !important;      /* Turun ke bawah jika layar sempit */
    justify-content: center !important; /* Posisi di tengah */
    gap: 25px;                       /* Jarak antar logo */
    margin-top: 20px;
}

.cert-grid img,
.ekatalog-grid img {
    flex: 0 0 auto;                  /* Jangan melar sembarangan */
    height: 100px !important;        /* Tinggi diseragamkan */
    width: auto !important;          /* Lebar menyesuaikan proporsi logo */
    max-width: 180px;                /* Batas lebar agar tidak raksasa */
    object-fit: contain !important;  /* Logo utuh */
    margin: 5px;
    filter: none !important;         /* (Opsional) Hapus efek hitam putih jika ingin berwarna */
    opacity: 1 !important;
}

/* 3. PERBAIKAN BANNER PERUSAHAAN (Agar Tidak Terpotong Aneh) */
.company-banner img {
    width: 100%;
    height: auto !important;         /* Tinggi otomatis mengikuti aspek rasio gambar */
    max-height: 500px;               /* Tapi jangan lebih tinggi dari 500px */
    object-fit: cover;               /* Rapikan potongan pinggir */
}
/* =========================================================
   DESAIN BARU HALAMAN PRODUK (PROFESIONAL & BERSIH)
   ========================================================= */

/* 1. LAYOUT UTAMA */
.page-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar Kiri, Konten Kanan */
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 60px;
    align-items: start;
}

/* 2. SIDEBAR MENU */
.sidebar {
    position: sticky;
    top: 90px;
    z-index: 10;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.sidebar-box h3 {
    background: var(--primary-color);
    color: #fff;
    margin: 0;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.category-list a:hover {
    background: #f9fbfd;
    color: var(--secondary-color);
    padding-left: 25px;
    font-weight: 500;
}

.category-list a::after {
    content: "›";
    font-weight: bold;
    color: #ccc;
}

/* 3. ITEM PRODUK (CARD HORIZONTAL) */
.product-item {
    display: flex; /* Kunci Layout Horizontal */
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 20px;
    gap: 25px;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

/* KOTAK GAMBAR (FIXED SIZE) */
.prod-img-wrapper {
    flex: 0 0 220px; /* Lebar area gambar Tetap */
    width: 220px;
    height: 220px;   /* Tinggi area gambar Tetap */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Gambar tidak akan gepeng */
    transition: transform 0.3s;
}

.product-item:hover .prod-img-wrapper img {
    transform: scale(1.05); /* Zoom in dikit saat hover */
}

/* DESKRIPSI PRODUK */
.prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prod-info h2 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.prod-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* TOMBOL DETAIL */
.btn-check {
    display: inline-block;
    align-self: flex-start;
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-check:hover {
    background: var(--primary-color);
}

/* 4. RESPONSIVE MOBILE (HP) */
@media (max-width: 800px) {
    .page-layout {
        grid-template-columns: 1fr; /* Jadi 1 kolom */
        gap: 20px;
    }

    .sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .product-item {
        flex-direction: column; /* Gambar di atas, Teks di bawah */
        text-align: center;
        padding: 15px;
    }

    .prod-img-wrapper {
        margin: 0 auto;
        width: 100%;
        max-width: 250px;
    }

    .btn-check {
        align-self: center; /* Tombol jadi di tengah */
        width: 100%;
        text-align: center;
    }
}
/* =========================================================
   STYLE KHUSUS HALAMAN SMART SYSTEM (FULL WIDTH LAYOUT)
   ========================================================= */

/* 1. Layout Tengah Tanpa Sidebar */
.single-product-layout {
    max-width: 1000px; /* Lebar konten dibatasi agar enak dibaca */
    margin: 40px auto;
    padding: 0 20px;
}

/* 2. Hero Banner Sederhana */
.smart-hero {
    background: linear-gradient(135deg, var(--primary-color), #0f3a5d);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}
.smart-hero h1 { margin: 0; font-size: 2.5rem; }
.smart-hero p { font-size: 1.2rem; margin: 15px 0 25px; opacity: 0.9; }
.btn-hero {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* 3. Typography & Section */
.section-block { margin-bottom: 60px; }
.section-heading {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}
.section-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}
.text-center { text-align: center; }
.hero-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.content-text {
    margin-top: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* 4. Grid Fitur (Kartu Ikon) */
.features-grid-smart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feat-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid var(--secondary-color);
}
.feat-card:hover { transform: translateY(-5px); }
.feat-card .icon { font-size: 3rem; margin-bottom: 15px; }
.feat-card h3 { color: var(--primary-color); margin-bottom: 10px; }

/* 5. Model Lampu Grid */
.bg-light { background: #f9fbfd; padding: 40px; border-radius: 10px; }
.model-smart-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.model-card { text-align: center; }
.model-card img {
    height: 250px;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.model-card h4 { margin-top: 15px; color: #333; }

/* 6. Tabel Spesifikasi Tengah */
.spec-table-container {
    max-width: 800px;
    margin: 0 auto;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.spec-table th, .spec-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.spec-table th { background: #f4f4f4; width: 40%; text-align: left; color: #333; }

/* 7. Brosur Grid */
.brochure-grid {
    display: flex;
    overflow-x: auto; /* Bisa digeser horizontal jika di HP */
    gap: 15px;
    padding-bottom: 20px;
}
.brochure-grid img {
    height: 350px; /* Tinggi brosur disamakan */
    width: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* =======================================================
   STYLE KHUSUS HALAMAN SOLAR HIGH POWER (GRID SYSTEM)
   ======================================================= */

/* Grid Container untuk Produk */
.highpower-grid {
    display: grid;
    /* Membuat kolom otomatis: minimal lebar 300px, maksimal memenuhi layar */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Kartu Produk Individual */
.hp-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column; /* Susunan vertikal (Gambar atas, Teks bawah) */
}

.hp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

/* Gambar Produk dalam Kartu */
.hp-img {
    height: 250px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.hp-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Gambar utuh tidak gepeng */
    transition: transform 0.3s;
}

.hp-card:hover .hp-img img {
    transform: scale(1.05);
}

/* Informasi Produk */
.hp-info {
    padding: 20px;
    flex-grow: 1; /* Mengisi sisa ruang agar tinggi kartu seragam */
}

.hp-info h3 {
    margin: 0 0 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* List Spesifikasi Singkat */
.spec-summary {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-summary li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eee;
    padding-bottom: 5px;
}

.spec-summary li strong {
    color: #333;
    font-weight: 600;
}
/* =======================================================
   STYLE KHUSUS HALAMAN KONTAK (PROFESIONAL)
   ======================================================= */

.page-title {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.intro-text {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* GRID KARTU KONTAK */
.contact-grid-wrapper {
    display: grid;
    /* Otomatis 3 kolom di desktop, 1 kolom di HP */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* DESAIN KARTU */
.contact-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin: 10px 0 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.link-highlight {
    color: #25D366 !important; /* Warna WA */
    font-weight: bold !important;
    font-size: 1.1rem;
}

/* MAP SECTION */
.map-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Responsive Map Wrapper (Agar Rasio Peta Bagus di HP) */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    position: relative;
    height: 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
/* =========================
   MOBILE MENU FIX
========================= */
@media (max-width: 768px) {

  .menu {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    background: #1e5a84 !important;
  }

  .menu ul {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    background: none !important;
  }

  .menu ul li {
    float: none !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  .menu a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 10px !important;
    font-size: 15px !important;
    color: #ffffff !important;
  }

  .menu a:hover,
  .menu .click a {
    background: rgba(255,255,255,.15) !important;
    color: #ffffff !important;
  }

  .menu span {
    display: none !important;
  }

}
/* =======================================================
   STYLE KHUSUS HALAMAN TIANG PJU (FACTORY INTRO)
   ======================================================= */

/* Kotak Intro Pabrikasi */
.intro-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.intro-box h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.intro-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: justify;
}

/* Galeri Pabrik (TKDN & Welding) */
.factory-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Kolom kiri (TKDN) lebih kecil dari kanan (Welding) */
    gap: 30px;
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.factory-gallery h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Bagian Sertifikat TKDN */
.tkdn-cert img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.tkdn-cert img:hover {
    transform: scale(1.05);
}

/* Bagian Proses Welding */
.weld-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.weld-img-grid img {
    width: 100%;
    height: 180px; /* Tinggi seragam */
    object-fit: cover;
    border-radius: 4px;
}

.caption {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* RESPONSIVE UNTUK HP */
@media (max-width: 768px) {
    .factory-gallery {
        grid-template-columns: 1fr; /* Jadi 1 kolom tumpuk */
    }
    
    .weld-img-grid {
        grid-template-columns: 1fr; /* Gambar welding jadi atas bawah */
    }
}

/* =======================================================
   STYLE TAMBAHAN (LIST & SPECS)
   ======================================================= */

/* Checklist Grid untuk Intro */
.check-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolom */
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list-grid li {
    font-size: 0.95rem;
    color: #444;
}

/* Mini Spesifikasi di Card Produk */
.spec-mini {
    list-style: none;
    padding: 0;
    margin: 10px 0 15px 0;
    font-size: 0.9rem;
    color: #555;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #ddd;
}

.spec-mini li {
    margin-bottom: 5px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 2px;
}

.spec-mini li:last-child {
    border-bottom: none;
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .check-list-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom di HP */
    }
}
/* Intro Box (Jika belum ada) */
.intro-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}
.intro-box h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* Spec Mini (List Spesifikasi Singkat) */
.spec-mini {
    list-style: none;
    padding: 0;
    margin: 10px 0 15px 0;
    font-size: 0.9rem;
    color: #555;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #ddd;
}
.spec-mini li {
    margin-bottom: 5px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 2px;
}

/* Grid Gambar (Untuk IES Diagram) */
.weld-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.weld-img-grid img {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Agar grafik IES tidak terpotong */
    border-radius: 4px;
}

}
/* ===== Factory Gallery Layout ===== */
.factory-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

/* Sertifikat TKDN */
.tkdn-section h4 {
    margin-bottom: 10px;
}

.tkdn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap; /* biar turun rapi di mobile */
}

.tkdn-row img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    background: #fff;
}

/* Proses produksi */
.welding-process h4 {
    margin-bottom: 10px;
}

.weld-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.weld-img-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.caption {
    margin-top: 10px;
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .tkdn-row {
        justify-content: center;
    }

    .tkdn-row img {
        max-width: 160px;
    }

    .weld-img-grid {
        grid-template-columns: 1fr;
    }
}
/* Wrapper utama galeri */
.factory-gallery {
    display: block;   /* PENTING: bukan grid / bukan 2 kolom */
    margin-top: 20px;
}

/* ===== Sertifikat TKDN ===== */
.tkdn-section {
    margin-bottom: 28px;
}

.tkdn-row{
    flex-wrap:wrap;
    justify-content:center;
}

.tkdn-row img {
    width: 220px;
    min-width: 220px;     /* <-- kunci lebar supaya tidak nyempit & turun */
    height: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    background: #fff;
}

/* ===== Proses Produksi ===== */
.welding-process {
    margin-top: 10px;
}

.weld-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.weld-img-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.caption {
    margin-top: 10px;
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
}
.content-text h3 {
  font-size: 1.35rem;
  margin: 6px 0 12px;
  color: #111;
}

.content-text h4 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: #222;
  border-left: 4px solid #1f4fd8; /* aksen brand */
  padding-left: 10px;
}

.content-text p {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.content-text ul {
  margin: 8px 0 14px 22px;
}

.content-text li {
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.content-text strong {
  color: #111;
}
.dot-list {
  list-style: none;
  padding-left: 0;
}

.dot-list li::before {
  content: ". ";
  font-weight: bold;
}
/* === Global Section Layout === */
.section-block {
  padding: 5px 20px;
}

.bg-light {
  background: #f7f9fc;
}

.content-box {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 18px;
  color: #1f2933;
}

.content-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

/* === Bullet List Styling === */
.dot-list {
  margin: 20px 0 20px 20px;
  padding: 0;
}

.dot-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15.5px;
  color: #333;
}

/* === Section Note === */
.section-note {
  margin-top: 20px;
  font-style: italic;
  color: #555;
}

/* === Mobile Optimization === */
@media (max-width: 768px) {
  .section-block {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 22px;
  }
}
.model-smart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.model-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model-image-box {
  width: 100%;
  height: 220px;              /* KUNCI: semua gambar tinggi sama */
  border-radius: 12px;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.model-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;       /* KUNCI: gambar tidak loncat-loncat */
}

.model-card h4 {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1f3a5f;
}

.model-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  flex-grow: 1;              /* KUNCI: tinggi card jadi sama */
}


.mobile-menu-toggle{
    position: relative;
    z-index: 99999;
}
.gallery-header{
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 35px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.gallery-header h1{
    margin-bottom: 15px;
}

.gallery-header p{
    line-height: 1.8;
    color: #555;
}
