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

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

h1 {
  font-family: "Roboto Slab", serif;
  font-weight: 600;
  text-align: center;
  font-size: 1.8125rem;
  padding-bottom: 1rem;
  color: var(--black);
}

h2 {
  font-family: "Inknut Antiqua", serif;
  font-size: 1.5rem;
  padding: 0 0 0 1rem;
  /* margin: 0.8rem; */
  font-weight: 400;
}

p {
  color: var(--black);
  font-family: "Roboto Slab", sans-serif;
  font-weight: 400;
  padding: 0 1rem 1rem 1rem;
  font-size: 0.9rem;
}
button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background-color: white;
  color: #262626;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
    rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
    rgba(0, 0, 0, 0.07) 0px 16px 16px;
}

button:hover {
  background-color: #c6ab84;
}
@media (min-width: 768px) {
  button {
    width: 50%;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

.hero {
  display: flex;
  height: 730px;
  width: 100vw;
  background-image: url("./images/hero-img-mobile.png");
  justify-content: center;
}

.hero-title {
  margin-top: 20%;
  text-align: center;
  font-family: "Inknut Antiqua", serif;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
  line-height: 38px;
  font-size: 24px;
  z-index: 1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .hero {
    background-image: url("./images/hero.jpg");
    background-size: cover;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 50px;
    margin-top: 10%;
  }
}

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

.contact-btn img {
  pointer-events: auto;
  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));
}

.contact-num {
  background-color: var(--red);
  color: white;
  font-family: "Roboto Slab", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  padding: 0.5rem;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-num {
    font-size: 1rem;
  }
}

#events {
  background-color: var(--primary-color);
  padding: 1rem 1rem 2.5rem 1rem;
}

.vehicle-card {
  background-color: white;
  margin: 0 auto;
  margin-top: 1.75rem;
  width: auto;
  border-radius: 20px;
  box-shadow: 4px 4px 5.3px 1px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  /* max-height: 500px; */
}

#events .vehicle-card img {
  transform: scaleY(1.02);
}

#available-cars {
  background-color: var(--primary-color);
  padding: 1rem 1rem 1.7rem 1rem;
}

#available-cars p,
#available-cars h2 {
  padding: 0px;
}

.vehicle-card img {
  width: 100%;
}

#available-cars .vehicle-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#available-cars .vehicle-card {
  flex: 1 1 calc(33.33% - 20px); /* 3 cards on desktop */
  box-sizing: border-box;
  padding: 20px;
}

@media (max-width: 768px) {
  #available-cars .vehicle-card {
    flex: 1 1 100%; /* 1 card on mobile */
  }
}

#why-us {
  padding: 1rem 1rem 1.7rem 1rem;
}

.why-us-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  margin: 0 auto;
  margin-top: 1.75rem;
  width: 85%;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  /* box-shadow: 2px 4px 5px 1px rgba(0, 0, 0, 0.25); */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.why-us-card h2 {
  font-family: "Roboto Slab", sans-serif;
  font-weight: 600;
  color: var(--black);
  padding: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  #why-us-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto auto;
    width: 80%;
  }

  .why-us-card {
    width: 35%;
    margin: 1rem;
    padding: 1rem;
  }
}

.icon-area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100px;
  background-color: var(--primary-color);
  margin: auto auto;
  margin-top: 1rem;
  border-radius: 50%;
}

/* Values Section */

.values {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
  font-family: "Inknut Antiqua", serif;
}

.values h2 {
  padding: 0px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.value-item > .icon-area {
  background-color: unset;
}
