:root {
  --fire-red: #ed2024;
  --dark-gray: #3a3a3b;
  --bg-dark: #1a1a1a;
  --bg-darker: #0f0f0f;
  --bg-card: #252525;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --border-color: #525252;
  --radius: 0.625rem;
}

/* Subpage Specific Styles */

.subpage-content {
  padding: 80px;
}

.subpage-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:70px;
  background: var(--fire-red);
  padding:80px 20px;
  height: 20rem;
  position: relative;
  z-index: 1;
}

.subpage-hero:before{
  top:0;
  left:0;
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: black; 
  opacity: .25;
}

.subpage-hero h1 {
  font-size: 3rem;
  color: #ffffff;
}

.subpage-content h2 {
  font-size: 2rem;
  /*margin-top: 3rem;*/
  margin-bottom: 1rem;
  color: #ffffff;
}

.subpage-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.subpage-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.subpage-content ul,
.subpage-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #d1d1d1;
}

.subpage-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.subpage-content a {
  border-bottom: 1px solid var(--fire-red);
}

.subpage-content a:hover {
  color: var(--fire-red);
}

.subpage-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .subpage-content {
    padding: 60px 20px;
  }

  .subpage-content h1 {
    font-size: 2rem;
  }

  .subpage-content h2 {
    font-size: 1.5rem;
  }
}

/* SUBPAGE HERO SECTION */

#inventory-hero{
  background-image: url(../images/inventory-hero.jpg);
  background-repeat: no-repeat;
  background-position: 60% 40%;
  background-size: cover;
}

#new-trucks-hero{
  background-image: url(../images/new-trucks-hero.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

#used-trucks-hero{
  background-image: url(../images/used-hero.jpeg);
  background-repeat: no-repeat;
  background-position: 60% 40%;
  background-size: cover;
}

#sold-trucks-hero{
  background-image: url(../images/sold-hero.jpeg);
  background-repeat: no-repeat;
  background-position: 60% 40%;
  background-size: cover;
}

#custom-trucks-hero{
  background-image: url(../images/custom-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#about-hero{
  background-image: url(../images/about-hero.jpg);
  background-repeat: no-repeat;
  background-position: 60% 40%;
  background-size: cover;
}

#contact-hero{
  background-image: url(../images/contact-hero.jpeg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

