/* Conteneur principal */
.tasty-recipes-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f9f5f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Open Sans', sans-serif;
}

/* Titre principal */
.tasty-recipes-header h1 {
    color: #e74c3c;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

/* Sous-titre */
.tasty-recipes-header .subtitle {
    color: #5f6c6d; /* Contraste amélioré */
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Navigation - Version compatible tous navigateurs */
.tasty-recipes-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    margin: -0.5rem; /* Compense les marges des enfants */
}

.tasty-recipes-nav a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 0.5rem; /* Remplace gap */
}

.tasty-recipes-nav a:hover,
.tasty-recipes-nav a:focus { /* Accessibilité ajoutée */
    background-color: #3498db;
    color: white;
    outline: none;
}

/* Bouton de contact */
.contact-chef-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    background-color: #e74c3c;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-chef-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
}

/* Effet image */
.tasty-recipes-header img {
    transition: transform 0.5s ease;
}

.tasty-recipes-header img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .tasty-recipes-header {
        padding: 1.5rem;
    }
    
    .tasty-recipes-header h1 {
        font-size: 2rem;
    }
    
    .tasty-recipes-nav a {
        margin: 0.25rem; /* Espacement réduit sur mobile */
    }
}