/* styles index.css */
/* Tạo kiểu cho trang chủ (index.html) */
/* Xử lý phần hero, các xe nổi bật, nút kêu gọi hành động, banner và bất kỳ thành phần nào dành riêng cho trang chủ */
/* Chứa các kiểu toàn cầu/chia sẻ được sử dụng trên trang chủ. */
/* Đảm bảo ngôn ngữ thiết kế nhất quán trên toàn bộ website. */
/* Viết code của bạn bên dưới */


body{
    margin: 0;
    padding: 0;
    background: black;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.5;
}

h1, h2, h3{
color: #c2a35d   
}
a{
text-decoration:none;
color: inherit;
}

.container1, .container{
    width:100%;
    margin: auto;

}

.container {
    max-width: 1180px;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-content{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-around;  

}


.homebtn, .homebtn1, .homebtn2, .homebtn3, .homebtn4, .homebtn5, .homebtn6{
    background:#c2a35d;
    font-size:large;
    color:black;
    align-items: center;
    
}
    
.logo{
    display: flex;
    gap:10px;
    align-items: center;
}
    
.layout{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
   gap: 40px;
}

.hero {
    min-height: 56vh;
    display: grid;
    place-items: center;
    padding: 80px 20px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.78)),
        url("https://i.pinimg.com/1200x/44/27/3e/44273e58ffcd76b9d30c0e972bc05a34.jpg") center/cover;
}

.hero p {
    max-width: 760px;
    margin: 10px auto;
    color: #f2f2f2;
}

.featured-cars {
    padding: 56px 20px;
}

#container {
    max-width: 1180px;
    margin: 0 auto;
}

.car-cards{
display: grid;
grid-template-columns: repeat(auto-fit,minmax(260px, 1fr));
gap: 35px;
margin-top: 30px;
}

.find{
   
    font-size:xx-large;
    
}
.car-card{
    background: black;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2,); 
    transition: transform 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.car-card h3 {
    margin: 10px 0;
}

.btn-details {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #d4af37;
    color: black;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-details:hover {
    background: #f1c557;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 14px 8px 0;
    padding: 10px 22px;
    background: #d4af37;
    color: black;
    border: 2px solid #d4af37;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-cta:hover {
    background: #f1c557;
    border-color: #f1c557;
}

.btn-cta.secondary {
    background: transparent;
    color: #d4af37;
}

.btn-cta.secondary:hover {
    background: #d4af37;
    border-color: #d4af37;
    color: black;
}

/* Phần Giới Thiệu */
.about {
    padding: 60px 0;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 10px auto;
    color: #ddd;
}

/* Phần CTA */
.cta {
    background: #111;
    padding: 60px 0;
    text-align: center;
}

/* Chân Trang */
footer {
    background: #000;
    padding: 40px 0;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section h3 {
    color: #d4af37;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #ccc;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.layout{
    list-style: none;

}
