﻿/* =========================
GLOBAL
========================= */

body {
    font-family: 'Inter',sans-serif;
    background: #F8F9FA;
    margin: 0;
}

a {
    text-decoration: none;
}

/* =========================
NAVBAR
========================= */

.navbar-custom {
    background: #0D1B2A;
}

    .navbar-custom .nav-link {
        color: white !important;
        font-weight: 500;
        transition: .3s;
    }

        .navbar-custom .nav-link:hover {
            color: #E10600 !important;
        }

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

/* =========================
BUTTON CTA
========================= */

.btn-cta {
    background: #E10600;
    color: white;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
}

    .btn-cta:hover {
        background: #b00000;
    }

/* =========================
HERO
========================= */

.hero-section {
    background-image: url('/images/43f7ef16-3b51-4220-93ec-f37c68e14ccd.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.45);
    }

    .hero-section .container {
        position: relative;
        z-index: 2;
    }

/* =========================
CAR CARD
========================= */

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .car-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,.15);
    }

.car-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.car-body {
    padding: 15px;
}

.car-brand {
    color: #777;
    font-size: 14px;
}

.car-price {
    color: #E10600;
    font-weight: 700;
    font-size: 18px;
}

.price-big {
    font-size: 26px;
    font-weight: 700;
    color: #E10600;
}

/* =========================
FOOTER
========================= */

.footer-custom {
    background: linear-gradient(135deg,#0D1B2A,#1B263B);
    color: white;
    padding: 60px 0 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 15px;
    text-align: center;
}

/* CHATBOX */

#chatbox {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 12px;
    z-index: 9999;
}

#chat-messages {
    height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    width: 100%;
}

.chat-input {
    display: flex;
    gap: 6px;
}

    .chat-input input {
        flex: 1;
        padding: 6px;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

    .chat-input button {
        background: #E10600;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 6px;
    }

#chatToggle {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #E10600;
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 99999;
}

.price-big {
    font-size: 28px;
    font-weight: 700;
    color: #E10600;
}

.thumb-list img {
    width: 80px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 6px;
}

.color-picker {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc;
}

.black {
    background: black
}

.white {
    background: white
}

.gray {
    background: gray
}