/* === FILE: assets/css/style.css === */

/* === RESET & BASE STYLES === */
body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; box-sizing: border-box; color: #333; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === KOMPONEN TOMBOL === */
.btn-wa { 
    display: inline-block; 
    background-color: #25D366; 
    color: white; 
    padding: 12px 30px; 
    border-radius: 50px;
    font-weight: 600; 
    transition: background-color 0.3s ease; 
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}
.btn-wa:hover { background-color: #1ebc57; transform: translateY(-2px); }

/* === HEADER / NAVBAR === */
header { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 700; color: #2c3e50; }
.logo span { color: #e74c3c; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
nav a.nav-link { color: #555; font-weight: 500; transition: color 0.3s; }
nav a.nav-link:hover { color: #e74c3c; }

/* === HERO SECTION MODERN === */
.hero {
    padding: 80px 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content { flex: 1; max-width: 600px; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; color: #2c3e50; margin-bottom: 20px; }
.hero-content h1 span { color: #e74c3c; }
.hero-content p { font-size: 1.2rem; color: #6c757d; margin-bottom: 35px; line-height: 1.6; }

.hero-image-container { flex: 1; display: flex; justify-content: center; }
.hero-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav-flex { flex-direction: column; gap: 15px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    
    .hero-flex {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-image-container img { max-width: 80%; }
}
/* === TAMBAHAN UNTUK LAYANAN & PROSES === */

.section-padding { padding: 80px 0; }
.bg-light { background-color: #f8f9fa; }
.text-center { text-align: center; }

.section-title h2 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 10px; }
.section-title p { color: #7f8c8d; margin-bottom: 50px; }

/* Grid System untuk Layanan & Proses */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Kolom */
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Kolom */
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* Kartu Layanan (Mobil/Motor) */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eee;
}
.service-card:hover { transform: translateY(-10px); border-color: #25D366; }
.service-icon { width: 100px; height: auto; margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #2c3e50; }

/* Langkah Proses */
.process-step { text-align: center; position: relative; }
.process-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.process-icon img { width: 100%; height: auto; }
.process-step h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* Responsive untuk HP */
@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; } /* Jadi 1 kolom di HP */
}
/* === TAMBAHAN SEO: MITRA, TESTIMONI, FAQ === */

/* Mitra Leasing Section */
.mitra-section img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%); /* Hitam putih agar elegan */
    transition: filter 0.3s;
    opacity: 0.8;
}
.mitra-section img:hover {
    filter: grayscale(0%); /* Berwarna saat disentuh */
    opacity: 1;
}

/* Testimoni Card */
.testimoni-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #25D366; /* Aksen hijau */
    font-style: italic;
}
.testimoni-name {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: #2c3e50;
}

/* FAQ (Accordion Style) */
details {
    background: #fff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
}
summary {
    font-weight: 600;
    color: #2c3e50;
    list-style: none; /* Hilangkan panah default */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::after {
    content: '+'; /* Simbol tambah */
    font-size: 1.2rem;
    font-weight: bold;
}
details[open] summary::after {
    content: '-'; /* Berubah jadi kurang saat dibuka */
}
details p {
    margin-top: 15px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Footer Links for SEO */
.footer-links a { color: #bdc3c7; margin: 0 10px; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
/* === MODERN AREA LINKS (GRID SYSTEM) === */

.area-grid {
    display: grid;
    /* Membuat 4 kolom di layar lebar, otomatis turun di layar kecil */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px;
    margin-top: 20px;
}

.area-card {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
}

/* Efek saat mouse diarahkan (Hover) */
.area-card:hover {
    background-color: #25D366; /* Warna Hijau WA */
    color: white;
    transform: translateY(-3px); /* Efek naik sedikit */
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    border-color: #25D366;
}

/* Ikon lokasi kecil di dalam tombol */
.area-card i {
    margin-right: 10px;
    color: #e74c3c; /* Merah untuk ikon pin */
    transition: color 0.3s;
}

.area-card:hover i {
    color: white; /* Ikon jadi putih saat dihover */
}

/* Judul Section Area */
.area-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}
.area-header p {
    color: #7f8c8d;
    margin-bottom: 30px;
}