/* ===== CSS RESET & BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #111;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 60px 0;
}

.bg-dark-alt {
    background: #1b1b1b;
}

/* ===== HEADER & NAV ===== */
header {
    background: #000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: #ff3c00;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ff3c00;
}

/* ===== HAMBURGER TOGGLE ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* ===== GRID & CARD SYSTEM ===== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    text-transform: uppercase;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #1b1b1b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #ff3c00;
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card h3 {
    color: #ff3c00;
    margin-bottom: 10px;
}

.spec-main {
    font-weight: 600;
    margin-bottom: 5px;
}

.badge-ban {
    background: #333;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.karoseri {
    font-size: 13px;
    color: #aaa;
    border-top: 1px solid #333;
    padding-top: 10px;
    font-style: italic;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%; /* Sembunyi ke kiri */
        width: 100%;
        background: #000;
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        transition: 0.5s;
        border-bottom: 2px solid #ff3c00;
    }

    .nav-menu.active {
        left: 0; /* Muncul saat hamburger diklik */
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ===== HERO SLIDER PREMIUM 2026 ===== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

/* Slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Image */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Dark Overlay */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
    top: 0;
    left: 0;
}

/* Content Center */
.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #e60012;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #b0000d;
}

/* Navigation Buttons */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
}

.prev { left: 20px; }
.next { right: 20px; }

.nav:hover {
    background: rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 280px;
    }

    .hero-content {
        left: 5%;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

/* ===== YOUTUBE SIZE FIX ===== */
.video-wrapper {
    max-width: 700px;
    margin: auto;
}

.video-wrapper iframe {
    width: 100%;
    height: 400px;
}

/* ===== MAPS SIZE FIX ===== */
.map-wrapper {
    max-width: 700px;
    margin: auto;
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ===== HERO PRO NASIONAL ===== */
.hero-pro {
    background: url('../img/hero-mitsubishi.jpg') center/cover no-repeat;
    height: 90vh;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.65);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-content p {
    color: #ddd;
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-primary {
    background: #e60012;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
}

.btn-secondary {
    background: #222;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
}