/* ===============================
   RESET
================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #0f0f12;
  color: #ffffff;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   VARIABLES
================================= */
:root {
  --primary: #1e90ff;
  --primary-dark: #0d6efd;
  --bg-dark: #0f0f12;
  --bg-light: #1a1a1f;
  --text-light: #ffffff;
  --text-muted: #bbbbbb;
  --transition: all 0.3s ease;
  --radius: 8px;
  --container-width: 1200px;
}

/* ===============================
   LAYOUT
================================= */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: auto;
}

.section {
  padding: 80px 0;
}

.dark-section {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
}

/* ===============================
   HEADER
================================= */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary);
}

.logo span {
  color: #fff;
}

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

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--primary);
}

.desktop-cta {
  margin-left: 20px;
}

.mobile-cta {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: var(--transition);
}

/* ===============================
   HERO
================================= */

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; /* prevents any overlay edge glitches */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* HERO IMAGES */

.home-hero {
  background-image: url('photos/black-after.jpeg');
}

.services-hero {
  background-image: url('photos/tape.png');
}

.shop-hero {
  background-image: url('photos/cat-eye.jpeg');
}

.about-hero {
  background-image: url('photos/tan-after.jpeg');
}

.contact-hero {
  background-image: url('photos/gray-after.jpeg');
}

.faq-hero {
  background-image: url('photos/truck-after.jpeg');
}

/* ===============================
   BUTTONS
================================= */
.btn {
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ===============================
   BEFORE / AFTER CARDS
================================= */

/* BEFORE / AFTER SECTION BACKGROUND */
.before-after {
  background: #141418;
  padding: 80px 20px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

/* BEFORE / AFTER CARDS */
.before-after .toggle-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 22px;
  background: #1a1d24; /* charcoal card */
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 12px 35px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.before-after .toggle-container:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* IMAGE */
.before-after .toggle-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  background: #0f1116;
  padding: 6px;
  display: none;
}

.toggle-img.active {
  display: block;
}

/* CAPTION */
.before-after .caption {
  text-align: center;
  margin-top: 15px;
  color: #ffffff;
}

/* BUTTON */
.toggle-btn {
  margin-top: 10px;
}

/* ANIMATION */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* CAPTION CENTERING */
.before-after .caption {
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 20px auto 0;
}

/* RESPONSIVE: STACK ON MOBILE */
@media (max-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===============================
   SERVICE CARDS (SIDE-BY-SIDE)
================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.card {
  background: #16161b;
  padding: 0 0 30px;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin: 20px;
}

.card p {
  color: var(--text-muted);
  margin: 0 20px 20px;
}

/* ===============================
   TESTIMONIALS
================================= */

.testimonials {
  position: relative;
  padding: 140px 20px; /* increased height */
  background: url("photos/single-gray.png") center/cover no-repeat;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* TESTIMONIAL CARDS */
.testimonial {
  background: rgba(24,24,29,0.92);
  backdrop-filter: blur(4px);
  padding: 35px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  line-height: 1.7;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}

.testimonial span {
  display: block;
  margin-top: 15px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.star {
  width: 18px;
  height: 18px;
}

.star.full path {
  fill: #f5c518; /* gold */
}

.star.half path:first-child {
  fill: #f5c518;
}

.star.empty path {
  fill: #444;
}

/* ===============================
   WHY CHOOSE US
================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-item {
  background: #141418;
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-icon {
  width: 50px;
  height: 50px;
}

.dropdown-btn {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-btn:hover {
  background: var(--primary-dark);
}

.why-text {
  margin-top: 15px;
  color: var(--text-muted);
  display: none;
  padding-left: 20px;
}

.why-text li {
  margin-bottom: 8px;
}

.why-item.open .why-text {
  display: block;
}

/* ===============================
   OKANAGAN MAP
================================= */
.okanagan-map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius);
  margin-bottom: 20px;  
  overflow: hidden;
  margin-bottom: 20px;
}

/* ===============================
   FOOTER
================================= */
.footer {
  background: #111115;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--primary);
}

.footer-col p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* COPYRIGHT ROW */
.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #222;
  font-size: 0.85rem;
  color: #777;
}

/* ===============================
   ANIMATIONS
================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

    /* FIX INVENTORY SECTION MOBILE STACK */
  .inventory-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111115;
    flex-direction: column;
    width: 250px;
    padding: 20px;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .desktop-cta {
    display: none;
  }

  .mobile-cta {
    display: block;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

    /* FAQ PAGE SPECIFIC STYLES */

    .faq-section {
      padding: 80px 0;
    }

    .faq-grid {
      max-width: 900px;
      margin: auto;
      display: grid;
      gap: 20px;
    }

    .faq-card {
      background: #16161b;
      border-radius: 10px;
      padding: 0;
      box-shadow: 0 5px 20px rgba(0,0,0,0.4);
      transition: all 0.3s ease;
      overflow: hidden;
    }

    .faq-card:hover {
      transform: translateY(-4px);
    }

    .faq-question {
      width: 100%;
      background: none;
      border: none;
      color: white;
      padding: 20px 25px;
      font-size: 1rem;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-question:hover {
      color: #1e90ff;
    }

    .faq-icon {
      font-size: 1.2rem;
      transition: transform 0.3s ease;
    }

    .faq-card.active .faq-icon {
      transform: rotate(45deg);
      color: #1e90ff;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
      padding: 0 25px;
      color: #bbbbbb;
    }

    .faq-card.open .faq-answer {
  padding: 0 25px 20px 25px;
  max-height: 300px;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: #1e90ff;
}

    .faq-answer p {
      margin-top: 10px;
      line-height: 1.6;
    }

    /* FAQ container styling */

    @media (max-width: 768px) {
      .faq-question {
        font-size: 0.95rem;
      }
    }

/* =========================================
   RESTORATION PAGE UPGRADES
========================================= */

/* HERO BUTTON SPACING */
.hero-btn {
  margin-top: 20px;
}

/* VALUE GRID */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.value-card {
  background: #16161b;
  padding: 35px 25px;
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.value-card p {
  color: var(--text-muted);
}

/* PROCESS SECTION */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.process-card {
  background: #141418;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
}

.process-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.process-content {
  padding: 25px;
}

.process-content h3 {
  margin-bottom: 15px;
}

.expand-btn {
  background: var(--primary);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.expand-btn:hover {
  background: var(--primary-dark);
}

.process-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  color: var(--text-muted);
}

.process-card.open .process-body {
  max-height: 200px;
  margin-top: 15px;
}

/* ===============================
   VEHICLE SECTION
================================= */

.vehicle-section {
  position: relative;
  padding: 140px 20px; /* makes section taller */

  background: url("photos/headlights-grass.jpeg") center/cover no-repeat;
}

/* overlay (same dim effect as hero/testimonials) */
.vehicle-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

/* ensure content sits above overlay */
.vehicle-section .container {
  position: relative;
  z-index: 2;
}

/* ===============================
   VEHICLE GRID
================================= */

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

/* ===============================
   VEHICLE CARDS
================================= */

.vehicle-card {
  background: rgba(22,22,27,0.9);
  backdrop-filter: blur(4px);

  padding: 30px 20px;
  border-radius: var(--radius);

  font-weight: 600;
  font-size: 1.05rem;

  border: 1px solid rgba(255,255,255,0.05);

  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.vehicle-card:hover {
  background: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.vehicle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    rgba(255,255,255,0.08),
    transparent 40%
  );
  pointer-events: none;
}

/* PRICING HIGHLIGHT */
.pricing-highlight {
  text-align: center;
}

.pricing-container h2 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.pricing-note {
  margin-top: 25px;
}

.pricing-note p {
  margin: 8px 0;
  color: var(--text-muted);
}

/* BEFORE/AFTER LABELS */
.image-wrapper {
  position: relative;
}

.label {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.8);
  font-size: 0.85rem;
  border-radius: 4px;
}

.after-label {
  background: var(--primary);
}

/* STRONG CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #0d6efd, #1e90ff);
  padding: 120px 20px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #eaeaea;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: white;
  color: #0d6efd;
}

.btn-secondary:hover {
  background: #f0f0f0;
}

.cta-location {
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* =========================================
   PREMIUM UPGRADES
========================================= */

/* 🔥 GLOWING PRICE */
.pricing-container h2 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(30,144,255,0.6);
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow: 0 0 10px rgba(30,144,255,0.5);
  }
  to {
    text-shadow: 0 0 25px rgba(30,144,255,0.9);
  }
}


/* 🌊 ANIMATED CTA GRADIENT */
.cta-banner {
  background: linear-gradient(-45deg, #0d6efd, #1e90ff, #0047ab, #1e90ff);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ✨ BUTTON DEPTH */
.btn-large {
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* 🧠 SMOOTH PROCESS EXPAND (AUTO HEIGHT) */
.process-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

.process-card.open .process-body {
  opacity: 1;
}

/* ✨ IMAGE SUBTLE ZOOM ON HOVER */
.process-card:hover img {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

/* SOLD CARD STYLING */
.sold-card {
  position: relative;
  overflow: hidden;
}

.sold-card img {
  border-radius: 6px;
  margin-bottom: 15px;
}

.sold-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e10600;
  color: white;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
}

.price-range {
  font-weight: 600;
  margin-top: 10px;
  opacity: 0.8;
}

/* INVENTORY CTA SECTION */
.inventory-cta {
  background: linear-gradient(135deg, #111, #1c1c1c);
  padding: 100px 0;
  text-align: center;
  color: white;
}

.inventory-cta h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.inventory-cta p {
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.85;
}

/* PRICING SECTION */
.pricing-section {
  background: 0 0 10px rgba(30,144,255,0.6);
}

.pricing-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.price-highlight {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: 0 0 10px rgba(30,144,255,0.6);
}

.pricing-points {
  margin-top: 25px;
  padding-left: 0;
  list-style: none;
}

.pricing-points li {
  margin-bottom: 12px;
  font-weight: 500;
}

.pricing-image {
  width: 100%;
  height: 25rem;
  border-radius: 8px;
  object-fit: cover;
}

/* CONTACT SECTION ENHANCED */
.contact-enhanced {
  background: #f4f4f4;
  padding: 100px 0;
}

.contact-grid {
  align-items: stretch;
  gap: 60px;
}

/* LEFT PANEL */
.contact-panel {
  background: #111;
  color: white;
  padding: 50px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-block {
  margin-bottom: 30px;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 5px;
}

.contact-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.contact-link:hover {
  opacity: 0.8;
}

.social-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.contact-note {
  margin-top: 40px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* LARGE FORM */
.contact-form-wrapper {
  background: white;
  color: black;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.large-form input,
.large-form textarea {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.submit-btn {
  width: 100%;
  margin-top: 25px;
}

/* CTA SECTION */
.contact-cta {
  position: relative;
  background: url('photos/single-gray1.png') center/cover no-repeat;
  padding: 120px 0;
  color: white;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
}

.cta-content {
  position: relative;
  max-width: 800px;
}

.contact-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-cta p {
  margin-bottom: 40px;
  opacity: 0.85;
}

/* BUTTON EMPHASIS */
.btn-large {
  padding: 18px 35px;
  font-size: 1rem;
}

.vehicle-card{
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  font-weight:600;
  padding:18px;
  border-radius:8px;
  border:2px solid rgba(255,255,255,0.1);
  transition:all .25s ease;
}

.vehicle-card:hover{
  transform:translateY(-3px);
  background:#1e90ff;
  border-color:#ccc;
}

.before-after-grid{
  gap:40px;
}

.image-wrapper{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  border:4px solid #ffffff;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

.image-wrapper img{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
}

.label{
  position:absolute;
  top:15px;
  left:15px;
  padding:6px 12px;
  font-size:13px;
  font-weight:600;
  border-radius:4px;
}

.before-label{
  background:#ff5252;
  color:white;
}

.after-label{
  background:#4caf50;
  color:white;
}

/* =========================================
   SCROLL FADE-IN ANIMATION
========================================= */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* WHAT I OFFER SECTION */
.offer-section {
  position: relative;
  padding: 120px 20px;
  background: url("photos/scratch.png") center/cover no-repeat;
}

/* DARK OVERLAY FOR TEXT READABILITY */
.offer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

/* CONTENT ABOVE OVERLAY */
.offer-section .container {
  position: relative;
  z-index: 1;
}

/* MAKE CARDS FLEX COLUMNS */
.offer-section .card {
  display: flex;
  flex-direction: column;
}

/* PUSH BUTTON AREA TO BOTTOM */
.offer-section .card-btn {
  margin-top: auto;
  padding-top: 25px;
}

/* ADD SPACE FROM CARD EDGE */
.offer-section .card-btn .btn {
  margin-left: 20px;
}

/* NAV CONTAINER */
.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO GROUP */
.logo-group{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

/* LOGO IMAGE */
.logo-img{
  height:42px;
  width:auto;
}

/* LOGO TEXT */
.logo-text{
  font-size:1.4rem;
  font-weight:700;
  color:white;
}

.logo-text span{
  color:var(--primary);
}

/* FOOTER LOGO */
.footer-logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  margin-bottom:12px;
}

/* IMAGE */
.footer-logo-img{
  height:40px;
  width:auto;
}

/* TEXT */
.footer-logo-text{
  font-size:1.3rem;
  font-weight:700;
  color:white;
}

.footer-logo-text span{
  color:var(--primary);
}

/* INVENTORY SECTION */
.inventory-section{
  padding:140px 20px;
  background:#0f0f13;
}

/* GRID */
.inventory-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:35px;
}

/* CARD */
.inventory-card{
  background:#16161b;
  border-radius:12px;
  overflow:hidden;
  transition:0.35s;
  display:flex;
  flex-direction:column;
}

/* IMAGE */
.inventory-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

/* CONTENT */
.inventory-card h3{
  padding:20px 20px 10px;
}

.inventory-card p{
  padding:0 20px;
  color:#cfcfcf;
}

/* HIDDEN TEXT */
.inventory-more{
  display:none;
  padding-top:10px;
}

.card-details {
  display: none;
  margin-top: 10px;
}

/* existing button styles */
.read-more-btn{
  margin:20px;
  margin-top:auto;
  padding:10px 14px;
  border:none;
  background:var(--primary);
  color:white;
  font-weight:600;
  border-radius:6px;
  cursor:pointer;
  transition:0.25s;
}

.read-more-btn:hover{
  transform:translateY(-2px);
}


/* BUTTON */
.read-more-btn{
  margin:20px;
  margin-top:auto;
  padding:10px 14px;
  border:none;
  background:var(--primary);
  color:white;
  font-weight:600;
  border-radius:6px;
  cursor:pointer;
  transition:0.25s;
}

.read-more-btn:hover{
  transform:translateY(-2px);
}

/* CARD HOVER */
.inventory-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

.inventory-grid {
  align-items: start;
}

.why-text {
  margin-top: 15px;
  color: var(--text-muted);
  display: none;
  padding-left: 20px;
}

.why-item.open .why-text {
  display: block;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: start; /* 👈 THIS is the key line */
}

.why.section {
  min-height: 700px; /* adjust as needed */
  position: relative;
}
