
body {
    margin: 0;
     font-family: 'Arimo', sans-serif;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    letter-spacing: 0.5px;
    background-color: #2E3A4E;
    color: white;
     justify-content: center;
    align-items: center;
    height: 100vh;
    transform: scale(1);
    animation: zoomPage 1s ease-in-out forwards;
}

/* ------------------------- this section is for top page logo ------------------------------------------*/
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20vh;
    background-color: #0c0c0c;
}
.car-outline img {
   width: 90vw;           /* 70% of the screen width */
    max-width: 600px;      /* Won’t go beyond this size */
    height: auto;
    margin: 30px 0;
}


/* ------------------- this section is for the nav bar between logo and carousel -------------------------------*/
.site-nav {
    display: flex;
    justify-content: center;     /* Center the nav items */
    gap: 20px;                   /* Add space between buttons */
    background-color: #0c0c0c;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
}
.site-nav a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s;
}
.site-nav a:hover {
    transform: scale(1.05);
}

/* ---------------------- this section is for the carousel images ----------------------------*/
.swiper, .swiper-slide {
  width: 99vw;
  height: 75vh;
}
.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 75vh;
}
.slide-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(15, 17, 19, 0.6);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}
.slide-overlay h2 {
  font-size: 2em;
  margin-bottom: 30px;
}
.slide-overlay p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.carousel-button {
  background-color: white;
  color: #0F1113;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.carousel-button:hover {
  background-color: #dddddd;
}

/* -------------------------- index page clickable image links ----------------- */

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.feature-item {
  position: relative;
  width: 45%;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 300px;
  filter: brightness(80%);
}

.feature-item:hover {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  width: 100%;
}

.overlay h3 {
  margin: 0;
  font-size: 1.4rem;
}

.overlay p {
  margin: 5px 0 0;
  font-size: 1rem;
}


/* ----------------------  footer ----------------------------- */
.site-footer {
  background-color: #1a1d20;
  color: white;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}
