/* --- GAYA NAVIGASI DESKTOP --- */
.nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-color);
}

/* --- GAYA TOMBOL HAMBURGER MOBILE --- */
.hamburger-btn {
    display: none; /* Sembunyikan secara default di desktop */
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background-color: var(--primary-color);
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    z-index: 1001;
}

.hamburger-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-icon span:nth-child(3) { bottom: 0; }

/* Efek animasi saat hamburger diklik */
.hamburger-btn.open .hamburger-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.open .hamburger-icon span:nth-child(2) { opacity: 0; }
.hamburger-btn.open .hamburger-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* --- GAYA BAGIAN (SECTIONS) DAN KOMPONEN UMUM --- */
.services-section,
.testimonial-section,
.pricing-section {
    padding-top: 10px; /* Nilai bisa disesuaikan, misalnya 120px */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.testimonial-section {
    padding-bottom: 10px; /* Tambahkan properti ini untuk menambah jarak di bawah */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: 600;
}

.pricing-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.pricing-card.featured-card {
    background-color: var(--primary-color);
    color: var(--featured-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--accent-color);
}

.pricing-card.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured-card .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.pricing-card.featured-card .btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.pricing-card ul li.disabled {
    color: #ccc;
    text-decoration: line-through;
}

.pricing-card ul li.disabled i {
    color: #ccc;
}

.contact-cta {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.contact-cta h2,
.contact-cta p {
    color: #fff;
}

.contact-cta .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.contact-cta .btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- GAYA FOOTER --- */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding-top: 50px;
    font-size: 0.9rem;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
}

.social-links a {
    display: inline-flex;
    align-items: center;      /* Perataan vertikal */
    justify-content: center;  /* Perataan horizontal */
    color: #fff;
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}


/* --- MEDIA QUERY UNTUK TAMPILAN MOBILE --- */
@media (max-width: 768px) {
    /* Atur layout header untuk mobile: logo di kiri, hamburger di kanan */
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    /* Sembunyikan navigasi desktop dan tampilkan hamburger */
    .header .nav {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }

    /* GAYA NAVIGASI MOBILE SAAT TERBUKA */
    .header .nav.active {
        display: block;
        position: absolute;
        top: 100px; /* Nilai ini dinaikkan, coba sesuaikan sampai pas */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .header .nav.active ul {
        flex-direction: row;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
    }
    
    /* Tambahan perbaikan untuk layout mobile */
    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .grid-card {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured-card {
        transform: translateY(0);
    }
}