/**
 * Product Pages CSS - Design blocks for chauffe-eau and product-related pages
 */

/* Hero Section for Product Pages */
.hero-products { 
  background: linear-gradient(135deg, #005eb8, #00a6fb); 
  color: white; 
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/paris-skyline-pattern.png') repeat-x bottom;
  opacity: 0.1;
  pointer-events: none;
}

.hero-content-wrapper { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 3rem; 
  align-items: center; 
  position: relative; 
  z-index: 1; 
}

.product-badge { 
  background: rgba(255,255,255,0.2); 
  padding: 0.5rem 1rem; 
  border-radius: 20px; 
  font-size: 0.875rem; 
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features { 
  display: flex; 
  gap: 1.5rem; 
  margin-top: 2rem; 
  flex-wrap: wrap; 
}

.product-features span { 
  background: rgba(255,255,255,0.15); 
  padding: 0.5rem 1rem; 
  border-radius: 15px; 
  font-size: 0.875rem;
}

.hero-image img { 
  max-width: 100%; 
  height: auto; 
  border-radius: 12px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

/* Product Categories Section */
.categories { 
  padding: 4rem 0; 
}

.category-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 2rem; 
  margin-top: 3rem; 
}

.category-card { 
  background: white; 
  border: 2px solid #e0e0e0; 
  border-radius: 12px; 
  padding: 2rem; 
  text-decoration: none; 
  color: inherit; 
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.category-card:hover { 
  border-color: #005eb8; 
  transform: translateY(-5px); 
  box-shadow: 0 10px 30px rgba(0,94,184,0.15); 
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.category-card h3 {
  color: #005eb8;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.category-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Product Features Section */
.features { 
  background: #f8f9fa; 
  padding: 4rem 0; 
}

.features-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 2rem; 
  margin-top: 2rem; 
}

.feature-item { 
  background: white; 
  padding: 2rem; 
  border-radius: 12px; 
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  color: #005eb8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Product Services Section */
.services { 
  padding: 4rem 0; 
}

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 2rem; 
  margin-top: 2rem; 
}

.service-card { 
  background: white; 
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

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

.service-header {
  background: linear-gradient(135deg, #005eb8, #00a6fb);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.service-header h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.service-content {
  padding: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li:before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Comparison Section */
.comparison { 
  background: #f8f9fa; 
  padding: 4rem 0; 
}

.comparison-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-top: 2rem;
}

.comparison-header {
  background: linear-gradient(135deg, #005eb8, #00a6fb);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #e0e0e0;
}

.comparison-cell {
  background: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.comparison-cell.header {
  background: #f8f9fa;
  font-weight: 600;
  color: #005eb8;
}

.comparison-cell.highlight {
  background: #e8f5e8;
  color: #2e7d32;
  font-weight: 600;
}

/* CTA Section for Products */
.cta { 
  background: linear-gradient(135deg, #ff6b35, #ff5722); 
  color: white; 
  padding: 4rem 0; 
  text-align: center;
  position: relative;
}

.cta::before {
  content: '🔧';
  position: absolute;
  font-size: 8rem;
  opacity: 0.1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cta h2 { 
  color: white; 
  margin-bottom: 1rem; 
  position: relative; 
  z-index: 1; 
}

.cta p { 
  position: relative; 
  z-index: 1; 
  margin-bottom: 2rem;
}

.btn-product { 
  display: inline-block; 
  background: white; 
  color: #ff5722; 
  padding: 1rem 2rem; 
  border-radius: 8px; 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 1.1rem; 
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-product:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-wrapper { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  
  .product-features { 
    justify-content: center; 
  }
  
  .category-grid { 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  }
  
  .features-grid { 
    grid-template-columns: 1fr; 
  }
  
  .services-grid { 
    grid-template-columns: 1fr; 
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .comparison-cell {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .category-card,
  .feature-item,
  .service-card {
    padding: 1.5rem;
  }
  
  .hero-products {
    padding: 3rem 0;
  }
  
  .features,
  .services,
  .comparison,
  .cta {
    padding: 3rem 0;
  }
}