/* Styles spécifiques pour la page d'accueil */
.hero-section {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-features {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.hero-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.hero-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.prediction-button {
    text-align: center;
    padding: 2rem 0;
    background: #f5f5f5;
    border-radius: 0 0 10px 10px;
}

.btn-prediction {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-prediction:hover {
    background: #1976d2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.content-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    padding: 2rem;
}

.content-section h2 {
    color: #1565c0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e3f2fd;
}

.fact-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.fact-box h3 {
    color: #1565c0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.fact-box p {
    color: #424242;
    margin-bottom: 0;
}

/* Styles pour les niveaux de qualité de l'air */
.quality-level {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quality-level:hover {
    transform: translateX(5px);
}

.quality-level .level-name {
    font-weight: 600;
    display: block;
}

.quality-level .level-value {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
}

.quality-level small {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.quality-level.good {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.quality-level.moderate {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.quality-level.sensitive {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.quality-level.unhealthy {
    background: #fce4ec;
    border-left: 4px solid #e91e63;
}

.quality-level.very-unhealthy {
    background: #efebe9;
    border-left: 4px solid #795548;
}

/* Styles pour les cartes de ressources */
.resource-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resource-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.resource-card h4 {
    color: #1565c0;
    font-size: 1.1rem;
}

.resource-card i {
    color: #1976d2;
}

.resource-card p {
    font-size: 0.9rem;
}