/* RESET + BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body.page {
  margin: 0;
  background: #f5f3ef;
  font-family: 'Lato', Arial, sans-serif;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* HEADER */

.header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 3px solid #6b0000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.top-bar {
  padding: 14px 5%;
  display: flex;
  align-items: center;
}

.top-bar__left {
  display: flex;
  align-items: center;
  flex: 1;
}

.top-bar__logo {
  width: 130px;
  height: auto;
}

.top-bar__company-name {
  flex: 1;
  text-align: center;
}

.top-bar__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b0000;
  margin: 0 0 4px 0;
}

.top-bar__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6b0000;
  margin: 0;
  letter-spacing: 0.06em;
}

.top-bar__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
}

.top-bar__link {
  text-decoration: none;
  color: #6b0000;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.top-bar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #CC0000;
  transition: width 0.25s ease;
}

.top-bar__link:hover::after {
  width: 100%;
}

.top-bar__link--cta {
  background: #6b0000;
  color: white;
  padding: 9px 18px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.top-bar__link--cta::after {
  display: none;
}

.top-bar__link--cta:hover {
  background: #CC0000;
  color: white;
}


/* HERO */

.section--hero {
  padding-top: 0;
  padding-bottom: 0;
  background: #f5f3ef;
}

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(9, 10, 8, 0.6) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  max-width: 620px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8a0a0;
  margin: 0 0 14px 0;
}

.hero__title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin: 0 0 16px 0;
}

.hero__body {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 0 0 28px 0;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__btn {
  text-decoration: none;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.hero__btn--primary {
  background: white;
  color: #6b0000;
}

.hero__btn--primary:hover {
  background: #e8a0a0;
  color: #6b0000;
}

.hero__btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.hero__btn--secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}


/* LOCATIONS */

.section--petro {
  background: white;
  padding-top: 80px;
  padding-bottom: 80px;
}

.locations-section {
  padding-top: 80px;
}

.locations-section__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CC0000;
  text-align: center;
  margin: 0 0 8px 0;
}

.locations-section__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #6b0000;
  text-align: center;
  margin: 0 0 40px 0;
  letter-spacing: 0.03em;
}

.map-block {
  position: relative;
  height: 600px;
  overflow: hidden;
  z-index: 0;
  padding: 0 5%;
}

.map-block__image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.map-block__image {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.locations {
  padding: 0 5%;
  position: relative;
  margin-top: -130px;
  z-index: 2;
}

.locations__row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.location-card {
  flex: 1;
  background: white;
  border-radius: 6px;
  border-top: 4px solid #6b0000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
  cursor: pointer;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  border-top-color: #CC0000;
}

.location-card__header {
  background: #6b0000;
  padding: 16px 20px 14px;
  border-radius: 2px 2px 0 0;
}

.location-card__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8a0a0;
  margin: 0 0 4px 0;
}

.location-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: 0.04em;
}

.location-card__hours {
  list-style: none;
  margin: 0;
  padding: 14px 20px 10px;
  border-bottom: 1px solid #eee;
}

.location-card__hours .location-card__item {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.7;
}

.location-card__hours .fa-clock { color: #2a7a2a; margin-right: 7px; }
.location-card__hours .fa-times-circle { color: #bbb; margin-right: 7px; }

.location-card__fuels {
  list-style: none;
  margin: 0;
  padding: 12px 20px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}

.location-card__fuels li {
  background: #fff0f0;
  color: #6b0000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.location-card__info {
  list-style: none;
  margin: 0;
  padding: 12px 20px 16px;
}

.location-card__info .location-card__item {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}

.location-card__info i {
  color: #6b0000;
  margin-right: 8px;
  width: 14px;
}

.location-card__info a {
  color: #555;
  text-decoration: none;
}

.location-card__info a:hover {
  color: #6b0000;
  text-decoration: underline;
}

.location-card__image {
  margin-top: auto;
  height: 300px;
  overflow: hidden;
  border-radius: 0 0 6px 6px;
  margin-bottom: -1px;
}

.location__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* PRODUCTS */

.section--products {
  background: white;
  padding-top: 80px;
  padding-bottom: 80px;
}

.products__header {
  text-align: center;
  padding: 0 5% 50px;
}

.products__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CC0000;
  margin: 0 0 10px 0;
}

.products__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #6b0000;
  margin: 0;
  letter-spacing: 0.03em;
}

.products__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 0 5%;
}

.pcard {
  display: flex;
  width: 100%;
  max-width: 960px;
  height: 480px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.pcard__image {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.pcard:hover .pcard__img {
  transform: scale(1.04);
}

.pcard__content {
  width: 50%;
  flex-shrink: 0;
  background: #6b0000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
  overflow-y: auto;
}

.pcard__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0 0 20px 0;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.pcard__brands {
  font-size: 0.75rem;
  color: #e8a0a0;
  display: block;
  padding-left: 14px;
  margin-top: 2px;
  opacity: 0.9;
}

.pcard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcard__list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pcard__list li:last-child {
  border-bottom: none;
}

.pcard__list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e8a0a0;
  flex-shrink: 0;
}


/* FUEL BANNER */

.section--about {
  background: white;
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-banner {
  display: flex;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.about-banner__image-side {
  flex: 1;
  overflow: hidden;
}

.about-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-banner__text-side {
  flex: 1;
  background: #6b0000;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
}

.about-banner__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8a0a0;
  margin: 0 0 12px 0;
}

.about-banner__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: white;
  margin: 0 0 20px 0;
}

.about-banner__body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin: 0;
}


/* TEAM */

.section--team {
  background: white;
  padding-top: 80px;
  padding-bottom: 80px;
}

.team__header {
  text-align: center;
  padding: 0 5% 50px;
}

.team__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CC0000;
  margin: 0 0 10px 0;
}

.team__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #6b0000;
  margin: 0;
  letter-spacing: 0.03em;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0 8%;
  max-width: 80%;
  margin: 0 auto;
}

.team-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__img {
  transform: scale(1.04);
}

.team-card__info {
  padding: 12px 4px 10px;
  background: transparent;
  text-align: center;
}

.team-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b0000;
  margin: 0 0 4px 0;
}

.team-card__position {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CC0000;
  margin: 0;
}

/* EMERGENCY CONTACTS */

.section--emergency {
  background: white;
  padding-top: 0;
  padding-bottom: 80px;
}

.emergency {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

.emergency__title {
  background: #6b0000;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  padding: 16px 24px;
}

.emergency__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.emergency__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  font-size: 0.88rem;
  border-bottom: 1px solid #eee;
  color: #555;
}

.emergency__list li:last-child {
  border-bottom: none;
}

.emergency__label {
  font-weight: 600;
  color: #222;
}

.emergency__list a {
  color: #6b0000;
  text-decoration: none;
  font-weight: 600;
}

.emergency__list a:hover {
  text-decoration: underline;
}

/* CONTACT BREAK */

.contact-break {
  background: white;
  display: flex;
  flex-direction: column;
}

.contact-break__text-area {
  background: white;
  text-align: center;
  padding: 20px 5% 0;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  transform: translateY(80px);
  z-index: 3;
}

.contact-break__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CC0000;
  margin: 0 0 16px 0;
}

.contact-break__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #6b0000;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.contact-break__body {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.contact-break__image-area {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.contact-break__curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  z-index: 2;
  display: block;
}

.contact-break__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* FOOTER */

.footer {
  background: #6b0000;
  color: white;
  padding: 60px 6% 0;
}

.footer__inner {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
  margin: 0 50px;
}

.footer__brand { flex: 1.3; }

.footer__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8a0a0;
  margin: 0 0 10px 0;
}

.footer__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  margin: 0 0 14px 0;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 24px 0;
  max-width: 280px;
}

.footer__cta {
  display: inline-block;
  background: white;
  color: #6b0000;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer__cta:hover {
  background: #e8a0a0;
}

.footer__col { flex: 1; }

.footer__col-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8a0a0;
  margin: 0 0 16px 0;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer__list i {
  color: #e8a0a0;
  margin-right: 9px;
  width: 14px;
}

.footer__icon--muted {
  color: rgba(255,255,255,0.3);
}

.footer__cardlock {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}

.footer__cardlock i {
  color: #e8a0a0;
  margin-right: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.footer__copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer__bottom-links { display: flex; gap: 24px; }

.footer__bottom-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer__bottom-link:hover {
  color: #e8a0a0;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 900px) {
  .top-bar {
    flex-direction: column;
    gap: 8px;
    padding: 10px 5%;
  }

  .top-bar__logo {
    width: 70px;
  }

  .top-bar__eyebrow {
    display: none;
  }

  .top-bar__title {
    font-size: 1.3rem;
  }
  
  .top-bar__left { justify-content: center; }

  .top-bar__nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .top-bar__link {
    font-size: 0.8rem;
  }

  .top-bar__link--cta {
    padding: 6px 12px;
  }
  
  .hero { height: 420px; }
  .hero__title { font-size: 1.9rem; }
  .hero__overlay { background: rgba(0,0,0,0.72); }
  .about-banner {
    flex-direction: column;
  }

  .about-banner__image-side {
    height: 260px;
    flex: none;
  }

  .about-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .about-banner__text-side {
    padding: 36px 28px;
  }

  .locations__row { flex-direction: column; }
  .location-card__image { height: 200px; }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    padding: 0 8%;
  }

  .contact-break__title { font-size: 2rem; }
  .contact-break__image-area { height: 280px; }

  .footer__inner { flex-direction: column; gap: 36px; }
  .footer__divider { display: none; }
  .footer__tagline { max-width: 100%; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 700px) {
  .pcard {
    flex-direction: column;
    height: auto;
  }

  .pcard__image {
    width: 100%;
    height: 220px;
  }

  .pcard__content {
    width: 100%;
    padding: 28px 24px;
  }
}

@media (max-width: 500px) {
  .team__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.6rem; }
}
