﻿/* ===== BODY & FONT ===== */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    background: #f5f5f5; /* nền xám trắng */
    color: #212121; /* chữ xám đậm */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR & HAMBURGER ===== */
.navbar {
    background: #ffffff; /* trắng sáng */
    padding: 15px 30px;
    border-bottom: 3px solid #e53935; /* đỏ nổi bật */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* bóng nhẹ */
    border-radius: 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 28px;
    color: #e53935;
    display: flex;
    align-items: center;
}

#hamburger-icon {
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
}

    #hamburger-icon:hover {
        color: #e53935 !important;
        background: #fff5f5;
        transform: scale(1.1);
    }

.nav-link {
    font-weight: 600;
    margin-left: 20px;
    color: #212121;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: #e53935;
        transform: scale(1.05);
    }

/* ===== SIDENAV (MENU TRƯỢT) ===== */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.5s ease-in-out;
    padding-top: 60px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}

    .sidenav a {
        padding: 12px 15px 12px 32px;
        text-decoration: none;
        font-size: 18px;
        color: #212121;
        display: block;
        font-weight: 600;
        transition: 0.3s;
        border-left: 4px solid transparent;
    }

        .sidenav a:hover {
            color: #e53935;
            background-color: #fff5f5;
            border-left: 4px solid #e53935;
            padding-left: 40px;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 10px;
        right: 25px;
        font-size: 36px;
        color: #757575;
    }

.user-info-box {
    padding: 25px 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-bottom: 2px solid #eeeeee;
    text-align: center;
}

    .user-info-box p {
        margin: 5px 0;
        font-weight: 700;
        color: #212121;
    }

/* ===== HERO SECTION - FIX HIỂN THỊ ẢNH NỀN ===== */
.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1558981403-c5f91cbba527?q=80&w=2000') center/cover no-repeat fixed !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-wrapper h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}

.hero-wrapper p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #f5f5f5;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-wrapper .btn {
    margin: 10px;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* ===== SẢN PHẨM TIÊU BIỂU (BO GÓC 25PX TRIỆT ĐỂ) ===== */
.product-glass-card {
    background: #ffffff !important;
    border-radius: 25px !important;
    overflow: hidden !important; /* Ép cắt góc ảnh tràn */
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
    transition: 0.4s ease;
    border: none !important;
}

    .product-glass-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.18) !important;
    }

.pg-image {
    overflow: hidden;
    border-radius: 25px 25px 0 0 !important;
}

    .pg-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 25px 25px 0 0 !important;
        transition: transform 0.5s ease;
    }

.product-glass-card:hover .pg-image img {
    transform: scale(1.1);
}

.pg-content {
    padding: 25px;
    text-align: left;
    background: #fff;
    border-radius: 0 0 25px 25px !important;
}

/* ===== XE CARD ===== */
.xe-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.xe-card {
    background: #ffffff;
    border-radius: 25px !important; /* Đồng bộ 25px */
    overflow: hidden;
    flex: 0 0 23%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    border: none;
}

    .xe-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .xe-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        transition: transform 0.4s ease;
        border-radius: 25px 25px 0 0 !important;
    }

    .xe-card:hover img {
        transform: scale(1.05);
    }

    .xe-card .card-body {
        padding: 15px;
        text-align: center;
    }

    .xe-card .card-title {
        font-size: 18px;
        font-weight: 800;
        color: #e53935;
        margin-bottom: 8px;
    }

    .xe-card .xe-hang {
        font-size: 14px;
        color: #757575;
        margin-bottom: 8px;
    }

    .xe-card .xe-gia {
        font-size: 16px;
        font-weight: 700;
        color: #ff7043;
        margin-bottom: 12px;
    }

    /* ===== BUTTONS ===== */
    .xe-card .btn {
        font-weight: 700;
        border-radius: 10px;
        padding: 8px 15px;
        transition: all 0.3s ease;
    }

    .xe-card .btn-info {
        background: #42a5f5;
        border: none;
        color: white;
    }

        .xe-card .btn-info:hover {
            background: #1e88e5;
            transform: scale(1.05);
        }

    .xe-card .btn-warning {
        background: #ffa726;
        border: none;
        color: white;
    }

        .xe-card .btn-warning:hover {
            background: #fb8c00;
            transform: scale(1.05);
        }

    .xe-card .btn-danger {
        background: #ef5350;
        border: none;
        color: white;
    }

        .xe-card .btn-danger:hover {
            background: #e53935;
            transform: scale(1.05);
        }

.btn-success {
    background: linear-gradient(45deg, #43a047, #1b5e20);
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    transition: all 0.3s ease;
    color: white;
}

    .btn-success:hover {
        transform: scale(1.1) rotate(-2deg);
        box-shadow: 0 6px 15px rgba(67,160,71,0.3);
    }

/* ===== TEXT SECTION & LIÊN HỆ VỚI NỀN CHẤT ===== */
.text-section, .info-lienhe {
    max-width: 1100px;
    margin: 40px auto;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 25px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    color: #212121;
    line-height: 1.8;
}

/* Section liên hệ có ảnh nền chuyên nghiệp */
.cta-banner-modern {
    background: linear-gradient(rgba(229, 57, 53, 0.8), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1444491741275-3747c53c99b4?q=80&w=2000') center/cover no-repeat fixed !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 60px 20px;
    text-align: center;
}

.text-section h1, .text-section h2, .text-section h3,
.info-lienhe h2, .info-lienhe h3 {
    color: #e53935;
    font-weight: 800;
    margin-bottom: 15px;
}

.text-section section, .info-lienhe ul {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ===== TWO-COLUMNS LAYOUT ===== */
.two-columns {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

    .two-columns > div {
        flex: 1;
    }

    .two-columns img {
        width: 100%;
        height: auto;
        border-radius: 25px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
        transition: transform 0.5s ease;
    }

        .two-columns img:hover {
            transform: rotate(-2deg) scale(1.03);
        }

/* ===== FOOTER ===== */
.footer {
    background: #e0e0e0;
    color: #212121;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    border-top: 1px solid #ccc;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .xe-card {
        flex: 0 0 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .contact-section, .two-columns {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .xe-card {
        flex: 0 0 90%;
    }

    .hero-wrapper h1 {
        font-size: 2.8rem;
    }
}
/* TEXT ĐEN VÀ OUTLINE ĐEN */
.text-dark {
    color: #212121 !important;
}

.text-outline-dark {
    color: transparent;
    -webkit-text-stroke: 1.5px #212121;
}

/* OVERLAY SÁNG ĐỂ NỔI BẬT CHỮ ĐEN */
.hero-light-overlay {
    background: rgba(255, 255, 255, 0.2) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* NÚT OUTLINE ĐEN */
.btn-outline-dark {
    border: 2px solid #212121 !important;
    color: #212121 !important;
    background: transparent;
}

    .btn-outline-dark:hover {
        background: #212121 !important;
        color: #fff !important;
    }

/* ĐẢM BẢO BO GÓC 25PX CHO TOÀN BỘ TRANG */
.product-glass-card, .img-main, .experience-badge {
    border-radius: 25px !important;
}

.pg-image, .pg-image img {
    border-radius: 25px 25px 0 0 !important;
}
/* ===== SỬA LỖI ĐÈ GÓC - TẠO KHOẢNG CÁCH THỞ LỚN HƠN ===== */
.py-10 {
    padding-top: 100px !important; /* Tăng gấp đôi khoảng cách trên (từ 50px lên 100px) */
    padding-bottom: 80px !important; /* Khoảng cách dưới vừa phải */
}

/* Đảm bảo tiêu đề chính không có margin-top làm "kéo" nó lên lại */
.cta-banner-modern h2, .cta-banner h2, section h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Fix lỗi map bị co nhỏ trong ảnh image_9f6b9b.png */
.contact-map iframe {
    min-height: 450px;
    width: 100% !important;
    display: block;
}

/* Đảm bảo khung Form không bị đè lên phần khác */
.contact-form {
    background: #fff;
    min-height: 900px;
}

/* Bo góc 25px đồng bộ với các card xe ở trang chủ */
.rounded-4 {
    border-radius: 25px !important;
}

/* Khoảng cách cho mobile để không bị dính vào nhau */
@media (max-width: 991px) {
    .col-lg-6 {
        margin-bottom: 30px;
    }

    .contact-form {
        min-height: 700px;
    }
}