/* Product heading - now in common.css */

/* BANNER */
.banner {
  margin-top: 145px; /* Add space for fixed header */
  height: 400px;
  background-image: url("https://www.electroluxprofessional.com/sg/wp-content/uploads/2024/09/Main-banner_wahsers.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner-content {
  z-index: 2;
  max-width: 800px;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  line-height: 1.1;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.banner-btn {
  background-color: #0b0c41;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.banner-btn:hover {
  background-color: #1a1c5e;
}

@media (max-width: 992px) {
  .banner {
    background-attachment: scroll; /* Better mobile performance */
  }
}

@media (max-width: 768px) {
  .banner {
    height: 300px;
    margin-top: 120px;
  }
  
  .banner h1 {
    font-size: 2.2rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 250px;
    margin-top: 120px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .banner p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

/* PRODUCTS SECTION */
.products-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.wa-section-title h2 {
  font-size: 2.5rem;
  color: #0b0c41;
  margin-bottom: 50px;
  line-height: 1.1;
}

/* PRODUCT CARDS - RESPONSIVE GRID */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: 100%;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b0c41;
  padding: 25px;
  text-decoration: underline;
  line-height: 24px;
}

.product-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #0b0c41;
  padding-bottom: 18px;
}

.product-card h4:hover {
  color: #FBA301;
  text-decoration: underline;
}

/* Improve responsive breakpoints */
@media (max-width: 992px) {
  .cards-container {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-card {
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .product-card {
    max-width: 240px;
  }
  
  .product-card h3 {
    font-size: 1.1rem;
    padding: 15px;
  }
}

/* Breadcrumb Styles */
.br-breadcrumb-bg {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.br-container {
    margin: 0 auto;
    padding: 0 15px;
}

.br-breadcrumb {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.br-breadcrumb li {
    display: flex;
    align-items: center;
}

.br-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #6c757d;
}

.br-breadcrumb a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.br-breadcrumb a:hover {
    color: #0A0E2F;
}

.br-breadcrumb .active {
    color: #6c757d;
    font-size: 14px;
}

/* Water Banner Section */
.water-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f8f9fa;
  padding: 30px 40px;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 1200px;
}

.water-banner img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.water-banner .text h4 {
  font-size: 1.5rem;
  color: #0b0c41;
  margin-bottom: 10px;
  font-weight: 700;
}

.water-banner .text p {
  font-size: 1rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Feature Section */
.new-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-size: 2.5rem;
  color: #0b0c41;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.feature-item .info h4 {
  font-size: 1.3rem;
  color: #0b0c41;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-item .info p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Commercial Section */
.commercial-section {
  padding: 60px 20px;
  background-color: #fff;
  margin: 40px auto;
}

.commercial-section:nth-child(even) {
  background-color: #f8f9fa;
}

.commercial-container {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.commercial-container.reverse {
  flex-direction: row-reverse;
}

.commerciral-text-block {
  flex: 1;
}

.commerciral-text-block h2 {
  font-size: 2.2rem;
  color: #0b0c41;
  margin-bottom: 20px;
  padding-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.commerciral-text-block p {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.commerciral-text-block .btn {
  display: inline-block;
  background-color: #0b0c41;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.commerciral-text-block .btn:hover {
  background-color: #1a1c5e;
}

.commerciral-icon-text {
  margin: 25px 0;
}

.commerciral-icon {
  display: inline-block;
  background-color: #FBA301;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.commerciral-image-block {
  flex: 1;
}

.commerciral-image-block img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.note {
  font-size: 0.9rem;
  font-style: italic;
  color: #999;
}

/* Solutions Section */
.solutions-section {
  padding: 60px 20px;
  text-align: center;
}

.solutions-section h2 {
  font-size: 2.5rem;
  color: #0b0c41;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 1.3;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
}

.solution-card img {
  width: 100%;
  height: auto;
  display: block;
}

.solution-card h3 {
  font-size: 1.3rem;
  color: #0b0c41;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.solution-card p {
  font-size: 1rem;
  color: #666;
  margin: 0 15px 20px;
  line-height: 1.6;
  text-align: left;
}

/* Essentia Section */
.essentia-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #0b0c41 0%, #1a1c5e 100%);
  color: white;
  padding: 60px 40px;
  margin: 40px 0;
}

.essentia-text {
  flex: 1;
}

.essentia-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
}

.essentia-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff !important;
}

.essentia-button .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FBA301;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.essentia-button .button:hover {
  background-color: #e89301;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
  /* Water Banner */
  .water-banner {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    margin: 30px 20px;
  }
  
  .water-banner img {
    width: 50px;
    height: 50px;
  }
  
  .water-banner .text h4 {
    font-size: 1.3rem;
  }
  
  .water-banner .text p {
    font-size: 0.95rem;
  }
  
  /* Feature Section */
  .new-section {
    padding: 40px 15px;
  }
  
  .features h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    margin-bottom: 25px;
  }
  
  .feature-item img {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: block;
  }
  
  .feature-item .info h4 {
    font-size: 1.2rem;
  }
  
  .feature-item .info p {
    font-size: 0.95rem;
  }
  
  /* Commercial Section */
  .commercial-section {
    padding: 40px 15px;
  }
  
  .commercial-container,
  .commercial-container.reverse {
    flex-direction: column;
    gap: 30px;
  }
  
  .commerciral-text-block h2 {
    font-size: 1.8rem;
  }
  
  .commerciral-text-block p {
    font-size: 0.95rem;
  }
  
  .commerciral-text-block .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  
  /* Solutions Section */
  .solutions-section {
    padding: 40px 15px;
  }
  
  .solutions-section h2 {
    font-size: 2rem;
    margin-bottom: 35px;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .solution-card h3 {
    font-size: 1.2rem;
  }
  
  .solution-card p {
    font-size: 0.95rem;
  }
  
  /* Essentia Section */
  .essentia-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
  }
  
  .essentia-text h2 {
    font-size: 1.8rem;
  }
  
  .essentia-text p {
    font-size: 1rem;
  }
  
  .essentia-button .button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  /* Section Title */
  .wa-section-title h2 {
    font-size: 2rem;
    margin-bottom: 35px;
  }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
  /* Water Banner */
  .water-banner {
    padding: 20px 15px;
    margin: 20px 10px;
  }
  
  .water-banner img {
    width: 40px;
    height: 40px;
  }
  
  .water-banner .text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .water-banner .text p {
    font-size: 0.85rem;
  }
  
  /* Feature Section */
  .new-section {
    padding: 30px 10px;
  }
  
  .features h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  
  .feature-item {
    padding: 15px 10px;
    margin-bottom: 20px;
  }
  
  .feature-item img {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: block;
  }
  
  .feature-item .info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .feature-item .info p {
    font-size: 0.85rem;
  }
  
  /* Commercial Section */
  .commercial-section {
    padding: 30px 10px;
  }
  
  .commercial-container {
    gap: 20px;
  }
  
  .commerciral-text-block h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .commerciral-text-block p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .commerciral-text-block .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    display: block;
    text-align: center;
  }
  
  .commerciral-icon {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  
  .note {
    font-size: 0.8rem;
  }
  
  /* Solutions Section */
  .solutions-section {
    padding: 30px 10px;
  }
  
  .solutions-section h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .solution-card h3 {
    font-size: 1.1rem;
    margin: 15px 10px 8px;
  }
  
  .solution-card p {
    font-size: 0.85rem;
    margin: 0 10px 15px;
  }
  
  /* Essentia Section */
  .essentia-section {
    padding: 30px 15px;
    gap: 20px;
  }
  
  .essentia-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .essentia-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .essentia-button .button {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  
  /* Section Title */
  .wa-section-title h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  /* Breadcrumb */
  .br-breadcrumb-bg {
    padding: 10px 0;
  }
  
  .br-breadcrumb a,
  .br-breadcrumb .active {
    font-size: 12px;
  }
  
  .br-breadcrumb li:not(:last-child)::after {
    margin: 0 6px;
  }
}

/* Large Mobile (576px and below) */
@media (max-width: 576px) {
  .cards-container {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  
  .product-card {
    max-width: 100%;
  }
}
