/* --- MINERIUM DETAIL PAGE: INDUSTRIAL PREMIUM STYLE --- */

/* 1. RESET & GLOBAL STYLES */
body.detail-page {
    background: #3b0202; /* Hitam pekat */
    color: #fff;
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. NAVIGATION: BACK BUTTON */
.back-btn {
    position: fixed;
    top: 100px;
    left: 40px;
    z-index: 1000;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    padding: 10px 15px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.back-btn:hover {
    color: #ffcd00;
    padding-left: 20px;
}

/* 3. HERO SECTION */
.detail-hero {
    position: relative;
    height: 65vh;
    width: 100%;
    overflow: hidden;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero .overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #3b0202 5%, oklch(25.112% 0.10127 28.837 / 0.4) 50%, transparent 100%);
}

.hero-text {
    position: absolute;
    bottom: 60px;
    left: 7.5%;
    z-index: 10;
}

.category-tag {
    color: #ffcd00;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-top: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

/* 4. CONTENT: OVERVIEW GRID */
.detail-content {
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 5px;
    background: #ffcd00;
}

.main-desc p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
    text-align: justify;
}

/* 5. SPLIT FEATURE (TEXT LEFT, IMAGE RIGHT) */
.split-feature {
    padding: 100px 0;
    background: #3b0202; /* Kontras sedikit dengan background utama */
    margin-bottom: 80px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-text .sub-title {
    color: #ffcd00;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.split-text p {
    font-size: 17px;
    color: #aaa;
    line-height: 1.8;
}

.split-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-left: 10px solid #ffcd00; /* Aksen Industrial */
    box-shadow: 20px 20px 0px rgba(255, 205, 0, 0.05);
}

/* 6. TECHNICAL SPECS CARD */
.tech-specs {
    background: #1a1a1a;
    padding: 35px;
    border-top: 4px solid #ffcd00;
    height: fit-content;
}

.tech-specs h3 {
    margin-bottom: 25px;
    font-size: 16px;
    letter-spacing: 2px;
    color: #ffcd00;
    text-transform: uppercase;
}

.tech-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-specs li {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.tech-specs li span {
    color: #777;
    font-weight: 400;
}

/* 7. GALLERY SECTION */
.detail-gallery {
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.gallery-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
    z-index: 2;
}

/* 8. GALLERY FOOTER & CTA */
.gallery-footer {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 50px;
}

.gallery-footer p {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-outline-yellow {
    display: inline-block;
    padding: 18px 45px;
    border: 2px solid #ffcd00;
    color: #ffcd00;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-outline-yellow:hover {
    background: #ffcd00;
    color: #390000;
    transform: translateY(-5px);
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .info-grid, .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .split-image img {
        height: 350px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container { width: 90%; }
    .hero-text h1 { font-size: 32px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .back-btn { left: 20px; top: 80px; }
}

/* --- MOBILE SHORTCUT MODE (768px kebawah) --- */
@media (max-width: 768px) {
    /* 1. Sembunyikan Grid Foto agar hemat ruang */
    .gallery-grid {
        display: none !important;
    }

    /* 2. Ubah area Galeri menjadi Kotak Shortcut yang Bersih */
    .detail-gallery {
        padding: 40px 20px 120px 20px !important; /* Jarak bawah ekstra untuk tombol WA */
        background: #111; /* Beri warna background beda agar terlihat seperti section baru */
        text-align: center;
    }

    /* 3. Percantik Teks Ajakan */
    .gallery-footer p {
        font-size: 14px;
        color: #fff;
        margin-bottom: 20px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    /* 4. Ubah Tombol Menjadi Shortcut Mencolok (Gaya Hamburger/Floating) */
    .btn-outline-yellow {
        display: block;
        width: 100%;
        background: #ffcd00; /* Ubah jadi warna penuh agar kontras di HP */
        color: #000 !important;
        padding: 20px 0;
        font-size: 14px;
        font-weight: 900;
        border: none;
        border-radius: 4px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        text-transform: uppercase;
    }

    /* 5. Hindari Tabrakan dengan Tombol WhatsApp */
    /* Kita geser tombol WA sedikit agar tidak menutupi tombol See More */
    .whatsapp-float { /* Ganti class ini sesuai nama class tombol WA kamu */
        bottom: 20px !important;
        right: 20px !important;
        transform: scale(0.9);
    }
}