/* Google Fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
 
  margin: 0;
 
  font-family: "Poppins", sans-serif;
}

:root {
  /* Colors */
  --white-color: #fff;
  --primary-color: #0A1D37;
  --secondary-color: #C9A23C;
 

  /* Font size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /* Font weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;
}

html {
  scroll-behavior: smooth;
}

/* Stylings for whole site */
ul {
  list-style: none;
}
nav ul li a.active {
 
  color: white;
  padding: 10px 18px;
  border: 2px solid white; /* White border for the active button */
  border-radius: var(--border-radius-m);

}
a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  width: 100%;
}
/* Navbar Styles */
.navbar {
  display: flex;
  padding: 10px 20px;
  align-items: center;
  color: #fff;
  width: 100%;
  background: linear-gradient(to bottom, #0A1D37 , black);


}

/* Logo Image Styling */
.navbar img {
  width: 100px; /* Adjust width */
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Add space between logo and text */
  position:absolute;
  left:0;
}

/* Logo Text Styling */
.logo-text {
  font-size: 24px; /* Adjust text size */
  margin-left: 5%;

}

/* Navbar styling */

header .navbar {
  
  padding: 20px;
  max-width: 98%;
  
}

.navbar .nav-logo .logo-text {
  color: var(--white-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu {
  display: flex;
  gap: 10px;
  margin-left: auto; /* Pushes the menu to the right */
  justify-content: flex-end; /* Aligns the items within the menu to the right */
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  color: var(--white-color);
  font-size: var(--font-size-m);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
  color: var(--primary-color);
  background: var(--secondary-color);
}

.navbar :where(#menu-open-button, #menu-close-button) {
  display: none;
  
}



body {
  background-color: black;
}



/* inventory */


.search-filter {
    background-color: black;
    padding: 20px;
    color: white;

}

.search-filter .filters {
    display: flex;
    justify-content: center;
    gap: 15px;
}
/* .filters{ */
    /* content:center; */
/* } */
.filters input,
.filters select {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background-color: #333;
    color: #e0e0e0;
    
}

.car-comparison {
    padding: 40px;
    text-align: center;
}


.inventory {
    padding: 40px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color:white;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.car {
   
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
    transition: transform 0.2s; /* Animation effect */
}

.car:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.car img {
    width: 100%;
    border-radius: 10px;
}

button {
    padding: 12px;
    background-color: #ff9900;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    animation: modal-open 0.5s;
}

.modal .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #ff9900;
    font-color:green;
    
}
.nocar {
  color:white;
}

@keyframes modal-open {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }



}























