/* ============================================================
   GLOBAL SETTING
============================================================ */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f5f7fa;
    color: #333;
}

h1, h2, h3 {
    font-weight: 600;
}

.text-center {
    text-align: center;
}

/* ============================================================
   HERO SECTION – SLIDER GAMBAR
============================================================ */
.hero-paket {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.hero-paket::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    animation: sliderBG 18s infinite alternate ease-in-out;
}

/* SLIDES BACKGROUND */
@keyframes sliderBG {
    0%   { background-image: url('../images/banner1.jpg'); }
    33%  { background-image: url('../images/banner2.jpg'); }
    66%  { background-image: url('../images/banner3.jpg'); }
    100% { background-image: url('../images/banner4.jpg'); }
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.8));
}

.hero-content {
    position: relative;
    width: 100%;
    text-align: center;
    color: #fff;
    margin-top: 90px;
    animation: fadeIn 1.7s ease;
}

.hero-content h1 {
    font-size: 48px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
    GRID PAKET INTERNET
============================================================ */
.section-paket {
    padding: 70px 0;
    background: linear-gradient(135deg, #eef2f3, #dfe9f3);
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.paket-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.paket-box {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    color: #333;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    border: 2px solid transparent;
    transition: .35s ease;
}

.paket-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 28px rgba(0,0,0,.15);
    border-color: #009cff;
}

.paket-box.active {
    border-color: #009cff;
    transform: scale(1.03);
}

.paket-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.paket-box h3 {
    margin: 15px;
    font-size: 22px;
}

.paket-box p {
    margin: 0 15px 10px;
    opacity: 0.7;
}

.paket-box .price {
    margin: 10px 15px 15px;
    font-size: 18px;
    font-weight: bold;
    color: #ff7b00;
    display: block;
}

/* ============================================================
    DETAIL PAKET
============================================================ */
.section-detail {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff, #f3f7ff);
}

.detail-box {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.detail-content {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.paket-card {
    width: 380px;
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
    position: relative;
    animation: cardFade .9s ease;
}

@keyframes cardFade {
    from { opacity: 0; transform: scale(.93); }
    to   { opacity: 1; transform: scale(1); }
}

.paket-card .speed {
    font-size: 20px;
    font-weight: bold;
    color: #0076ff;
}

.paket-card .harga {
    margin-top: 5px;
    font-size: 28px;
    font-weight: bold;
    color: #ff7b00;
}

.paket-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.paket-card ul li {
    margin: 10px 0;
}

.paket-card button {
    margin-top: 18px;
    background: linear-gradient(135deg, #ff9500, #ff5e00);
    border: none;
    color: white;
    padding: 13px 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: .3s;
}

.paket-card button:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #ff6b00, #ff3c00);
}

/* BADGE */
.badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 20px;
    color: white;
    font-weight: bold;
    border-bottom-left-radius: 12px;
}

.termurah { background: #28a745; }
.premium { background: #8800ff; }
.streaming { background: #0066ff; }
.gaming { background: #ff0000; }

/* ============================================================
    FOOTER
============================================================ */
.footer {
    background: #101010;
    padding: 50px 0;
    color: #fff;
    text-align: center;
    border-top: 4px solid #009cff;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-social img {
    width: 35px;
    margin: 0 7px;
    transition: .3s;
}

.footer-social img:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================================
    LOKASI CAKUPAN (JIKA DIPAKAI)
============================================================ */
.section-lokasi {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f8ff, #ffffff);
    animation: fadeIn 0.8s ease;
}

.lokasi-box {
    max-width: 650px;
    margin: auto;
    text-align: center;
}

.section-lokasi h2 {
    font-size: 32px;
    color: #003d73;
}

.lokasi-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 25px 0;
}

.lokasi-form input {
    width: 60%;
    padding: 12px;
    border: 2px solid #cfd9ea;
    border-radius: 8px;
    font-size: 15px;
}

.lokasi-form input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,.4);
}

.lokasi-form button {
    padding: 12px 20px;
    background: #0078ff;
    color: white;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.lokasi-form button:hover {
    background: #005fd1;
}

.hasil-ya {
    background: #e8f9ee;
    padding: 12px;
    border-radius: 8px;
    color: #0f7b32;
    font-weight: bold;
}

.hasil-tidak {
    background: #ffeaea;
    padding: 12px;
    border-radius: 8px;
    color: #a40000;
    font-weight: bold;
}

/* ============================================================
    RESPONSIVE DESIGN
============================================================ */
@media (max-width: 600px) {
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 16px; }

    .paket-card { width: 100%; }
    .lokasi-form { flex-direction: column; }
    .lokasi-form input { width: 100%; }
}
