/* Variabel CSS */
:root {
    --bright-blue-start: #00b4d8;
    --bright-blue-end: #0077b6;
    --neon-glow: #00d4ff;
    --gradient-header: linear-gradient(135deg, var(--bright-blue-start), var(--bright-blue-end));
    --gradient-footer: linear-gradient(135deg, var(--bright-blue-end), var(--bright-blue-start));
    --gradient-body: linear-gradient(45deg, #90e0ef, #48cae4);
    --button-elegant: linear-gradient(45deg, #0288d1, #0277bd);
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-body);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: #333;
}

/* Efek Ledakan */
#explosion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.explosion-effect {
    width: 0;
    height: 0;
    background: radial-gradient(circle, #00d4ff, transparent);
    border-radius: 50%;
}

.explosion-effect.explode {
    animation: explode 1.5s ease forwards;
}

@keyframes explode {
    0% { width: 0; height: 0; opacity: 1; }
    50% { width: 1000px; height: 1000px; opacity: 0.8; }
    100% { width: 2000px; height: 2000px; opacity: 0; }
}

/* Header */
.header {
    background: var(--gradient-header);
    box-shadow: 0 0 20px var(--neon-glow), 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--neon-glow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header h1 {
    font-size: 3rem;
    text-shadow: 0 0 10px var(--neon-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.navbar-logo {
    max-height: 300px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1);
}

.navbar-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-btn {
    background: var(--button-elegant);
    color: white !important;
    padding: 10px 18px; /* Dikurangi dari 12px 20px untuk proporsi yang lebih kecil */
    border-radius: 25px;
    font-size: 1rem; /* Dikurangi dari 1.2rem menjadi 1rem */
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 10px;
    text-align: center;
}

.nav-btn:hover {
    background: #0288d1;
    box-shadow: 0 0 15px var(--neon-glow);
    transform: translateY(-3px);
}

/* Background Partikel Animasi */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    box-shadow: 0 0 20px var(--neon-glow), 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--neon-glow);
    padding: 50px 0;
    color: white;
}

.footer .btn-outline-light {
    border-color: var(--neon-glow);
    transition: all 0.3s ease;
}

.footer .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px var(--neon-glow);
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 0 5px var(--neon-glow);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100px;
    height: 4px;
    background: var(--neon-glow);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Promo Card */
.promo-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--neon-glow);
}

.promo-card .card-body {
    padding: 20px;
}

.promo-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--neon-glow);
    color: white;
}

/* Phone Button */
.phone-btn {
    background: linear-gradient(45deg, #ff6f61, #ff8a65);
    color: white;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 111, 97, 0.7);
    color: white;
}

/* Feature Card */
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--neon-glow);
}

.feature-card h5 {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Testimonial Section */
.testimonial-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 60px 0;
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.rating {
    font-size: 1.8rem;
    color: #ffd700;
}

/* Modern Form */
.modern-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-input {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modern-input:focus {
    border-color: var(--bright-blue-start);
    box-shadow: 0 0 10px var(--neon-glow);
    outline: none;
}

.modern-btn {
    background: var(--button-elegant);
    color: white;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--neon-glow);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bright-blue-start);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px var(--neon-glow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-glow);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-logo {
        max-height: 280px;
    }
    .nav-btn {
        font-size: 0.9rem; /* Dikurangi lebih kecil lagi untuk layar kecil */
        padding: 8px 12px; /* Dikurangi untuk proporsi */
        margin-left: 5px;
    }
    .header h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .whatsapp-btn, .phone-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .navbar-box {
        justify-content: center;
    }
}