/* =========================
   ROOT VARIABLES
========================= */
:root {
  --orange: #FF4C00;
  --black: #110000;
  --dark-gray: #1A1A1A;
  --mid-gray: #2A2A2A;
  --light-gray: #AAAAAA;
  --white: #FFFFFF;
}

/* =========================
   GLOBAL STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--black);
  color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   NAVIGATION
========================= */
.navbar {
  background-color: var(--black);
  padding: 20px 0;
  border-bottom: 2px solid var(--orange);
}

.navbar .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

/* =========================
   HERO SECTION (UPDATED WITH IMAGE)
========================= */
.hero {
  position: relative;
  background: url("images/banner pattern.png") center center / cover no-repeat;
  padding: 120px 0;
}

}

/* Keeps content above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--black);
  color: var(--white);
  font-weight: 700;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.hero-image img {
  max-width: 500px;
}

/* HERO ACTIONS */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.hero-search {
  display: flex;
}

.hero-search input {
  padding: 12px 15px;
  border: none;
  outline: none;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  width: 200px;
}

.hero-search button {
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  background: #111;
  color: white;
  font-weight: 600;
  border-radius: 0 6px 6px 0;
  transition: background 0.3s ease;
}

.hero-search button:hover {
  background: #000;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   CAROUSEL
========================= */
.carousel-section {
  width: 100%;
  background: #111;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-slide {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  position: relative;
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: white;
}

.carousel-caption h3 {
  font-size: 26px;
  font-weight: 700;
}

.carousel-caption p {
  margin-top: 8px;
  font-size: 16px;
  opacity: 0.9;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 30px;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.prev { left: 25px; }
.carousel-btn.next { right: 25px; }

.carousel-btn:hover {
  background: var(--orange);
}

/* =========================
   CATEGORIES
========================= */
.categories {
  background-color: var(--dark-gray);
  padding: 80px 0;
  text-align: center;
}

.categories h3 {
  font-size: 28px;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.category-card {
  display: block;
  background-color: var(--mid-gray);
  padding: 40px 20px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.category-card:hover {
  background-color: var(--orange);
}

/* =========================
   BRAND GALLERY
========================= */
.footer-gallery {
  width: 100%;
  padding: 80px 5%;
  background-color: #111;
}

.brands {
  text-align: center;
  margin-bottom: 50px;
  font-size: 28px;
  font-weight: 600;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  width: 100%;
}

.brand-grid img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #111;
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: #111;
  color: #fff;
  padding: 60px 0 20px;
  border-top: 3px solid var(--orange);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  margin-bottom: 15px;
}

.footer-section p,
.footer-section li {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}
/* =========================
   FAQ SECTION
========================= */

.faq-section {
  padding: 80px 0;
  background: var(--dark-gray);
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  background: var(--mid-gray);
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.faq-question:hover {
  background: var(--orange);
}

.faq-answer {
  display: none;
  padding: 20px;
  background: #111;
  color: #ccc;
  line-height: 1.6;
}

/* THIS is what makes it open */
.faq-item.active .faq-answer {
  display: block;
}
/* =========================
   PARTS SECTION
========================= */

.parts-section {
  padding: 80px 0;
  background: var(--dark-gray);
  text-align: center;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.part-card {
  background: var(--mid-gray);
  padding: 30px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.part-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.part-card h4 {
  margin-bottom: 20px;
}

/* Fix button styling inside cards */
.part-card .btn-primary {
  display: inline-block;
  margin-top: 10px;
}

.part-card:hover {
  transform: translateY(-5px);
}
/* =========================
   CONTACT PAGE
========================= */

.contact-section {
  padding: 80px 0;
  background: var(--dark-gray);
}

.contact-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ccc;
}

/* FORM STYLING */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 6px;
  border: none;
  background: #818181;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

/* Make placeholder text black */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #000;
  opacity: 1; /* ensures full black in some browsers */
}


.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
}

/* =========================
   MAP SECTION
========================= */

.iframe-section {
  padding: 80px 0;
  background: #111;
}

.iframe-wrapper {
  text-align: center;
}

.iframe-text {
  margin-bottom: 40px;
}

.iframe-text h2 {
  margin-bottom: 15px;
}

.iframe-container {
  max-width: 1000px;
  margin: auto;
}
/* =========================
   SERVICE GRID LIST
========================= */

.services-list {
  padding: 120px 0;
  background: #111;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px; /* more spacing between tiles */
}

/* BIG CARD SIZE */
.service-card {
  display: block;
  position: relative;
  height: 500px;              /* ⬅ MUCH TALLER */
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}

/* Image fills entire card */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.service-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.service-overlay h3 {
  font-size: 1.6rem;          /* bigger text */
  color: white;
}

/* Hover effect */
.service-card:hover {
  transform: scale(1.06);
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 400px;
  }
}

/* =========================
   ABOUT PAGE TEXT UPGRADE
========================= */

/* Target only About page content */
.categories h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 800;
}

.categories p {
  font-size: 1.25rem;     /* Bigger body text */
  line-height: 2;         /* Better readability */
  color: #ddd;
}

/* Make text container slightly wider */
.categories .container div {
  max-width: none !important;

}

/* Make spacing cleaner */
.categories {
  padding: 100px 0;
}


/* =========================
   ABOUT ROW LAYOUT
========================= */

.about-row {
  display: grid;
  grid-template-columns: 300px 1fr 300px; /* equal image widths */
  align-items: center;
  margin-bottom: 160px;
column-gap: 40px; /* increase or decrease this value */


}


.about-text {
  text-align: center;
  max-width: 900px;        /* prevents text from getting too narrow */
  margin: 0 auto;
}

.about-text p {
  font-size: 1.3rem;
  line-height: 2.3;
  color: #ddd;
}

.about-side-image img {
  width: 100%;
  border-radius: 16px;
  padding: 0 40px;
  height: 300px;
  object-fit: cover;
}

.about-paragraph {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: 350px;          /* keeps images uniform */
  object-fit: cover;      /* crops nicely instead of stretching */
  border-radius: 16px;
}
.about-paragraph {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;  /* keeps paragraph centered inside its column */
}
.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}

.jts-image {
  width: 400px;
  justify-self: start;  /* pushes image to left edge of its grid column */
  margin-left: -250px;   /* adjust this number to push it further left */
}

.gts-image {
  width: 400px;
  justify-self: start;  /* pushes image to left edge of its grid column */
  margin-left: -200px;   /* adjust this number to push it further left */
}

.garage-image {
  width: 400px;
  justify-self: start;  /* pushes image to left edge of its grid column */
  margin-left: 70px;   /* adjust this number to push it further left */
}


.about-page .about-image figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.4;
}
.nav-content {
  display: flex;
  align-items: center;
}

.nav-links {
  flex: 1;
font-size: 1.1rem;
  display: flex;
  justify-content: center; /* centers links */
  gap: 40px; /* spacing between links */
}/* =========================
   WIP PAGE
========================= */

.wip-section {
  padding: 100px 0;
}

.wip-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.wip-content p {
  font-size: 1.25rem;
  line-height: 2;
  color: #ddd;
  margin-bottom: 60px;
}

.wip-image img {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}
/* =========================
   WIP SECTION STYLING
========================= */

.wip-section {
  padding: 100px 0;
}

.wip-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.wip-content p {
  font-size: 1.25rem;
  line-height: 2;
  color: #ddd;
  margin-bottom: 40px;
}

.wip-button {
  display: inline-block;
  padding: 18px 48px;          /* bigger padding */
  font-size: 1.2rem;           /* larger text */
  font-weight: 700;            /* stronger weight */
  text-decoration: none;
  background-color: #e10600;   /* your brand red */
  color: white;
  border-radius: 60px;         /* slightly more pill-shaped */
  transition: all 0.3s ease;
  margin: 40px 0 70px 0;
}

.wip-button:hover {
  background-color: #ff2a2a;
  transform: translateY(-2px); /* subtle lift effect */
}


/* =========================
   MOBILE RESPONSIVE (FIXED PROPERLY)
========================= */

@media (max-width: 768px) {

  /* GLOBAL CONTAINER */
  .container {
    width: 92%;
  }

  /* ================= NAV ================= */

  .nav-content {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    text-align: center;
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* ================= HERO ================= */

  .hero {
    padding: 80px 0;
    text-align: center;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-search input {
    width: 100%;
  }

  /* ================= CAROUSEL ================= */

  .slide img {
    height: 250px;
  }

  .carousel-caption h3 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  /* ================= SERVICES ================= */

  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-card {
    height: 300px;
  }

  /* ================= ABOUT (MOBILE FIX PROPERLY) ================= */

.about-row {
  grid-template-columns: 1fr;
  row-gap: 40px;
  margin-bottom: 80px;
  padding: 0 10px;
}

.about-text,
.about-paragraph {
  max-width: 100%;
  width: 100%;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
}

.about-side-image,
.about-image {
  display: flex;
  justify-content: center;
}

.about-side-image img,
.about-image img,
.jts-image,
.gts-image,
.garage-image {
  width: 100% !important;
  max-width: 500px;
  height: auto !important;
  margin: 0 auto !important;
}

  /* ================= PARTS ================= */

  .parts-grid {
    grid-template-columns: 1fr;
  }

  /* ================= BRAND GRID ================= */

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ================= CONTACT ================= */

  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  /* ================= WIP ================= */

  .wip-button {
    width: 100%;
    max-width: 320px;
  }

}

