/* ============================================================
   SINGLE-LAYANAN.CSS - Khusus Halaman Provinsi
   File ini hanya dimuat di single Post Type "layanan"
   Tanpa selector body.single-layanan untuk efisiensi
   ============================================================ */

/* ============================================================
   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
   ============================================================ */
.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: #c0392b;
    text-decoration: underline;
}

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

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

/* ============================================================
   5. HERO SECTION (Split Layout)
   ============================================================ */
.hero-provinsi {
    background: #fcfcfc;
    padding: 40px 0 30px 0;
    margin-bottom: 30px;
    border-bottom: 4px solid #e74c3c;
}

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

/* Kolom Kiri - Teks */
.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-top: 0;
    margin-bottom: 15px;
    padding: 0;
    border: none;
    background: transparent;
}

.hero-title strong {
    color: #c0392b;
}

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

/* Tombol CTA */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: #c0392b;
    color: #ffffff !important;
    border-color: #c0392b;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.btn-primary:hover {
    background: #a93226;
    border-color: #a93226;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(192, 57, 43, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #c0392b !important;
    border-color: #c0392b;
}

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

/* Kolom Kanan - Gambar */
.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);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Placeholder */
.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;
}

/* ============================================================
   6. CONTENT BODY (Konten Paragraf di Bawah Hero)
   ============================================================ */
.content-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.content-body .this_content h1 {
    display: none; /* Sembunyikan H1 di konten karena sudah ada di Hero */
}

.content-body .this_content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #e74c3c;
}

.content-body .this_content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c0392b;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 4px solid #f1c40f;
}

.content-body .this_content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
    text-align: justify;
}

.content-body .this_content ul,
.content-body .this_content ol {
    margin: 20px 0;
    padding-left: 30px;
    list-style-type: disc;
}

.content-body .this_content li {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #333;
}

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

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

.content-body .this_content blockquote {
    border-left: 4px solid #c0392b;
    padding: 16px 24px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    color: #444;
}

.content-body .this_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-body .this_content th,
.content-body .this_content td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
}

.content-body .this_content th {
    background: #f1f5f9;
    font-weight: 600;
}

/* ============================================================
   7. 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;
}

/* ============================================================
   8. RESPONSIVE
   ============================================================ */

/* Tablet - 768px */
@media (max-width: 768px) {
    .hero-provinsi {
        padding: 25px 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

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

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

    .hero-img {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }

    .hero-placeholder {
        max-width: 100%;
    }

    .content-body {
        padding: 0 15px 30px;
    }

    .content-body .this_content h2 {
        font-size: 1.4rem;
    }

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

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

    .breadcrumb-wrap nav {
        font-size: 13px;
    }

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

    /* Opsi: Gambar di atas teks di HP */
    /* .hero-image { order: -1; } */
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .hero-provinsi {
        padding: 20px 0;
    }

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

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

    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .content-body {
        padding: 0 12px 20px;
    }

    .content-body .this_content h2 {
        font-size: 1.2rem;
    }

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

    .content-body .this_content p,
    .content-body .this_content li {
        font-size: 0.95rem;
    }

    .breadcrumb-wrap {
        padding: 8px 0;
    }

    .breadcrumb-wrap nav {
        font-size: 12px;
    }

    footer .footer-links {
        gap: 4px 10px;
    }

    footer .footer-links a {
        font-size: 0.8rem;
    }

    footer p {
        font-size: 0.75rem;
    }
}

/* Mobile sangat kecil - 360px */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }

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

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

    .content-body .this_content p,
    .content-body .this_content li {
        font-size: 0.9rem;
    }
}

/* ============================================================
   9. MAIN CONTENT OVERRIDE (untuk menjaga konsistensi)
   ============================================================ */
.main_content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* =========================================
   CTA SECTION - Custom untuk Topi Drumband
   ========================================= */

.cta-section {
    /* Background gradasi premium dark blue ke ungu */
  
    padding: 70px 20px;
    text-align: center;
    color: #ffffff;
    margin: 50px 0;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Efek dekoratif garis/pattern (opsional, memberi kesan dinamis) */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(37, 211, 102, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== JUDUL ===== */
.cta-section h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ===== PARAGRAF ===== */
.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.92;
    color: #D1D5DB;
}

/* ===== TOMBOL WHATSAPP ===== */
.cta-btn {
    display: inline-block;
    background: #25D366; /* Hijau WhatsApp */
    color: #ffffff;
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

/* Efek Hover (saat cursor di atas tombol) */
.cta-btn:hover {
    background: #128C7E; /* Hijau WhatsApp lebih tua */
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

/* Efek Klik (active) */
.cta-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ===== RESPONSIVE (Mobile & Tablet) ===== */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 15px;
        margin: 30px 0;
        border-radius: 12px;
    }

    .cta-section h3 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 16px;
        padding: 0 10px;
        margin-bottom: 25px;
    }

    .cta-btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
}

/* Untuk layar sangat kecil (HP di bawah 480px) */
@media (max-width: 480px) {
    .cta-section h3 {
        font-size: 20px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}