/*
 Theme Name:   Hello Biz Child
 Theme URI:    http://example.com/
 Description:  Thème enfant pour Hello Biz
 Author:       Votre Nom
 Author URI:   http://example.com
 Template:     hello-biz
 Version:      1.0.0
 License:      GPL v3 or later
 Text Domain:  hello-biz-child
*/

/* Import des polices Google si nécessaire */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Roboto:wght@300;400;500&display=swap');

/* ========================================
   Fil d'Ariane - Design iOS 
   ======================================== */

.hello-biz-breadcrumb {
    margin: 10px 10px;
    padding: 12px 20px;
    background: #FAFAFA;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(81, 112, 104, 0.08),
                0 4px 6px rgba(81, 112, 104, 0.03);
    border: 1px solid rgba(81, 112, 104, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance subtile iOS */
.hello-biz-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #517068;
    text-decoration: none;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Effet hover iOS */
.breadcrumb-link:hover {
    background: rgba(81, 112, 104, 0.08);
    color: #3d5650;
    transform: scale(1.02);
}

.breadcrumb-link:active {
    transform: scale(0.98);
    background: rgba(81, 112, 104, 0.12);
}

/* Icône maison */
.home-icon {
    width: 16px;
    height: 16px;
    color: #517068;
    transition: transform 0.3s ease;
}

.breadcrumb-link:hover .home-icon {
    transform: translateY(-1px);
}

/* Séparateur */
.breadcrumb-separator-item {
    display: inline-flex;
    align-items: center;
    margin: 0 4px;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: rgba(81, 112, 104, 0.4);
}

.breadcrumb-separator svg {
    width: 8px;
    height: 12px;
}

/* Élément actuel */
.breadcrumb-current {
    color: #2c3e38;
    font-weight: 500;
    padding: 4px 8px;
}

.breadcrumb-current span {
    display: inline-block;
    position: relative;
}

/* Badge iOS pour l'élément actuel */
.breadcrumb-current span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #517068, #6b8a7f);
    border-radius: 2px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hello-biz-breadcrumb {
        margin: 15px 20px 25px;
        padding: 10px 16px;
        border-radius: 10px;
        max-width: calc(100% - 40px);
    }
    
    .breadcrumb-list {
        gap: 0;
    }
    
    .breadcrumb-item,
    .breadcrumb-link {
        font-size: 13px;
    }
    
    .breadcrumb-link {
        padding: 3px 6px;
    }
    
    .home-icon {
        width: 14px;
        height: 14px;
    }
    
    .breadcrumb-separator svg {
        width: 6px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hello-biz-breadcrumb {
        margin: 10px 15px 20px;
        padding: 8px 12px;
    }
    
    /* Masquer le texte "Accueil" sur mobile, garder seulement l'icône */
    .breadcrumb-link .home-icon + span {
        display: none;
    }
    
    .breadcrumb-item,
    .breadcrumb-link {
        font-size: 12px;
    }
}

/* Animation d'entrée */
.hello-biz-breadcrumb {
    animation: slideInFade 0.4s ease-out;
}

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