/* Simple Hero Section Styles for Secondary Pages */

/* Variables pour cohérence avec le thème principal */
:root {
  --hero-primary: #2680EB;
  --hero-secondary: #667eea;
  --hero-accent: #764ba2;
  --hero-text: #ffffff;
  --hero-text-secondary: #f8fafc;
}

/* Style de base pour les sections hero simples - HAUTEUR AUGMENTÉE */
.simple-hero {
  position: relative;
  min-height: 220px;
  max-height: 270px;
  height: 220px;
  background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 50%, var(--hero-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0px 20px;
  overflow: hidden;
}

/* Overlay subtil pour améliorer la lisibilité */
.simple-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

/* Contenu de la section hero */
.simple-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* Titre principal */
.simple-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hero-text);
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Sous-titre */
.simple-hero p {
  font-size: 1.2rem;
  color: var(--hero-text-secondary);
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
  .simple-hero {
    min-height: 190px;
    height: 190px;
    padding: 0px 15px;
  }
  
  .simple-hero h1 {
    font-size: 2rem;
  }
  
  .simple-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .simple-hero {
    min-height: 170px;
    height: 170px;
    padding: 0px 10px;
  }
  
  .simple-hero h1 {
    font-size: 1.75rem;
  }
  
  .simple-hero p {
    font-size: 0.95rem;
  }
}

/* Variantes de couleurs pour différentes pages */
.simple-hero.hero-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #4338ca 100%);
}

.simple-hero.hero-green {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
}

.simple-hero.hero-purple {
  background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #8b5cf6 100%);
}

.simple-hero.hero-gray {
  background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%);
}

/* Animation subtile au survol (optionnelle) */
.simple-hero:hover {
  transform: translateY(-1px);
  transition: transform 0.3s ease;
}

/* Assurer que le contenu reste lisible */
.simple-hero * {
  position: relative;
  z-index: 2;
}

/* Style pour les breadcrumbs si présents */
.simple-hero .breadcrumb {
  color: var(--hero-text-secondary);
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.simple-hero .breadcrumb a {
  color: var(--hero-text);
  text-decoration: none;
}

.simple-hero .breadcrumb a:hover {
  text-decoration: underline;
}