/**
 * Netivia Blog - Styles
 * Version: 1.0.0
 */

/* ======================================
   SOMMAIRE (Shortcode [resume])
   ====================================== */

.netivia-resume {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.netivia-resume-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #0A54FE;
}

.netivia-resume-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.netivia-resume-list li {
    margin: 0 0 12px 0;
    padding-left: 0;
    position: relative;
    list-style: none;
}

.netivia-resume-list li a {
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: inline-block;
}

.netivia-resume-list li a:hover {
    color: #0A54FE;
    transform: translateX(5px);
}

/* Niveaux de titre (H2, H3, etc.) */
.netivia-resume-list li.level-h2 {
    padding-left: 0;
    font-weight: 600;
}

.netivia-resume-list li.level-h3 {
    padding-left: 20px;
    font-size: 15px;
}

.netivia-resume-list li.level-h4 {
    padding-left: 40px;
    font-size: 14px;
}

/* ======================================
   BOUTONS DE PARTAGE (Shortcode [share])
   ====================================== */

.netivia-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.netivia-share-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 10px;
}

.netivia-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: white;
}

.netivia-share-btn:active {
    transform: translateY(-1px);
}

/* Facebook */
.netivia-share-facebook {
    background-color: #1877f2;
}

.netivia-share-facebook:hover {
    background-color: #0c63d4;
}

/* LinkedIn */
.netivia-share-linkedin {
    background-color: #0a66c2;
}

.netivia-share-linkedin:hover {
    background-color: #004182;
}

/* WhatsApp */
.netivia-share-whatsapp {
    background-color: #25d366;
}

.netivia-share-whatsapp:hover {
    background-color: #1da851;
}

/* Pinterest */
.netivia-share-pinterest {
    background-color: #e60023;
}

.netivia-share-pinterest:hover {
    background-color: #bd001c;
}

/* Email */
.netivia-share-email {
    background-color: #6c757d;
}

.netivia-share-email:hover {
    background-color: #5a6268;
}

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

@media (max-width: 768px) {
    .netivia-resume {
        padding: 20px;
    }
    
    .netivia-resume-title {
        font-size: 20px;
    }
    
    .netivia-resume-list li a {
        font-size: 15px;
    }
    
    .netivia-share::before {
        font-size: 16px;
    }
    
    .netivia-share-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    
    .netivia-share {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .netivia-resume {
        padding: 15px;
    }
    
    .netivia-resume-title {
        font-size: 18px;
    }
    
    .netivia-share::before {
        font-size: 15px;
    }
    
    .netivia-share-btn {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    
    .netivia-share {
        gap: 10px;
    }
}

/* ======================================
   ANIMATIONS
   ====================================== */

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

.netivia-resume {
    animation: fadeIn 0.5s ease;
}

.netivia-share-btn {
    animation: fadeIn 0.5s ease backwards;
}

.netivia-share-btn:nth-child(1) { animation-delay: 0.1s; }
.netivia-share-btn:nth-child(2) { animation-delay: 0.2s; }
.netivia-share-btn:nth-child(3) { animation-delay: 0.3s; }
.netivia-share-btn:nth-child(4) { animation-delay: 0.4s; }
.netivia-share-btn:nth-child(5) { animation-delay: 0.5s; }
