:root {
  --primary-color: #f5d8a3;
  --black: #262626;
  --red: #ff4545;
}

/* Full Page Background */
body {
  background-color: #f5d8a3;
  color: #333;
  margin: 0;
  font-family: "Roboto Slab", serif;
}

/* Ensure sections and containers take full width */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
}

/* All Cars Section */
.all-cars {
  padding: 20px;
  text-align: center;
  margin: 30px 0px 30px 0px;
}

.all-cars h1 {
  font-family: "Roboto Slab", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Vehicle Cards Layout */
.vehicle-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
}

/* Individual Vehicle Card */
.vehicle-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  height: 450px;
}

.vehicle-card-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-bottom: 1px solid #262626;
}

.vehicle-card-title {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  margin: 10px;
}

.vehicle-card p {
  font-family: "Roboto Slab", serif;
  font-size: 1rem;
  margin: 10px;
  color: #555;
  margin-bottom: 0px;
}

@media (max-width: 767px) {
  .vehicle-cards {
    grid-template-columns: 1fr;
    /* Single column for mobile */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .vehicle-cards {
    grid-template-columns: repeat(2, 1fr);
    /* Two columns for tablets */
  }
}

@media (min-width: 1025px) {
  .vehicle-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-container {
  pointer-events: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: fixed;
  width: 100vw;
  display: flex;
  justify-content: end;
  margin-top: 60vh;
  z-index: 999;
}

.contact-btn img {
  pointer-events: auto;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  width: 67px;
  padding: 0.4rem;
  margin-bottom: 15px;
  border-radius: 50px 0 0 50px;
  height: 41px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

header span {
  transform: translateY(50%);
}

header {
  padding-top: 60px;
  height: 30vh;
  background-image: none;
  --sz: 10px;
  --c1: #edf6fb;
  --c2: #94afbd;
  --c3: #46525e;
  --c4: #2e353c;
  --ts: 50%/ calc(var(--sz) * 18.8) calc(var(--sz) * 10.8);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
  /* I have repeated some sentences to avoid errors at the edges of the tiles */
  conic-gradient(from 0deg at 65% 35%, var(--c3) 0 120deg, #fff0 0 100%) var(--ts),
  conic-gradient(from 0deg at 65% 35%, var(--c3) 0 120deg, #fff0 0 100%) var(--ts),

  conic-gradient(from 240deg at 35% 35%, var(--c2) 0 120deg, #fff0 0 100%) var(--ts),
  conic-gradient(from 240deg at 35% 35%, var(--c2) 0 120deg, #fff0 0 100%) var(--ts),

  conic-gradient(from 60deg at 75% 65%, var(--c4) 0 60deg, #fff0 0 100%) var(--ts),
  conic-gradient(from 60deg at 75% 65%, var(--c4) 0 60deg, #fff0 0 100%) var(--ts),

  conic-gradient(from 240deg at 25% 65%, var(--c4) 0 60deg, #fff0 0 100%) var(--ts),
  conic-gradient(from 240deg at 25% 65%, var(--c4) 0 60deg, #fff0 0 100%) var(--ts),

  conic-gradient(from 60deg at 65% 65%, var(--c1) 0 60deg, var(--c3) 0 120deg, #fff0 0 100%) var(--ts),
  conic-gradient(from 60deg at 65% 65%, var(--c1) 0 60deg, var(--c3) 0 120deg, #fff0 0 100%) var(--ts),

  conic-gradient(from 180deg at 35% 65%, var(--c2) 0 60deg, var(--c1) 0 120deg, #fff0 0 100%) var(--ts),
  conic-gradient(from 180deg at 35% 65%, var(--c2) 0 60deg, var(--c1) 0 120deg, #fff0 0 100%) var(--ts),

  conic-gradient(from 60deg at 60% 10%, var(--c1) 0 60deg, #fff0 0 100%) var(--ts),

  conic-gradient(from -120deg at 40% 10%, var(--c1) 0 60deg, #fff0 0 100%) var(--ts),

  conic-gradient(from -60deg at 50% 20%, var(--c3) 0 60deg, var(--c2) 0 120deg, #fff0 0 100%) var(--ts),
  conic-gradient(from -60deg at 50% 20%, var(--c3) 0 60deg, var(--c2) 0 120deg, #fff0 0 100%) var(--ts),

  conic-gradient(from -60deg at 50% 40%, var(--c4) 0 120deg, #fff0 0 100%) var(--ts),

  conic-gradient(from -60deg at 50% 50%, var(--c1) 0 120deg, var(--c2) 0 240deg, var(--c3) 0 100%) var(--ts),
  conic-gradient(from -60deg at 50% 50%, var(--c1) 0 120deg, var(--c2) 0 240deg, var(--c3) 0 100%) var(--ts);
}
@media (max-width: 767px) {
  header {
    --sz: 5px;
  }
}