/* ----------------------------------------------------------
   Aluminum Roof & Railing – Featured Project Styles
   Custom stylesheet just for this project page
----------------------------------------------------------- */

/* Featured banner */
.featured-project-banner {
  background: linear-gradient(90deg, #00BCD4, #004080);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Intro block */
.project-intro-block {
  background-color: #ffffff;
  border-left: 4px solid #00BCD4;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 6px;
}

/* Shared section styling */
.project-section {
  margin-bottom: 2.5rem;
}

/* ----------------------------------------------------------
   BEFORE / AFTER SECTIONS
----------------------------------------------------------- */
.before-after-section {
  margin-top: 1.5rem;
}

.before-after-section h3 {
  margin-bottom: 0.75rem;
  color: #004080;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.before-after-item {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 0.5rem;
}

.before-after-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.ba-before {
  background-color: #9e9e9e;
}

.ba-after {
  background-color: #00BCD4;
}

/* ----------------------------------------------------------
   TECHNICAL DETAIL SECTION
----------------------------------------------------------- */
.project-tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  align-items: center;
}

.project-tech-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ----------------------------------------------------------
   DESIGN HIGHLIGHT (COST-SAVING DESIGN CHOICE)
----------------------------------------------------------- */
.design-highlight {
  background-color: #f0f8ff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
}

.design-highlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  align-items: center;
}

.design-highlight-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ----------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
----------------------------------------------------------- */
@media (max-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
  .project-tech-layout,
  .design-highlight-layout {
    grid-template-columns: 1fr;
  }
}
