/* FIVE STAR AUTO WEBSITE */


/* BASE */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #050505; /* true void */
  color: #f2f2f2;
  line-height: 1.6;
}


/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;

  display: flex;
  align-items: center;

  padding: 16px 40px;
  background: #000;
  border-bottom: 2px solid #e10600;
}


/* LEFT SIDE */

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  height: 46px;
}

.brand {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}


/* right side */

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto; /* pushes it all the way right */
}


/* NAV LINKS */

/* To remove underline under navbar links */
a {
  text-decoration: none;
}

.nav-links {
  color: #ff2e2e;
  text-decoration: none;
  display: flex;
  gap: 28px;
  margin-left: auto; /* pushes everything after it to the right */
}

.nav-links a:hover {
  color: #ff2e2e;
  text-decoration: none;
  font-weight: 500;
  transition: 0.25s;
}

/* To make nav link color red insted of purple */
a:visited {
    color: #ff2e2e !important;
    text-decoration: none;
}   

/* Facebook Button */

.fb-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 46px; /* match call button height */
  width: auto;
  padding: 0 0px;

  border-radius: 6px;

  line-height: 0; /* removes weird bottom gap */
}

.fb-btn img {
  height: 24px;
  width: auto;
  display: block; /* removes inline image spacing issue */
}

.fb-btn-2 {
width: auto;
}

/* CALL BUTTON */

.nav-call {
  background: #e10600;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.25s;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

.nav-call:hover {
  background: #ff2e2e;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.7);
}

/* HERO SECTION */

.hero {
  min-height: 75vh;

  display: flex;
  
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
    url("images/shop.jpg") center / cover no-repeat;
}

/* HERO BANNER */

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

  background: none;

  padding: 100px 120px;
  }

.hero-banner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  background: none;
}

.hero-banner p {
  font-size: 1.25rem;
  color: #ddd;
  margin: 5px;
  background: none;
}

/* oil change cards */

.FS-Cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* SECTIONS */

section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 70px 30px;

  background: #0c0c0c;
  border-radius: 12px;

  border: 1px solid #1a1a1a;
}

h2 {
  text-align: center;
  margin-bottom: 35px;
  color: #ff2e2e;
  font-size: 2rem;
}

/* SERVICES LIST */

.services ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

.services li {
  text-align: center;
  padding: 12px 0;
  font-size: 1.15rem;
  border-bottom: 1px solid #1e1e1e;
}


/* FOOTER */

footer {
  text-align: center;
  padding: 30px;
  background: #000;
  border-top: 2px solid #e10600;
  margin-top: 60px;
}

/* MOBILE OPTIMIZATION */

@media (max-width: 900px) {

  /* NAVBAR STACK */

  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    gap: 10px;
  }

  .nav-left {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .brand {
    font-size: 1rem;
  }

  .logo {
    height: 36px;
  }

  .nav-right {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }

  /* BUTTONS FIX */

  .nav-call {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .fb-btn {
    height: 40px;
    padding: 0 10px;
  }

  /* HERO FIX */

  .hero {
    min-height: 60vh;
    padding: 20px;
  }

  .hero-banner {
    padding: 40px 20px;
  }

  .hero-banner h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .hero-banner p {
    font-size: 1rem;
  }

  .hero-banner h3 {
    font-size: 1rem;
    text-align: center;
  }

  /* IMAGE SCALING */

  .FS-Cards img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  /* SECTIONS */

  section {
    margin: 30px 12px;
    padding: 40px 18px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .services li {
    font-size: 1rem;
    padding: 10px 0;
  }

  /* MAP */

  iframe {
    height: 250px;
  }

  img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rewards img {
  width: 100%;
  border-radius: 10px;
}

}