header img {
    height: 120px;
    margin-left: 40px;
}

body {
    height: 125vh;
    background-size: cover;
    font-family: sans-serif;
    margin-top: 128px;
    background-color: #FFF3CA;
}

main {
    padding: 10px;
    color: black;
}

header {
    background-color: #FFF3CA;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the items vertically */
}

header ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none; /* Remove bullets */
    padding: 0;       /* Remove default padding */
    margin: 0;        /* Remove default margin */
}

header li {
    margin: 20px;
}

header li a {
    color: green;
    text-decoration: none;
}

section {
    display: none;
}
    
section.active {
    scroll-margin-top: 130px; /* same as your header + some padding */
    display: block;
    width: 80%;
    margin-right:auto;
    margin-left:auto;
    text-align:center;
}

select {
    padding: 10px;
    margin: 10px 0;
    width: 200px;
}

#price, #dealer-price {
  margin-top: 10px;
  font-size: 1.1em;
  color: #00bf63;
}
#dealer-price {
  color: darkred;
}

#fcc-id, #part-number {
  margin-top: 10px;
   font-size: 12px;
  color: black;
}

h1 {
    color: #0097b2;
}

/* Ensure header image scales down */
header img {
  max-width: 25%;
  height: auto;
  margin-left: 10px;
}

#menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: green;
  padding: 10px;
}

/* Stack nav items on small screens */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  header ul {
    flex-direction: column; /* Only vertical on mobile */
    width: 100%;
  }

  header li {
    margin: 5px 0;
    width: 100%; /* Full width item */
    text-align: center; /* Center text */
  }

  header li a {
    display: block;
    width: 100%;
  }

  body {
    margin-top: 128px; /* enough space for taller header */
  }

  /* Show hamburger */
  #menu-toggle {
    display: block;
  }

  /* Hide nav by default */
  #nav-menu {
    display: none;
  }

  /* Show nav when active */
  #nav-menu.active {
    display: block;
  }

  header img {
    height: 80px;
    margin-left: 0;
  }
}

/* Larger than 768px: side-by-side */
@media (min-width: 769px) {
  header {
    flex-direction: row;
    justify-content: center;
    height: 120px;
    padding: 0 40px;
  }
  header img {
    height: 100px;
    margin-left: 0;
  }
  header ul {
    flex-direction: row;
    align-items: center;
  }
  header li {
    margin: 0 15px;
  }

  body {
    margin-top: 128px; /* enough space for taller header */
  }
} 

