/**
 * EntreAgri - Hero Banner Component
 * Bannière avec logo EntreAgri et icônes catégories (970px × 250px)
 */

/* Component wrapper */
app-hero-banner {
  display: block;
  padding: 24px;
}

/* Banner container */
.ea-hero-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  container-type: inline-size;
}

/* Content wrapper */
.ea-hero-content {
  max-width: 950px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--ea-color-dark-green);
  padding: 40px;
  border-radius: 24px;
}

/* Left side - Logo */
.ea-hero-left {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ea-hero-left img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

/* Right side - Text and icons */
.ea-hero-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}

/* Text section */
.ea-hero-text {
  color: #ffffff;
}

.ea-hero-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 5px;
}

.ea-hero-subtitle {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
}

.ea-hero-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}




.ea-hero-icon {
  /* Styles defined in responsive sections */
}

.ea-hero-icon:hover {
  /* Hover styles can be added here */
}

.ea-hero-icon img {
  /* Image styles defined in responsive sections */
}

/* Responsive behavior */
@container (max-width: 821px) {
  .ea-hero-banner {
    height: auto;
    min-height: 250px;
  }

  .ea-hero-content {
    grid-template-columns: 1fr;
    gap: 0px;
    padding: 30px 20px;
  }

  .ea-hero-left img {
    max-height: 120px;
  }

  .ea-hero-right {
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .ea-hero-title {
    font-size: 28px;
  }

  .ea-hero-subtitle {
    font-size: 22px;
  }

  .ea-hero-icons {
    justify-content: center;
  }
}

@container (max-width: 640px) {
  .ea-hero-banner {
    padding: 20px 10px;
  }

  .ea-hero-left img {
    max-height: 90px;
  }

  .ea-hero-title {
    font-size: 28px;
  }

  .ea-hero-subtitle {
    font-size: 22px;
  }

  .ea-hero-icon {
    width: 55px;
    height: 55px;
    display: flex;
  }

  .ea-hero-icons {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@container (max-width: 422px) {
  

  .ea-hero-icon {
    width: auto;
    height: auto;
  }
}
