:root {
    --primary-color: #0d6efd; 
    --dark-bg: #212529;
    --card-bg-light: rgba(239, 233, 233, 0.8);
    --navbar-bg-dark: rgba(33, 37, 41, 0.2);
}

/* =======================================
   1. GLOBAL DAN RESET
   ======================================= */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 76px; 
    overflow-x: hidden; 
}

/* =======================================
   2. NAVBAR - FOKUS PADA ALIGNMENT DAN JARAK
   ======================================= */
.navbar {
    transition: all 0.3s ease;
    background-color: var(--navbar-bg-dark); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-top: 5px; 
    padding-bottom: 5px;
}

.navbar .container {
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
}

.navbar-brand.fw-bold {
    color: white !important; 
    display: inline !important; 
}

.nav-item {
    margin: 0 !important; 
    padding: 0 !important;
}

.nav-link {
    font-weight: 350;
    line-height: 1; 
    padding-top: 10px !important; 
    padding-bottom: 10px !important;
    padding-left: 1rem !important; 
    padding-right: 1rem !important; 
}

.nav-link.active {
    color: var(--primary-color) !important;
}


@media (min-width: 992px) { 
    .dropdown:hover > .dropdown-menu {
        display: block; 
        margin-top: 0; 
    }
}

/* =======================================
   3. HERO CAROUSEL
   ======================================= */

/* DEFINISI LATAR BELAKANG CAROUSEL - AMBIL ALIH DARI INLINE STYLE LAMA */
.t2-bg {
    background-image: url('images/jetourt2bg.jpg');
}
.dashing-bg {
    background-image: url('images/jetourdashingbg.jpg');
}
.x70plus-bg {
    background-image: url('images/jetourx70plusbg.jpg');
}


.carousel-item {
    height: 80vh; 
    min-height: 500px;
    position: relative;
    background-repeat: no-repeat; 
    background-size: cover;
    /* Aturan Default Desktop */
    background-position: center bottom; 
    background-attachment: scroll;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.03); 
}

/* =======================================
   4. MODEL CARDS & PROMO IMAGES
   ======================================= */
.model-card {
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--card-bg-light); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 0.5rem; 
    overflow: hidden; 
}

.model-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.model-card img {
    height: 220px;
    object-fit: contain; 
}

.card-text {
    word-wrap: break-word; 
    overflow-wrap: break-word; 
}

.promo-banner-img {
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
}

/* =======================================
   5. TOMBOL INSTAGRAM (GRADIENT)
   ======================================= */
.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 107%, #fdf497 0%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 10% 107%, #fdf497 0%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -moz-radial-gradient(circle at 10% 107%, #fdf497 0%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white; 
    text-decoration: none; 
    font-weight: bold; 
    padding: 12px 25px; 
    border-radius: 50px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease; 
}

.instagram-button:hover {
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); 
    color: white; 
}

/* =======================================
   6. TOMBOL WHATSAPP MELAYANG (FLOATING)
   ======================================= */
.wa-float{
    position:fixed;
    width:60px; 
    height:60px;
    bottom:40px;
    right:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50%; 
    font-size:30px; 
    box-shadow: 2px 2px 3px #999;
    z-index:100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.wa-float:hover {
    background-color: #1da851;
    color: white;
    transform: scale(1.1);
}

/* =======================================
   7. MEDIA QUERIES (RESPONSIVE) - INI YANG MEMPERBAIKI CAROUSEL MOBILE
   ======================================= */

/* Mobile & Tablet (Max-width 768px) */
@media (max-width: 768px) {
    
    .carousel-item {
        /* Meningkatkan tinggi sedikit untuk memberi ruang pada mobil */
        height: 50vh; 
        min-height: 350px; 
        
        background-size: cover; 
        background-repeat: no-repeat;
        
        /* FIX POSISI: Mendorong gambar mobil ke atas (hanya 20% dari atas container) */
        background-position: center 20% !important; 
    }
    
    .display-4 {
        font-size: 2rem; 
    }

    .promo-banner-img {
        max-width: 90%; 
    }
    
    .testimoni-avatar {
        width: 60px;
        height: 60px;
    }

    .instagram-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .wa-float {
        bottom: 20px;
        right: 15px; 
        width: 50px; 
        height: 50px;
        font-size: 25px;
    }
}

.logo-footer-center {
    display: inline-block; /* Agar margin auto bekerja jika diperlukan, atau karena sudah text-center di parent */
}

/* =======================================
   8. MISC
   ======================================= */
.video-container {
    transition: transform 0.3s ease-in-out;
}

.video-container:hover {
    transform: scale(1.02);
}