/*
Theme Name: MyRepublic OnePage Theme
Theme URI: https://example.com/
Author: [Nama Anda]
Author URI: https://example.com/
Description: Tema One-Page kustom berdasarkan iklan MyRepublic dengan desain harga grid dan navigasi ikon.
Version: 1.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, one-page, custom-colors, grid-layout
Text Domain: myrepublic-onepage
*/
/* autor : D. Tim */

/* Definisi Warna */
:root {
    --ungu-primary: #5D2E8E; /* Warna ungu MyRepublic */
    --merah-aksen: #E53935; 
    --kuning-aksen: #FFD700; /* Warna kuning untuk highlight kecepatan/WifiTerbaik */
    --putih: #FFFFFF;
    --abu-muda: #F8F8F8; 
}

/* Base Styling */
body {
    background-color: var(--putih); 
    font-family: 'Arial', sans-serif; 
    color: #333;
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-weight: bold;
    color: var(--ungu-primary);
}

/* --- SECTION: IKON NAVIGASI --- */
#icon-navigation-bar {
    background-color: var(--putih);
    padding: 10px 0 20px;
    border-bottom: 1px solid #EEE;
}
.icon-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 10px;
}
.icon-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 0.85em;
    padding: 5px;
    min-width: 80px; 
}
.icon-nav-item:hover {
    color: var(--ungu-primary);
}
.icon-nav-item img {
    width: 40px; 
    height: 40px;
    margin-bottom: 5px;
    transition: transform 0.2s;
}
.icon-nav-item:hover img {
    transform: scale(1.1);
}

/* --- SECTION: BANNER (Judul, Benefit) --- */
#banner {
    background: linear-gradient(180deg, #5D2E8E 0%, #4D2577 100%); 
    color: var(--putih);
    padding: 30px 20px 60px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Styling Judul (Kontras Sempurna) */
.header-text-area {
    margin: 20px auto 30px;
    padding: 0 20px;
    max-width: 900px;
    text-align: left; 
}
.header-text-area h1 {
    font-size: 2.5em;
    line-height: 1.2;
    color: var(--putih); 
}
.header-text-area h2 {
    font-size: 1.2em;
    font-weight: normal;
    color: #EEE; 
    margin-top: -10px;
}

/* Styling Statistik Benefit Bar (Tanpa Roket) */
.stats-benefit-bar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 600px; 
    margin: 30px auto 30px; 
    padding: 20px 0;
    position: relative;
    text-align: center; 
    padding-left: 0;
}
.stat-item {
    text-align: center;
    flex: 1; 
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 10px;
    margin-right: 0;
}
.stat-item:last-child {
    border-right: none;
}
.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--kuning-aksen); 
    margin: 0;
}
.stat-desc {
    font-size: 0.9em;
    color: var(--putih); 
    margin: 0;
}


/* --- SECTION: PACKAGES (GRID) --- */
#packages { max-width: none; margin: 0 auto; }

/* Container Grid */
.packages-container {
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; padding: 20px 0;
}

/* Kartu Paket */
.package-card-grid {
    background-color: var(--putih); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden; width: 300px; transition: transform 0.3s ease-in-out;
}
.package-card-grid:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* Header Kartu */
.package-header { background-color: var(--ungu-primary); color: var(--putih); text-align: center; padding-bottom: 15px; }
.package-image-placeholder { position: relative; height: 150px; background-color: #eee; margin-bottom: 10px; }
.package-header img { width: 100%; height: 100%; object-fit: cover; }

.speed-badge, .gratis-badge {
    position: absolute; top: 10px; padding: 3px 8px; font-size: 0.8em; font-weight: bold; border-radius: 3px; z-index: 10;
}
.speed-badge { left: 10px; background-color: var(--ungu-primary); color: var(--kuning-aksen); }
.gratis-badge { right: 10px; background-color: var(--merah-aksen); color: var(--putih); }


.package-title { color: var(--putih); margin: 0; font-size: 1.5em; }
.base-speed { color: #CCC; font-size: 0.9em; margin: 5px 0 0; }

/* Detail Harga */
.package-details { padding: 20px; text-align: center; }
.package-price-large {
    font-size: 2.8em; font-weight: 900; color: var(--ungu-primary); line-height: 1.1; display: inline-block;
}
.rp-text {
    font-size: 1em; font-weight: 500; vertical-align: top; padding-right: 2px;
}
.per-bln-small {
    font-size: 0.9em; color: #666; display: inline-block;
}
.ppn-info { 
    font-size: 0.8em; color: var(--ungu-primary); margin-bottom: 20px; margin-top: -5px; 
}

/* Tombol */
.btn-langganan {
    display: block; background-color: var(--ungu-primary); color: var(--putih);
    padding: 12px 0; text-decoration: none; font-weight: bold; border-radius: 8px; margin-bottom: 10px; transition: background-color 0.2s;
}
.btn-langganan:hover { background-color: #4D2577; }
.btn-chat {
    display: block; background-color: var(--putih); color: var(--ungu-primary);
    padding: 10px 0; text-decoration: none; font-weight: bold; border: 1px solid var(--ungu-primary); border-radius: 8px; transition: background-color 0.2s;
}
.btn-chat:hover { background-color: var(--abu-muda); }

/* Fitur dan Benefit */
.package-benefits { padding: 20px; border-top: 1px solid #EEE; }
.benefits-title { font-size: 1.1em; margin-top: 0; color: #444; }
.benefit-list { list-style: none; padding-left: 0; }
.benefit-list li .dashicons { color: var(--ungu-primary); margin-right: 5px; }

.vidio-benefit {
    margin-top: 10px;
    display: block;
    text-align: center;
}


/* --- SECTION: FOOTER INFO --- */
#footer-info { 
    padding: 30px 20px; 
    background-color: var(--abu-muda); 
    border-top: 5px solid var(--ungu-primary); 
    padding-bottom: 50px; 
}
#footer-info h4 { border-bottom: 2px solid var(--ungu-primary); padding-bottom: 5px; margin-bottom: 15px; }

.keuntungan-list { list-style: none; padding-left: 0; }
.keuntungan-list li {
    /* Checklist icon SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%235D2E8E" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>');
    background-repeat: no-repeat; background-position: 0 4px; background-size: 18px 18px;
    padding-left: 25px; margin-bottom: 8px;
}


/* Responsif */
@media (max-width: 768px) {
    .icon-nav-container {
        /* Mengatur agar ikon memenuhi lebar dan rata tengah */
        justify-content: space-around; 
        padding: 0 5px; /* Mengurangi padding horizontal */
        gap: 0; /* Menghilangkan gap */
    }
    .icon-nav-item {
        min-width: 25%; /* Memastikan 4 item bisa muat per baris jika ada 7 item */
        font-size: 0.8em; /* Mengecilkan teks */
        padding: 5px 2px;
    }
    .icon-nav-item img {
        width: 30px; /* Mengecilkan ukuran icon di mobile */
        height: 30px;
    }
    
    .header-text-area {
        text-align: center;
    }
    .header-text-area h1 {
        font-size: 1.8em;
    }
    .stats-benefit-bar {
        flex-direction: column;
        align-items: center;
        padding: 0 20px 20px 20px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        padding: 10px 0;
        margin-right: 0;
        text-align: center;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}