/* ============================================================
   CSS PORTOFOLIO - TOPI DRUMBAND (VERSI FINAL)
   Terpadu untuk Pasukan, Colorguard, Mayoret
   Grid: 4 kolom (desktop) ? 3 (tablet) ? 2 (mobile)
   LIGHTBOX: Sudah diperbaiki z-index & posisi
   ============================================================ */

/* ============================================================
   1. RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   2. SKIP LINK (Aksesibilitas Keyboard)
   ============================================================ */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: bold;
    z-index: 99999;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: #ffffff;
    background: #e63946;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ============================================================
   3. HEADER
   ============================================================ */
.linggis_header {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 1000;
}

.site-branding {
    display: inline-block;
}

.logoku {
    max-height: 60px;
    width: auto;
}

/* ============================================================
   4. BREADCRUMB
   ============================================================ */
.breadcrumb-wrap {
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
    margin-bottom: 20px;
}

.breadcrumb-wrap .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-wrap nav {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.breadcrumb-wrap nav a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-wrap nav a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.breadcrumb-wrap nav span {
    margin: 0 6px;
    color: #999;
}

.breadcrumb-wrap nav .current {
    color: #d4af37;
    font-weight: 600;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero-page {
    padding: 60px 0 50px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-pasukan .hero-page {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
}
.page-pasukan .hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
}

.page-colorguard .hero-page {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
}
.page-colorguard .hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.10) 0%, transparent 60%);
}

.page-mayoret .hero-page {
    background: linear-gradient(145deg, #2d1b3d 0%, #1a0f2a 100%);
}
.page-mayoret .hero-page::after {
    content: '? ? ?';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    letter-spacing: 24px;
    opacity: 0.08;
    color: #d4a0ff;
}

.hero-page h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero-page .hero-desc {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 8px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.hero-page .hero-sub {
    font-size: 0.95rem;
    opacity: 0.65;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.hero-page img {
    margin: 24px auto 0;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    max-width: 90%;
    position: relative;
    z-index: 1;
}

/* ============================================================
   6. INTRO
   ============================================================ */
.intro-section {
    padding: 50px 0 30px;
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 1.8rem;
    color: #111827;
    margin: 20px 0 16px;
}

.intro-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

.intro-content strong {
    color: #1f2937;
}

.intro-content img {
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ============================================================
   7. GALERI - 4 KOLOM
   ============================================================ */
.gallery-wrap {
    padding: 40px 0 20px;
    background: #f8fafc;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
    border-color: #38bdf8;
}

.page-mayoret .gallery-item:hover {
    border-color: #d4a0ff;
    box-shadow: 0 24px 60px rgba(45, 27, 61, 0.14);
}

.gallery-item a {
    display: block;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    background: #f1f5f9;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.40), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 0 0 16px 16px;
    z-index: 1;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item a::after {
    content: '??';
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #0f172a;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover a::after {
    opacity: 1;
}

.card-body {
    padding: 16px 18px 20px;
}

.card-body h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #111827;
    font-weight: 600;
}

.card-body .card-desc {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 6px;
}

.card-body .card-tag {
    display: inline-block;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 12px;
    border-radius: 20px;
    background: #e0e7ff;
    color: #1d4ed8;
}

.page-mayoret .card-body .card-tag {
    background: #ede7f5;
    color: #7c3aed;
}

.page-colorguard .card-body .card-tag {
    background: #dbeafe;
    color: #0284c7;
}

/* ============================================================
   8. LIGHTBOX (Sudah diperbaiki!)
   ============================================================ */
/* ============================================================
   LIGHTBOX - CENTER VERTIKAL SEMPURNA DI BAWAH HEADER
   ============================================================ */

/* PASTIKAN HEADER DI ATAS LIGHTBOX */

/* OVERLAY - posisi di bawah header dengan margin tambahan */
#lightbox.lightbox-overlay {
    display: none !important;
    position: fixed !important;
    top: 90px !important; /* tambah jarak sedikit dari header */
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 100px) !important; /* kurangi 100px untuk jarak atas & bawah */
    background: rgba(0, 0, 0, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    cursor: zoom-out !important;
    overflow: hidden !important;
}

#lightbox.lightbox-overlay.active {
    display: flex !important;
}

/* KONTAINER - FLEX CENTER SEMPURNA */
#lightbox .lightbox-content {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important; /* horizontal layout */
    gap: 0 !important;
}

/* WRAPPER GAMBAR - ukuran sesuai gambar */
#lightbox .lightbox-image-wrapper {
    position: relative !important;
    display: flex !important; /* GANTI dari inline-block ke flex */
    align-items: center !important;
    justify-content: center !important;
    max-width: 90% !important;
    max-height: 82vh !important;
    line-height: 0 !important;
    transform: none !important;
    will-change: auto !important;
    flex-shrink: 0 !important;
}

/* GAMBAR - center sempurna, tidak terpotong */
#lightboxImg {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 4px !important;
    user-select: none !important;
    pointer-events: none !important;
    transform: none !important;
    will-change: auto !important;
    margin: auto !important; /* tambahan untuk center */
}

/* ========== TOMBOL CLOSE (?) - DI DALAM GAMBAR ========== */
#lightbox .lightbox-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(6px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    padding: 0 !important;
    pointer-events: auto !important;
}

#lightbox .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: rotate(90deg) scale(1.1) !important;
    border-color: #ffffff !important;
}

/* ========== TOMBOL NAVIGASI ========== */
#lightbox .lightbox-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
}

#lightbox .lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

#lightbox .lightbox-prev {
    left: 30px !important;
}

#lightbox .lightbox-next {
    right: 30px !important;
}

/* ========== COUNTER ========== */
#lightbox .lightbox-counter {
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 6px 24px !important;
    border-radius: 30px !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 5 !important;
    pointer-events: none !important;
    user-select: none !important;
}

/* ============================================================
   RESPONSIVE - SESUAIKAN TINGGI HEADER
   ============================================================ */

@media (max-width: 768px) {
    #lightbox.lightbox-overlay {
        top: 80px !important;
        height: calc(100vh - 90px) !important;
    }

    #lightbox .lightbox-close {
        top: 8px !important;
        right: 8px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 20px !important;
    }

    #lightbox .lightbox-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
    }

    #lightbox .lightbox-prev {
        left: 16px !important;
    }

    #lightbox .lightbox-next {
        right: 16px !important;
    }

    #lightbox .lightbox-image-wrapper {
        max-width: 96% !important;
        max-height: 80vh !important;
    }

    #lightboxImg {
        max-height: 80vh !important;
    }
}

@media (max-width: 480px) {
    #lightbox.lightbox-overlay {
        top: 70px !important;
        height: calc(100vh - 80px) !important;
        padding: 10px !important;
    }

    #lightbox .lightbox-close {
        top: 6px !important;
        right: 6px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
    }

    #lightbox .lightbox-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }

    #lightbox .lightbox-prev {
        left: 8px !important;
    }

    #lightbox .lightbox-next {
        right: 8px !important;
    }

    #lightbox .lightbox-image-wrapper {
        max-width: 98% !important;
        max-height: 72vh !important;
    }

    #lightboxImg {
        max-height: 72vh !important;
    }

    #lightbox .lightbox-counter {
        bottom: 20px !important;
        font-size: 0.75rem !important;
        padding: 4px 16px !important;
    }
}
/* ============================================================
   9. ARTIKEL
   ============================================================ */
.article-section {
    padding: 30px 0 50px;
    background: #f9fafb;
}

.page-mayoret .article-section {
    background: #faf8fc;
}

.page-colorguard .article-section {
    background: #f8fafc;
}

.article-content {
    max-width: 850px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #111827;
    margin-bottom: 16px;
}

.article-content h3 {
    font-size: 1.2rem;
    color: #111827;
    margin: 24px 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-content h3 .icon {
    font-size: 1.4rem;
}

.article-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-content strong {
    color: #1f2937;
}

/* ============================================================
   10. TABEL
   ============================================================ */
.table-wrap {
    overflow-x: auto;
    margin: 20px 0 30px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
}

.comparison-table thead {
    background: #1d4ed8;
    color: #ffffff;
}

.page-mayoret .comparison-table thead {
    background: #7c3aed;
}

.page-colorguard .comparison-table thead {
    background: #0f172a;
}

.comparison-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 16px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.comparison-table .label {
    font-weight: 500;
    color: #111827;
}

/* ============================================================
   11. TIP BOX
   ============================================================ */
.tip-box {
    padding: 20px 24px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid #1d4ed8;
    background: #e0e7ff;
}

.page-mayoret .tip-box {
    border-left-color: #7c3aed;
    background: #ede7f5;
}

.page-colorguard .tip-box {
    border-left-color: #0284c7;
    background: #dbeafe;
}

.tip-box p {
    font-weight: 500;
    margin: 0;
    color: #1e3a8a;
}

.page-mayoret .tip-box p { color: #2d1b3d; }
.page-colorguard .tip-box p { color: #0f172a; }

.tip-box a {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ============================================================
   12. CTA
   ============================================================ */
.cta-section {
    padding: 50px 0;
    background: #111827;
    color: #ffffff;
    text-align: center;
}

.page-mayoret .cta-section {
    background: #2d1b3d;
}

.page-colorguard .cta-section {
    background: #0f172a;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section .cta-desc {
    max-width: 600px;
    margin: 0 auto 28px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: #FF8000;
    color: #ffffff;
    padding: 14px 48px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: #e67300;
    transform: translateY(-2px);
}

.page-mayoret .cta-btn,
.page-colorguard .cta-btn {
    background: #25d366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.30);
}

.page-mayoret .cta-btn:hover,
.page-colorguard .cta-btn:hover {
    background: #1ebe5d;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ============================================================
   13. ANIMASI
   ============================================================ */
.gallery-item {
    animation: fadeInUp 0.8s ease both;
}

.gallery-item:nth-child(1)  { animation-delay: 0.04s; }
.gallery-item:nth-child(2)  { animation-delay: 0.08s; }
.gallery-item:nth-child(3)  { animation-delay: 0.12s; }
.gallery-item:nth-child(4)  { animation-delay: 0.16s; }
.gallery-item:nth-child(5)  { animation-delay: 0.20s; }
.gallery-item:nth-child(6)  { animation-delay: 0.24s; }
.gallery-item:nth-child(7)  { animation-delay: 0.28s; }
.gallery-item:nth-child(8)  { animation-delay: 0.32s; }
.gallery-item:nth-child(9)  { animation-delay: 0.36s; }
.gallery-item:nth-child(10) { animation-delay: 0.40s; }
.gallery-item:nth-child(11) { animation-delay: 0.44s; }
.gallery-item:nth-child(12) { animation-delay: 0.48s; }
.gallery-item:nth-child(13) { animation-delay: 0.52s; }
.gallery-item:nth-child(14) { animation-delay: 0.56s; }
.gallery-item:nth-child(15) { animation-delay: 0.60s; }
.gallery-item:nth-child(16) { animation-delay: 0.64s; }
.gallery-item:nth-child(17) { animation-delay: 0.68s; }
.gallery-item:nth-child(18) { animation-delay: 0.72s; }
.gallery-item:nth-child(19) { animation-delay: 0.76s; }
.gallery-item:nth-child(20) { animation-delay: 0.80s; }
.gallery-item:nth-child(21) { animation-delay: 0.84s; }
.gallery-item:nth-child(22) { animation-delay: 0.88s; }
.gallery-item:nth-child(23) { animation-delay: 0.92s; }
.gallery-item:nth-child(24) { animation-delay: 0.96s; }
.gallery-item:nth-child(25) { animation-delay: 1.00s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   14. FOOTER
   ============================================================ */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
    margin-top: 20px;
    border-top: 1px solid #1e293b;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
}

footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #ffffff;
}

footer .footer-links span {
    color: #334155;
    user-select: none;
}

footer p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

/* ============================================================
   15. RESPONSIVE - 4 KOLOM ? 3 ? 2
   ============================================================ */

/* Tablet besar - 1024px: 3 kolom */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .gallery-item img {
        height: 220px;
    }
}

/* Tablet kecil - 768px: 2 kolom */
@media (max-width: 768px) {
    .hero-page h1 {
        font-size: 2rem;
    }
    .hero-page .hero-desc {
        font-size: 1rem;
    }

    .intro-content h2,
    .article-content h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .gallery-item img {
        height: 180px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
    .cta-btn {
        padding: 12px 32px;
        font-size: 1rem;
    }

    .breadcrumb-wrap nav {
        font-size: 13px;
    }
    .breadcrumb-wrap nav span {
        margin: 0 4px;
    }

    /* Lightbox mobile */
    .lightbox-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
    }
    .lightbox-prev { left: 12px !important; }
    .lightbox-next { right: 12px !important; }
    .lightbox-close {
        top: 20px !important;
        right: 20px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
    }
    #lightboxImg {
        max-width: 94% !important;
        max-height: 75vh !important;
    }
    .lightbox-counter {
        bottom: 18px !important;
        font-size: 0.8rem !important;
        padding: 4px 16px !important;
    }
}

/* Mobile - 480px: 2 kolom (tetap) */
@media (max-width: 480px) {
    .hero-page {
        padding: 40px 0 30px;
    }
    .hero-page h1 {
        font-size: 1.6rem;
    }
    .hero-page .hero-desc {
        font-size: 0.9rem;
    }

    .intro-section {
        padding: 30px 0 20px;
    }
    .intro-content h2,
    .article-content h2 {
        font-size: 1.3rem;
    }
    .intro-content p,
    .article-content p {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item img {
        height: 150px;
    }
    .card-body {
        padding: 10px 12px 14px;
    }
    .card-body h4 {
        font-size: 0.85rem;
    }
    .card-body .card-desc {
        font-size: 0.7rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-body .card-tag {
        font-size: 0.6rem;
        padding: 1px 10px;
    }

    .section-title {
        font-size: 1.4rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .tip-box {
        padding: 16px 18px;
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 1.3rem;
    }
    .cta-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    .container {
        padding: 0 16px;
    }

    .breadcrumb-wrap {
        padding: 8px 0;
    }
    .breadcrumb-wrap nav {
        font-size: 12px;
    }
    .breadcrumb-wrap nav a,
    .breadcrumb-wrap nav .current {
        display: inline-block;
        padding: 2px 0;
    }

    /* Lightbox mobile kecil */
    .lightbox-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    .lightbox-prev { left: 6px !important; }
    .lightbox-next { right: 6px !important; }
    .lightbox-close {
        top: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    #lightboxImg {
        max-width: 98% !important;
        max-height: 65vh !important;
    }
    .lightbox-counter {
        bottom: 12px !important;
        font-size: 0.7rem !important;
        padding: 3px 14px !important;
    }
}

/* Mobile sangat kecil - 360px */
@media (max-width: 360px) {
    .gallery-grid {
        gap: 6px;
    }
    .gallery-item img {
        height: 120px;
    }
    .card-body h4 {
        font-size: 0.75rem;
    }
    .card-body .card-desc {
        font-size: 0.65rem;
    }
    .card-body .card-tag {
        font-size: 0.55rem;
        padding: 1px 8px;
    }
    .hero-page h1 {
        font-size: 1.4rem;
    }
}

/* ============================================================
   16. OVERRIDE UNTUK GALLERY WORDPRESS
   ============================================================ */
#gallery-1.gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
}

#gallery-1 .gallery-item {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

#gallery-1 img {
    border: none !important;
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
}

#gallery-1 br {
    display: none !important;
}

/* ============================================================
   17. CATALOG / KATEGORI PAGE
   ============================================================ */
.main_content.category {
    background: #f9f8f6;
    padding-bottom: 60px;
}

.main_content.category .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 0 30px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.page-hero h1 a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero h1 a:hover {
    color: #f0d060;
    text-decoration: underline;
}

.page-hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #c0c0d0;
    max-width: 700px;
    margin: 0 auto 20px;
}

.linggis_top {
    margin: 20px 0 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.linggis_top img.head {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.linggis_top img.head:hover {
    transform: scale(1.02);
}

.this_content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.cats-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.cats-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #d4af37;
}

.cats-item .wp-post-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cats-item:hover .wp-post-image {
    transform: scale(1.03);
}

.cats-item h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 16px 20px 10px;
    line-height: 1.4;
}

.cats-item h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cats-item h2 a:hover {
    color: #d4af37;
}

.cats-item .taxoe {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px;
    margin: 6px 0 10px;
    font-size: 13px;
}

.cats-item .taxoe a {
    color: #888;
    text-decoration: none;
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cats-item .taxoe a:hover {
    background: #d4af37;
    color: #ffffff;
}

.cats-item .taxoe a:first-child {
    background: #d4af37;
    color: #ffffff;
}

.cats-item .taxoe a:first-child:hover {
    background: #b8982e;
}

.cats-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    padding: 0 20px 20px;
    margin: 0;
    flex: 1;
}

.cats-item p a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.cats-item p a:hover {
    text-decoration: underline;
}

.navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.navigation .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.navigation .page-numbers:hover {
    background: #d4af37;
    color: #ffffff;
}

.navigation .page-numbers.current {
    background: #d4af37;
    color: #ffffff;
}

.navigation .page-numbers.dots {
    background: transparent;
}

/* ============================================================
   18. RESPONSIVE CATALOG
   ============================================================ */
@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-hero h1 {
        font-size: 30px;
    }
    .page-hero p {
        font-size: 16px;
    }
    .cats-item .wp-post-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 30px 0 20px;
    }
    .page-hero h1 {
        font-size: 24px;
    }
    .page-hero p {
        font-size: 15px;
        padding: 0 15px;
    }
    .this_content {
        padding: 20px 0;
        margin-top: -10px;
    }
    .cat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cats-item .wp-post-image {
        height: 200px;
    }
    .cats-item h2 {
        font-size: 18px;
        margin: 12px 16px 8px;
    }
    .cats-item p {
        font-size: 14px;
        padding: 0 16px 16px;
    }
    .cats-item .taxoe {
        padding: 0 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 20px;
    }
    .page-hero p {
        font-size: 14px;
    }
    .cats-item .wp-post-image {
        height: 180px;
    }
    .cats-item h2 {
        font-size: 16px;
    }
    .navigation .page-numbers {
        padding: 6px 12px;
        font-size: 13px;
    }
}
/* ============================================================
   TENTANG KAMI PAGE
   ============================================================ */

.about-hero {
    padding: 60px 0 50px;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.about-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-hero .hero-content {
    flex: 1;
}

.about-hero .badge-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-hero h1 span {
    color: #d4af37;
}

.about-hero .hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 580px;
    line-height: 1.8;
}

.about-hero .hero-image {
    flex: 1;
}

.about-hero .hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    height: auto;
}

/* VISI & MISI */
.about-vision {
    padding: 60px 0;
    background: #f8fafc;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-item {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.vision-item .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.vision-item h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.vision-item p {
    color: #4b5563;
    line-height: 1.8;
}

.vision-item ul {
    padding-left: 20px;
    color: #4b5563;
    line-height: 2;
}

/* KISAH KAMI */
.about-story {
    padding: 60px 0;
    background: #ffffff;
}

.about-story h2 {
    font-size: 2rem;
    color: #0f172a;
    text-align: center;
    margin-bottom: 30px;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.story-content strong {
    color: #0f172a;
}

/* KEUNGGULAN */
.about-advantages {
    padding: 60px 0;
    background: #f8fafc;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.advantage-item {
    background: #ffffff;
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.advantage-item .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.advantage-item h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.advantage-item p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* TIM */
.about-team {
    padding: 60px 0;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.team-item {
    text-align: center;
    padding: 20px;
}

.team-item img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.team-item h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.team-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* STATISTIK */
.about-stats {
    padding: 50px 0;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 4px;
}

.stat-item .label {
    font-size: 1rem;
    opacity: 0.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero .hero-desc {
        margin: 0 auto;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .advantage-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item .number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-item .number {
        font-size: 1.6rem;
    }
}

/* ============================================================
   HALAMAN KONTAK
   ============================================================ */

.contact-hero {
    padding: 60px 0 50px;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.contact-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.contact-hero .hero-content {
    flex: 1;
}

.contact-hero .badge-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-hero h1 span {
    color: #d4af37;
}

.contact-hero .hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 580px;
    line-height: 1.8;
}

.contact-hero .hero-image {
    flex: 1;
}

.contact-hero .hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    height: auto;
}

/* CONTACT SECTION */
.contact-section {
    padding: 60px 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Contact Info */
.contact-info h2 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.contact-info > p {
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-item .icon {
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.contact-item a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #d4af37;
}

/* Social Icons */
.contact-social {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-social .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-social .wa { color: #25D366; }
.contact-social .ig { color: #E4405F; }
.contact-social .fb { color: #1877F2; }

/* Contact CTA */
.contact-cta {
    background: #e0f2fe;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
}

.contact-cta p {
    margin-bottom: 12px;
    color: #0f172a;
}

.contact-cta .btn-wa {
    display: inline-block;
    background: #25D366;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-cta .btn-wa:hover {
    background: #1ebe5d;
}

/* Contact Form */
.contact-form h2 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.contact-form > p {
    color: #6b7280;
    margin-bottom: 24px;
}

.form-success {
    background: #dcfce7;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #22c55e;
}

.form-success p {
    margin: 0;
    color: #166534;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: #d4af37;
    color: #ffffff;
    padding: 14px 36px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #b8982e;
    transform: translateY(-2px);
}

/* MAP */
.contact-map {
    padding: 60px 0;
    background: #ffffff;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero .hero-desc {
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        gap: 12px;
    }

    .contact-social {
        justify-content: center;
    }

    .map-wrapper iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.6rem;
    }

    .contact-item {
        padding: 10px 14px;
    }

    .contact-item .icon {
        font-size: 1.2rem;
    }

    .contact-cta {
        padding: 16px 18px;
    }

    .btn-submit {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ///////////////////////////////////////////////////// jangkauan-layanan //////////////////////////// */

/* ==========================================
   HERO SECTION - JANGKAUAN LAYANAN
   ========================================== */

.hero-jangkauan {
    background: #f8f9fa;
    padding: 50px 0 40px;
    border-bottom: 4px solid #e74c3c;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Teks Kiri */
.hero-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-buttons .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: #c0392b;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #c0392b;
}

.hero-buttons .btn-primary:hover {
    background: #a93226;
    border-color: #a93226;
    transform: translateY(-3px);
}

.hero-buttons .btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: #c0392b;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #c0392b;
}

.hero-buttons .btn-secondary:hover {
    background: #c0392b;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Gambar Kanan */
.hero-image {
    flex: 1 1 40%;
    min-width: 250px;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.hero-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: #e9ecef;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    margin: 0 auto;
}

.hero-placeholder span {
    font-size: 4rem;
}

.hero-placeholder p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ==========================================
   GRID PROVINSI
   ========================================== */

.layanan-grid-wrap {
    padding: 40px 0 50px;
}

.grid-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.grid-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card Provinsi */
.provinsi-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.provinsi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    border-color: #c0392b;
}

.provinsi-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.provinsi-card .card-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #adb5bd;
}

.provinsi-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.provinsi-card:hover img {
    transform: scale(1.03);
}

.provinsi-card .card-body {
    padding: 16px 18px 20px;
}

.provinsi-card .card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.provinsi-card .card-excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.provinsi-card .card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c0392b;
    transition: color 0.2s ease;
}

.provinsi-card:hover .card-link {
    color: #a93226;
    text-decoration: underline;
}

.empty-message {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
    padding: 40px 0;
    grid-column: 1 / -1;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .layanan-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 25px;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-image {
        flex: 1 1 100%;
        width: 100%;
    }

    .layanan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .provinsi-card img {
        height: 150px;
    }

    .grid-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-jangkauan {
        padding: 30px 0 25px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .layanan-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .provinsi-card img {
        height: 120px;
    }

    .provinsi-card .card-body {
        padding: 10px 12px 14px;
    }

    .provinsi-card .card-title {
        font-size: 0.9rem;
    }

    .provinsi-card .card-excerpt {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }

    .provinsi-card .card-link {
        font-size: 0.75rem;
    }

    .grid-title {
        font-size: 1.3rem;
    }

    .grid-subtitle {
        font-size: 0.9rem;
    }
}

/* ==========================================
   CONTENT BODY - JANGKAUAN LAYANAN
   ========================================== */

.content-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2937;
    line-height: 1.8;
}

/* ==========================================
   PARAGRAF
   ========================================== */

.content-body p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 20px;
    text-align: justify;
}

.content-body p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a2e;
    border-left: 4px solid #c0392b;
    padding-left: 20px;
    background: #fafafa;
    padding: 16px 24px;
    border-radius: 0 8px 8px 0;
}

/* ==========================================
   HEADING
   ========================================== */

/* H2 - Sub Bab Utama */
.content-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 50px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 4px solid #c0392b;
    position: relative;
}

.content-body h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #f1c40f;
}

/* H3 - Sub Bab Kecil */
.content-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 35px;
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 5px solid #f1c40f;
}

/* H4 (jika ada) */
.content-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* ==========================================
   LIST (UL & OL)
   ========================================== */

.content-body ul,
.content-body ol {
    margin: 20px 0 25px;
    padding-left: 28px;
}

.content-body ul li,
.content-body ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 10px;
    padding-left: 6px;
}

/* List dengan bullet custom */
.content-body ul {
    list-style: none;
}

.content-body ul li {
    position: relative;
    padding-left: 28px;
}

.content-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: #c0392b;
    font-weight: 700;
    font-size: 1.2rem;
}

/* List dengan angka (OL) - rapi */
.content-body ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.content-body ol li {
    counter-increment: item;
    padding-left: 38px;
    position: relative;
}

.content-body ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: #c0392b;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 26px;
}

/* ==========================================
   STRONG / BOLD
   ========================================== */

.content-body strong {
    color: #c0392b;
    font-weight: 700;
}

/* ==========================================
   LINK
   ========================================== */

.content-body a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-body a:hover {
    color: #a93226;
    border-bottom-color: #c0392b;
}

/* ==========================================
   TABLE (Jika ada)
   ========================================== */

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0 30px;
    font-size: 0.95rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.content-body th {
    background: #1a1a2e;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.content-body td {
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.content-body tr:nth-child(even) {
    background: #f8fafc;
}

.content-body tr:hover {
    background: #f1f5f9;
}

/* ==========================================
   IMAGE (Jika ada gambar di konten)
   ========================================== */

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
}

/* ==========================================
   BLOCKQUOTE
   ========================================== */

.content-body blockquote {
    margin: 25px 0;
    padding: 16px 24px;
    background: #f8fafc;
    border-left: 5px solid #c0392b;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.content-body blockquote p {
    margin-bottom: 0;
}

/* ==========================================
   DIVIDER / HR
   ========================================== */

.content-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #c0392b, #f1c40f, transparent);
    margin: 40px 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .content-body {
        padding: 15px 16px 30px;
    }

    .content-body p {
        font-size: 1rem;
        text-align: left;
    }

    .content-body p:first-of-type {
        font-size: 1.05rem;
        padding: 14px 18px;
    }

    .content-body h2 {
        font-size: 1.5rem;
        margin-top: 35px;
    }

    .content-body h2::after {
        width: 40px;
    }

    .content-body h3 {
        font-size: 1.2rem;
        padding-left: 12px;
    }

    .content-body ul li,
    .content-body ol li {
        font-size: 0.95rem;
    }

    .content-body ol li {
        padding-left: 34px;
    }

    .content-body ol li::before {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        line-height: 22px;
    }

    .content-body table {
        font-size: 0.85rem;
    }

    .content-body th,
    .content-body td {
        padding: 8px 12px;
    }

    .content-body blockquote {
        padding: 14px 18px;
    }
}

@media (max-width: 480px) {
    .content-body {
        padding: 10px 12px 25px;
    }

    .content-body p:first-of-type {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .content-body h2 {
        font-size: 1.3rem;
        margin-top: 28px;
    }

    .content-body h3 {
        font-size: 1.1rem;
    }

    .content-body ul li,
    .content-body ol li {
        font-size: 0.9rem;
    }

    .content-body ol li::before {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        line-height: 20px;
    }

    .content-body table {
        font-size: 0.75rem;
    }

    .content-body th,
    .content-body td {
        padding: 6px 8px;
    }

    .content-body blockquote {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}