/**
 * Hero Personnalisé - Styles pour utilisateurs connectés
 * Message d'accueil personnalisé + suggestion de recette
 * 
 * @version 1.0
 * @date 2026-01-22
 */

/* ============================================
   TITRE HERO PERSONNALISÉ
   ============================================ */

.hero-title-personalized {
    /* Animation subtile d'apparition */
    animation: heroTitleReveal 0.5s ease-out forwards;
}

@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SOUS-TITRE AVEC SUGGESTION
   ============================================ */

.hero-subtitle-personalized {
    animation: heroSubtitleReveal 0.5s ease-out forwards;
}

@keyframes heroSubtitleReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lien vers la recette suggérée */
.hero-suggestion-link {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.2s ease;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 107, 107, 0.1);
}

.hero-suggestion-link:hover {
    color: white;
    background: #FF6B6B;
    text-decoration: none;
}

/* Soulignement animé */
.hero-suggestion-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.hero-suggestion-link:hover::after {
    width: 100%;
}

/* ============================================
   DARK MODE
   ============================================ */

.dark-mode .hero-suggestion-link {
    color: #FF8A8A;
    background: rgba(255, 138, 138, 0.15);
}

.dark-mode .hero-suggestion-link:hover {
    color: #1a1a1a;
    background: #FF8A8A;
}

.dark-mode .hero-suggestion-link::after {
    background: #FF8A8A;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-suggestion-link {
        display: inline;
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    /* Sur mobile, le lien prend moins de place */
    .hero-suggestion-link {
        font-size: 0.95em;
    }
}
