/* === BASE === */

/* === HEADERS === */
header.maintenance-header,
header.installation-header,
header.pieces-header {
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

header.maintenance-header {
  background-image: url('gallery/img2.png');
}

header.installation-header {
  background-image: url('gallery/img1.png');
}

header.pieces-header {
  background-image: url('gallery/img3.png');

}

header h1,
.installation-header h1,
.maintenance-header h1,
.pieces-header h1 {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2.5rem;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
}

.pieces-header h1 {
  padding: 1.2rem 2.2rem;
  font-size: 2.8rem;
}


/* === SECTIONS === */
section.maintenance-content,
section.installation-content,
section.pieces-content {
  padding: 5vw 10vw;
  background-color: #fffdf9;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  position: relative;
}

.pieces-content h2 {
  font-size: 2.4rem;
}

section h2::after,
.pieces-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f57c00;
  margin: 10px auto;
  border-radius: 3px;
}

.maintenance-text,
.installation-text,
.pieces-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  margin: 0 auto 3rem;
  text-align: center;
  max-width: 900px;
}

.pieces-text {
  margin-top: 2rem;
  max-width: 800px;
}


/* === GRIDS & CARDS === */
.card-grid,
.install-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.card,
.install-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 280px;
  transition: transform 0.3s ease;
  text-align: center;
  padding: 2rem 0;
}

.card:hover,
.install-card:hover {
  transform: scale(1.03);
}

.card img,
.install-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card:hover img,
.install-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.card h3,
.install-card h3 {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-top: 1rem;
}

.card p,
.install-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 1rem 1.5rem;
}


/* === PIECES CUSTOM GRID === */
.card-pieces {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.card-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  width: 300px;
  transition: transform 0.3s ease;
  text-align: center;
}

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

.card-item img {
  height: 100px;
  margin-bottom: 1rem;
}

.card-item h3 {
  color: #f57c00;
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
}

.card-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
