/* --- 1. VARIABLES & RESET --- */
:root {
    --primary-color: #0f172a;   /* Deep Navy */
    --accent-color: #f97316;    /* Vibrant Orange */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
    --radius: 12px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-color); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

/* --- 2. COMPONENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}
.btn-primary:hover { background-color: #e65a00; transform: translateY(-2px); }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background-color: var(--white); color: var(--primary-color); }

.separator { width: 60px; height: 4px; background: var(--accent-color); margin: 15px auto 25px; border-radius: 2px; }

/* --- 3. NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: 0.4s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: 1px; z-index: 1001; }
.logo .highlight { color: var(--accent-color); }
.logo-sub { display: block; font-size: 0.6rem; letter-spacing: 3px; color: #ccc; font-weight: 400; }

.nav-links a {
    color: rgba(255,255,255,0.8);
    margin: 0 15px;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent-color); transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 15px; z-index: 1001; }

.phone-link {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; gap: 8px; font-weight: 700;
}
.phone-link:hover { background: var(--accent-color); border-color: var(--accent-color); }

.menu-toggle { display: none; color: var(--white); font-size: 1.5rem; background: none; border: none; cursor: pointer; }

/* --- 4. HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('../img/hero.jpg') no-repeat center center/cover;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 100%);
    z-index: 1;
}

.hero-content.text-center {
    position: relative; 
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    padding-bottom: 60px;
}

.hero-text-wrapper {
    max-width: 800px; 
    margin: 0 auto;
    width: 100%;
}

.hero-text-wrapper h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 800;
}

.hero-text-wrapper p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px;
    margin-bottom: 25px; display: inline-block;
    border: 1px solid rgba(249, 115, 22, 0.5);
    backdrop-filter: blur(5px);
}

.hero-buttons.justify-center {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Unified Stats Bar */
.stats-bar {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: rgba(15, 23, 42, 0.85); /* Slightly darker for better text contrast */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 3; padding: 25px 0;
}
.stats-grid { display: flex; justify-content: space-around; text-align: center; color: var(--white); }
.stat-item h3 { font-size: 2.8rem; color: var(--accent-color); display: inline; font-weight: 800; }
.stat-item span { font-size: 1.5rem; color: var(--accent-color); font-weight: 700; }
.stat-item p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-top: 5px; font-weight: 600; }

/* --- 5. ABOUT SECTION --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-subtitle { color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.about-content p { color: var(--text-light); margin-bottom: 20px; }

.check-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-list i { color: var(--accent-color); }

.about-visual { display: flex; flex-direction: column; gap: 20px; }
.card-glass {
    background: var(--white);
    padding: 30px; border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--accent-color);
    transition: 0.3s;
}
.card-glass:hover { transform: translateX(10px); box-shadow: var(--shadow-hover); }
.card-glass i { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }
.card-glass h3 { font-size: 1.2rem; margin-bottom: 5px; }
.card-glass p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* --- 6. VEHICLE CARD --- */
.vehicle-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: row;
    margin-top: 40px;
}
.vehicle-info { flex: 1; padding: 50px; min-width: 0; }
.vehicle-image-wrapper { flex: 1; min-height: 400px; position: relative; min-width: 0;}
.vehicle-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.spec-box { background: var(--bg-light); padding: 15px; border-radius: 8px; text-align: center; }
.spec-box i { display: block; font-size: 1.5rem; color: var(--primary-color); margin-bottom: 8px; }
.spec-box span { display: block; font-size: 0.8rem; text-transform: uppercase; color: var(--text-light); }
.spec-box strong { font-size: 1.1rem; color: var(--primary-color); }

.feature-tag {
    background: #dbeafe; color: #1e40af;
    display: inline-block; padding: 8px 15px; border-radius: 6px; font-weight: 600; font-size: 0.9rem;
}

/* --- 7. PROCESS --- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.step { text-align: center; position: relative; padding: 20px; }
.step-icon {
    width: 60px; height: 60px; background: var(--primary-color); color: var(--white);
    font-size: 1.5rem; font-weight: 800; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    box-shadow: 0 0 0 8px rgba(15, 23, 42, 0.1);
}
.step h3 { margin-bottom: 10px; }

/* --- 8. FOOTER --- */
.footer { background: var(--primary-color); color: #cbd5e1; padding-top: 80px; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.socials { margin-top: 20px; display: flex; gap: 15px; }
.socials a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.socials a:hover { background: var(--accent-color); }

.contact-col ul li { margin-bottom: 15px; display: flex; gap: 10px; align-items: center; }
.contact-col i { color: var(--accent-color); }
.legal-box { font-family: monospace; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.9rem; }

/* --- 9. MOBILE STICKY BAR --- */
.mobile-sticky-bar {
    display: none; 
    position: fixed;
    bottom: 20px;
    left: 0; right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 400px;
    transform: translateY(200%);
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 50px;
    background: var(--white);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-sticky-bar.show-sticky { transform: translateY(0); }

.sticky-btn {
    flex: 1; 
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%; 
}
.call-btn { background: #25d366; }
.check-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--bg-light);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.check-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.check-copy h3 {
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--primary-color);
}

.check-copy p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}


/* Optional: put the bold label on its own line for easier reading */
.check-list strong {
    display: block;
    font-weight: 700;
}
/* --- 10. MEDIA QUERIES (Unified) --- */

/* Tablet & Mobile (Below 992px) */
@media (max-width: 992px) {
    /* Navbar */
    .nav-container { padding: 10px 20px; }
    .logo { font-size: 1.3rem; }
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none; /* JS toggles .active */
        flex-direction: column; 
        position: absolute;
        top: 0; left: 0; width: 100%; 
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        padding: 80px 20px 20px;
        text-align: center; gap: 20px;
    }
    .nav-links.active { display: flex; }
    
    .phone-link { width: 40px; height: 40px; padding: 10px; justify-content: center; border-radius: 50%; }
    .phone-link span { display: none; }

    /* Layouts */
    .about-grid, .footer-content, .process-steps { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 50px 0; }
    .about-content h2 { font-size: 2rem; }
    
    /* Hero */
    .hero-text-wrapper h1 { font-size: 2.8rem; }
    .hero-buttons.justify-center { flex-direction: column; width: 100%; padding: 0 20px; gap: 15px; }
    .btn { width: 100%; margin: 0; }
    
    /* Vehicle Card */
    .vehicle-card { flex-direction: column; }
    .vehicle-image-wrapper { order: -1; min-height: 250px; height: 250px; }
    .vehicle-info { padding: 30px 20px; }
    .specs-grid { grid-template-columns: 1fr 1fr; gap: 15px; }

    /* Sticky Bar */
    .mobile-sticky-bar { display: flex; }
}

/* Phones (Below 768px) */
@media (max-width: 768px) {
    .hero-text-wrapper h1 { font-size: 2.5rem; }
    .hero-text-wrapper p { font-size: 1.1rem; }
    
    .stats-bar { padding: 15px 0; }
    .stat-item h3 { font-size: 2rem; }
    .stat-item p { font-size: 0.7rem; }
        /* O nama / checklist mobile fixes */
    .about-section .section-title {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .check-list li {
        font-size: 0.95rem;
        padding: 10px 12px;
        border-radius: 10px;
        background: var(--bg-light);
        margin-bottom: 10px;
    }

    .check-list i {
        font-size: 1rem;
        margin-right: 8px;
    }
}

@media (max-width: 768px) {
    .about-section .section-title {
        font-size: 1.8rem;
    }

    .check-list li {
        padding: 12px 14px;
        gap: 12px;
    }

    .check-copy h3 {
        font-size: 0.95rem;
    }

    .check-copy p {
        font-size: 0.85rem;
    }

    .check-icon {
        width: 36px;
        height: 36px;
    }
}
