* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #f5f7fa;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header {
  background: #0a0a0a;
  padding: 15px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  background: linear-gradient(to right, #111, #333);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 260px;        /* adjust size here */
  max-width: 80%;
  margin-bottom: 25px;
}

.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* lighter overlay */
  z-index: 1;
}

/* VERY VISIBLE BACKGROUND LOGO */
.hero-bg-logo {
  position: absolute;
  width: 750px;        /* much bigger */
  max-width: 95%;
  opacity: 0.35;       /* clearly visible */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  transform: translateY(-200px); /* ~5cm upward */
}


.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

h2 {
  margin: 40px 0 20px;
}

#searchInput {
  width: 100%;
  padding: 12px;
  margin-bottom: 25px;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.car-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.car-card .info {
  padding: 15px;
}

.price {
  color: #0a7cff;
  font-weight: bold;
  margin-top: 10px;
}

.finance {
  background: #111;
  color: white;
  padding: 60px 0;
}

form {
  display: grid;
  gap: 15px;
  max-width: 500px;
}

input, textarea, button {
  padding: 12px;
}

button {
  background: #0a7cff;
  border: none;
  color: white;
  cursor: pointer;
}

.contact {
  padding-bottom: 60px;
}

footer {
  background: #0a0a0a;
  color: white;
  text-align: center;
  padding: 20px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 28px;
  background: #25d366;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
}

footer a {
  color: #0a7cff;
  text-decoration: none;
  margin: 0 5px;
  font-size: 0.9rem;
}

footer a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

.cookie-banner button {
  background: #0a7cff;
  border: none;
  padding: 8px 15px;
  color: white;
  cursor: pointer;
}

.car-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.car-gallery {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.car-card-img {
  width: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.car-specs {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  border-collapse: collapse;
}

.car-specs th, .car-specs td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.car-specs th {
  background-color: #0a7cff;
  color: white;
}

.car-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn {
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.btn-call { background-color: #0a7cff; }
.btn-whatsapp { background-color: #25D366; }
.btn-request { background-color: #111; }
/* ===============================
   LEGAL PAGES - Privacy & Terms
================================ */
.policy-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px 35px;
  background: #111;           /* dark background */
  color: #ffffff;             /* text color white */
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  line-height: 1.7;
}

.policy-container h1 {
  text-align: center;
  color: #0a7cff;
  font-size: 2.4rem;
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #0a7cff;
}

.policy-container p,
.policy-container li {
  font-size: 1.1rem;
  color: #ccc;
}

.policy-container ul {
  margin-left: 25px;
  margin-top: 10px;
  list-style-type: disc;
}

/* ===============================
   CONTACT SECTION DARK BACKGROUND
================================ */
.contact-container {
  max-width: 1100px;
  margin: 80px auto;
  padding: 40px;
  background: #1c1c1c; /* dark background */
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  color: #f1f1f1; /* light text */
}

.contact-container h2 {
  color: #0a7cff;
}

.contact-container .contact-card {
  background: #2a2a2a; /* slightly lighter dark for cards */
}

.contact-container .contact-card h3,
.contact-container .contact-card p,
.contact-container .contact-card a {
  color: #f1f1f1;
}

.contact-container .contact-card a {
  color: #0a7cff;
}
/* ===============================
   ABOUT / WHY CHOOSE NAI AUTO GROUP
================================ */
.about-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 50px 35px;
  background: #111; /* dark background */
  color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  text-align: center;
}

.about-section h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #0a7cff;
}

.about-section .subtitle {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 35px;
}

.about-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 15px;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0a7cff;
  font-weight: bold;
}

/* ===============================
   CONTACT US SECTION
================================ */
.contact-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 50px 35px;
  background: #111; /* dark background */
  color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  text-align: center;
}

.contact-container h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #0a7cff;
}

.contact-grid.center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  justify-content: center;
}

.contact-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: #fff;
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #0a7cff;
}

.contact-card p {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #ddd;
}

.contact-card a {
  color: #0a7cff;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card form input,
.contact-card form textarea,
.contact-card form button {
  width: 100%;
  margin-bottom: 15px;
}

.contact-card form input,
.contact-card form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
}

.contact-card form button {
  background: #0a7cff;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-card form button:hover {
  background: #075ec2;
}

@media (max-width: 768px) {
  .contact-grid.center-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   TESTIMONIALS DARK BACKGROUND
================================ */
.testimonials {
  margin-top: 60px;
  text-align: center;
  background: #1c1c1c; /* dark background */
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  color: #f1f1f1;
}

.testimonials h2 {
  color: #0a7cff;
}

.testimonials blockquote {
  color: #f1f1f1;
  background: rgba(10,124,255,0.05);
}

/* ===============================
   MODERN CAR DETAIL PAGE
================================ */
.car-detail {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
  background: #111; /* dark background */
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.car-detail h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #0a7cff;
}

.car-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.car-images {
  flex: 1 1 400px;
  max-width: 500px;
}

.car-images img#mainImage {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  object-fit: cover;
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail-gallery img.thumbnail-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.thumbnail-gallery img.thumbnail-img:hover {
  border-color: #0a7cff;
}

.car-info {
  flex: 1 1 350px;
  max-width: 500px;
}

.car-price {
  font-size: 2rem;
  font-weight: bold;
  color: #0a7cff;
  margin-bottom: 20px;
}

.car-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.car-specs th, .car-specs td {
  padding: 10px;
  border: 1px solid #333;
  text-align: left;
}

.car-specs th {
  background-color: #0a7cff;
  color: #fff;
}

.car-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.btn-call { background-color: #0a7cff; }
.btn-call:hover { background-color: #075ec2; }

.btn-whatsapp { background-color: #25D366; }
.btn-whatsapp:hover { background-color: #1ebe57; }

.car-description h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0a7cff;
}

.car-description p {
  line-height: 1.6;
  color: #ddd;
}

/* Responsive adjustments */
@media(max-width: 900px) {
  .car-layout { flex-direction: column; align-items: center; }
  .car-images, .car-info { max-width: 100%; }
  .thumbnail-gallery img { width: 60px; height: 45px; }
}

.car-card {
  display: block; /* make the entire card clickable */
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.car-card .info {
  padding: 15px;
}

.car-card .price {
  color: #0a7cff;
  font-weight: bold;
  margin-top: 8px;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.car-card:hover img {
  transform: scale(1.05);
}
