/* ========================================
   HEADER BABY THEME - Style doux et chaleureux
   Pour sites de prénoms et parentalité
   ======================================== */

/* === HEADER AVEC DÉGRADÉ ET DÉCORATION === */
.site-header {
    position: relative;
    background: var(--header-bg, linear-gradient(135deg, #fff9f3 0%, #ffe8f0 100%)) !important;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ffd166 0%, #ff9ec5 50%, #a8daff 100%) 1;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(255, 158, 197, 0.08);
}

/* Décoration douce avec des formes organiques */
.site-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(168, 218, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* === NAVIGATION AVEC BOUTONS ARRONDIS === */
.main-navigation {
    background-color: transparent !important;
}

.main-nav ul {
    background-color: transparent !important;
}

.main-nav li {
    position: relative;
    background-color: transparent !important;
}

/* Style des liens avec effet bulle */
.main-nav a {
    position: relative;
    border-radius: var(--nav-border-radius, 25px) !important;
    border-bottom: none !important;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(255, 158, 197, 0.1);
    transition: var(--nav-transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
}

.main-nav a:hover {
    background-color: var(--nav-bg-hover, rgba(255, 158, 197, 0.15)) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 158, 197, 0.2);
    border-bottom: none !important;
}

/* Effet de soulignement doux au hover */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nav-hover-color, #ff9ec5), var(--accent-color, #ffd166));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 60%;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    background-color: rgba(255, 158, 197, 0.2) !important;
    box-shadow: 0 4px 16px rgba(255, 158, 197, 0.25);
    border-bottom: none !important;
}

.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
    width: 70%;
}

/* === LOGO AVEC EFFET DOUX === */
.site-logo {
    filter: drop-shadow(0 2px 8px rgba(255, 158, 197, 0.15));
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .site-header::before,
    .site-header::after {
        display: none;
    }

    .main-nav a {
        margin-bottom: 0.5rem;
    }
}
