:root{
    --primary-color: #ffffff;
    --secodary-color: #f8f9fa;
    --accent-color: #0e1f3a;
    --text-color: #2a2a2a;
    --border-color: #e5e7eb;
    --highlight: #ffd700;
}    

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.navbar{
    padding: 1.5rem 5%;
    background-color: rgba(255,255,255,0.95);
    position: fixed;
    width: 90%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links{
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color) ;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after{
    content: '';
    position: absolute;
    bottom: -5px ;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}


header {
    text-align: center;
    padding: 100px;
    background-image: url('CARS.jpg'); /* Replace 'header-car.jpg' with your car image path */
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header h1 {
    font-size: 3rem;
    color: var(--highlight);
    margin: 0;
}

.inventory {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}



.car-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.car-card:hover {
    transform: scale(1.05);
}

.car-card img {
    width: 100%;
    border-radius: 8px;
}

button {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: var(--highlight);
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: wheat;
    
}


.footer {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--highlight);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 1 rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--highlight);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--highlight);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}










