/*
 Theme Name:   GeneratePress MNC Child
 Theme URI:    https://generatepress.com
 Description:  Child theme for GeneratePress, replicating the MNC Vision layout. Lightweight and SEO-friendly.
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     generatepress
 Version:      1.0.0
 Tags:         lightweight, responsive, seo-optimized, generateblocks
*/

/* ==========================================================================
   VARIABEL WARNA GLOBAL (MNC VISION BRANDING)
   ========================================================================== */
:root {
    --mnc-blue-dark: #1e3a8a;      /* Biru Utama (Header/Footer) */
    --mnc-blue-action: #2563eb;    /* Biru Akses (Link/Tombol) */
    --mnc-yellow: #eab308;         /* Kuning Aksen (Hover/Penting) */
    --mnc-bg-light: #f8fafc;       /* Latar Belakang Global */
    --mnc-text-dark: #1e293b;
    --white: #ffffff;
}

/* ==========================================================================
   PENYESUAIAN UMUM & TIPOGRAFI
   ========================================================================== */
body {
    background-color: var(--mnc-bg-light);
    color: var(--mnc-text-dark);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--mnc-blue-action);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--mnc-blue-dark);
    text-decoration: underline;
}

/* ==========================================================================
   HEADER & NAVIGASI (SINKRON DENGAN MNC)
   ========================================================================== */
/* Header Background */
.site-header {
    background-color: var(--white);
    border-bottom: 2px solid rgba(0,0,0,0.03);
}

/* Navigasi Utama */
.main-navigation {
    background-color: var(--mnc-blue-dark);
}

.main-navigation .main-nav ul li a {
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Hover Menu */
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--mnc-yellow);
}

/* ==========================================================================
   GAYA TOMBOL GLOBAL
   ========================================================================== */
button, 
html input[type="button"], 
input[type="reset"], 
input[type="submit"], 
.button, 
.wp-block-button__link {
    background-color: var(--mnc-blue-action);
    color: var(--white);
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

button:hover, 
.button:hover, 
.wp-block-button__link:hover {
    background-color: var(--mnc-blue-dark);
    color: var(--mnc-yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(30, 58, 138, 0.3);
}

/* ==========================================================================
   GAYA UNTUK SECTION PAKET (DIPERBAIKI)
   ========================================================================== */
.paket-box {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.paket-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--mnc-blue-action);
}

.paket-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--mnc-blue-dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.paket-price span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ==========================================================================
   FOOTER (SINKRON DENGAN MNC)
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.7);
}

.footer-widgets .widget-title {
    color: var(--white);
    border-bottom: 2px solid var(--mnc-yellow);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.site-info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
}

/* ==========================================================================
   RESPONSIVITAS UNTUK GRID GENERATEBLOCKS
   ========================================================================== */
@media (max-width: 768px) {
    /* Memaksa kolom grid menjadi satu baris di mobile */
    .gb-grid-wrapper > .gb-grid-column {
        flex-basis: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }
    
    .gb-grid-column:last-child {
        margin-bottom: 0;
    }

    /* Penyesuaian padding untuk layar kecil agar tidak mentok */
    .gb-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .paket-price {
        font-size: 1.8rem;
    }
}