/* =========================================
   STYLE HALAMAN GALLERY (Delivery Order)
   ========================================= */

/* --- 1. BANNER DINAMIS --- */
.gallery-banner {
    height: 350px; /* Disamakan dengan banner price list & models */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px; /* Jarak agar tidak tertutup navbar */
}

.gallery-banner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.4); /* Overlay agar teks banner terbaca jelas */
}

/* Mengikuti aturan ketat dari banner Price List */
.gallery-banner-overlay h1 { 
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 5px; 
}

.gallery-banner-overlay p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* --- 2. CARD & GAMBAR --- */
.gallery-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0; 
    transition: 0.3s;
    height: 100%;
    box-shadow: none;
}

/* Efek hover dengan bingkai Merah Mitsubishi */
.gallery-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; 
    border-color: #cb0c0c !important; /* Merah Mitsubishi dari price list */
}

.gallery-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Rasio foto persegi sempurna */
    overflow: hidden;
    background-color: #f8f9fa;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* --- 3. CAPTION / TEKS KETERANGAN FOTO --- */
.gallery-caption {
    background: #fff;
    text-align: center;
    padding: 15px 12px;
}

.gallery-caption .gallery-title {
    font-weight: 700;
    font-size: 16px;
    color: #222;
    text-transform: none; /* Memastikan judul foto tidak uppercase */
    margin-bottom: 5px;
}

.gallery-caption .gallery-desc {
    font-weight: 400;
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

/* --- 4. JUDUL HALAMAN (DELIVERY ORDER) --- */
/* Dipaksa agar sama dengan patokan Price List */
.section-title {
    font-size: 24px !important; 
    font-weight: 700 !important; 
    text-transform: none !important; /* Mencegah huruf besar semua */
    color: #222 !important; 
    margin-bottom: 5px;
    display: block;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #cb0c0c; /* Merah Mitsubishi */
    margin: 15px auto 0;
}

/* --- 5. RESPONSIVE MOBILE (HP) --- */
@media (max-width: 768px) {
    .gallery-banner { height: 250px; }
    .gallery-banner-overlay h1 { font-size: 2.5rem; letter-spacing: 2px; }
    
    .section-title { font-size: 20px !important; }
    .gallery-caption { padding: 12px 10px !important; }
    .gallery-caption .gallery-title { font-size: 14px; }
    .gallery-caption .gallery-desc { font-size: 12px; }
}