/* ==========================================================================
   GLOBAL APPLIANCE REPAIRS - PROJECTS DETAILED PAGE STYLESHEET
   ========================================================================== */

/* Base Page Specifics */
.projects-page-body {
  background-color: #ffffff;
  color: #1a1d29;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. PROJECTS HERO SECTION (Full-cover background image matching homepage)
   -------------------------------------------------------------------------- */
.projects-hero-fullscreen {
  min-height: 80vh;
  padding-top: calc(var(--header-height, 84px) + 2rem);
  padding-bottom: 4rem;
}

.projects-hero-fullscreen .hero-content {
  max-width: 680px;
  position: relative;
  z-index: 10;
}

.projects-hero-fullscreen .section-badge-red {
  margin-bottom: 1.25rem;
}

.projects-hero-fullscreen .hero-description {
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   2. FILTER TABS BAR (PILLS)
   -------------------------------------------------------------------------- */
.projects-filter-section {
  background-color: #ffffff;
  padding: 60px 0 30px;
}

.projects-filter-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.filter-pills-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  color: #4b5568;
  border: 1.5px solid #e2e8f0;
  padding: 9px 22px;
  border-radius: 9999px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.filter-btn.active {
  background: #e60012;
  color: #ffffff;
  border-color: #e60012;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.35);
}

/* --------------------------------------------------------------------------
   3. 8 PROJECT SHOWCASE CARDS (4 COLUMNS GRID)
   -------------------------------------------------------------------------- */
.projects-gallery-section {
  background-color: #ffffff;
  padding: 20px 0 85px;
}

.projects-gallery-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.projects-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-item-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #edf0f7;
  box-shadow: 0 8px 24px rgba(13, 19, 34, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: scale(1);
}

.project-item-card:hover {
  transform: translateY(-7px);
  border-color: rgba(230, 0, 18, 0.35);
  box-shadow: 0 18px 36px rgba(230, 0, 18, 0.12);
}

.project-item-card.is-hidden {
  display: none;
}

.project-thumb-box {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  background-color: #f1f3f9;
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-item-card:hover .project-thumb-box img {
  transform: scale(1.06);
}

.project-item-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-cat-tag {
  display: inline-block;
  align-self: flex-start;
  background: #e60012;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.project-item-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0d1322;
  line-height: 1.25;
  margin-bottom: 8px;
}

.project-item-desc {
  font-size: 0.85rem;
  color: #555e70;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.project-view-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e60012;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: gap 0.25s ease;
}

.project-view-details:hover {
  gap: 10px;
  color: #ff1f2d;
}

/* --------------------------------------------------------------------------
   4. WHY CHOOSE US STRIP (Quality Repairs. Lasting Solutions.)
   -------------------------------------------------------------------------- */
.projects-why-section {
  background-color: #f7f9fc;
  padding: 75px 0;
  border-top: 1px solid #edf0f7;
  border-bottom: 1px solid #edf0f7;
}

.projects-why-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.projects-why-header {
  margin-bottom: 40px;
}

.projects-why-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 2.35rem;
  font-weight: 800;
  color: #0d1322;
  letter-spacing: -0.015em;
}

.projects-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-strip-col {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-strip-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: #e60012;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.35);
  transition: transform 0.3s ease;
}

.why-strip-col:hover .why-strip-icon {
  transform: scale(1.1);
}

.why-strip-info h3 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d1322;
  margin-bottom: 4px;
}

.why-strip-info p {
  font-size: 0.82rem;
  color: #555e70;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   5. WHAT OUR CUSTOMERS SAY (TESTIMONIALS - MATCHING HOMEPAGE)
   -------------------------------------------------------------------------- */
.projects-testimonials-section {
  background: #060913;
  padding: 85px 0 95px;
  color: #ffffff;
  position: relative;
}

.projects-testimonials-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.projects-testimonials-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 42px;
  letter-spacing: -0.015em;
}

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

/* Reusing exact .testimonial-card from homepage style.css */
.projects-testimonials-section .testimonial-card {
  background: #ffffff;
  color: #0d1322;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.projects-testimonials-section .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(230, 0, 18, 0.15);
}

.projects-testimonials-section .testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.projects-testimonials-section .testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e60012;
}

.projects-testimonials-section .testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.projects-testimonials-section .testimonial-quote {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #4b5568;
  margin-bottom: 20px;
  flex: 1;
  font-style: normal;
}

.projects-testimonials-section .author-name {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d1322;
}

.projects-testimonials-section .author-location {
  font-size: 0.8rem;
  color: #71717a;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .projects-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .projects-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

@media (max-width: 992px) {
  .projects-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

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

  .projects-why-grid {
    grid-template-columns: 1fr;
  }

  .filter-pills-wrap {
    gap: 8px;
  }

  .filter-btn {
    padding: 7px 16px;
    font-size: 0.85rem;
  }
}
