/* public/css/footer.css - Styles spécifiques au footer Synelio */

/* === STYLES GLOBAUX === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

/* === FOOTER PRINCIPAL === */
.synelio-footer {
    background-color: #1a1a3e;
    border-top: 1px solid #00d4aa;
    margin-top: auto;
    min-height: 100px;
    color: #ffffff;
    padding: 1.5rem 0;
    margin-bottom: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* === BRANDING === */
.footer-logo {
    color: #00d4aa;
    font-weight: bold;
    font-size: 1.25rem;
}

.footer-brand {
    transition: transform 0.2s ease;
}

.footer-brand:hover {
    transform: scale(1.05);
}

/* === NAVIGATION === */
.footer-link {
    color: #6c757d;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

.footer-link:hover {
    color: #00d4aa;
    background-color: rgba(0, 212, 170, 0.1);
}

.footer-link i {
    transition: transform 0.2s ease;
}

.footer-link:hover i {
    transform: translateX(2px);
}

/* === MENU UTILISATEUR === */
.footer-profile-btn {
    color: #6c757d;
    text-decoration: none;
    padding: 0.5rem;
    border: none !important;
    background: none !important;
    transition: all 0.3s ease;
}

.footer-profile-btn:hover,
.footer-profile-btn:focus {
    color: #00d4aa !important;
    background-color: rgba(0, 212, 170, 0.1) !important;
    transform: translateY(-1px);
}

.footer-profile-btn:hover i,
.footer-profile-btn:focus i {
    transform: scale(1.1);
}

/* === SÉPARATEUR === */
.footer-divider {
    margin: 0.5rem 0;
    opacity: 0.5;
    border-color: #adb5bd;
}

/* === LINKS DE SUPPORT === */
.footer-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-support-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
}

.footer-support-link:hover {
    color: #00d4aa;
    background-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-1px);
}

.footer-support-link i {
    transition: transform 0.2s ease;
}

.footer-support-link:hover i {
    transform: scale(1.1);
}

/* === INFORMATIONS VERSION === */
.footer-info {
    font-size: 0.875rem;
    color: #ffffff;
}

.footer-info a {
    color: #00d4aa;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #00e6c7;
}

/* === MODALS === */
.modal-header {
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.modal-title {
    font-weight: 600;
}

/* === SUPPORT OPTIONS === */
.support-option {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef !important;
}

.support-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #00d4aa !important;
}

.support-option i {
    transition: transform 0.3s ease;
}

.support-option:hover i {
    transform: scale(1.1);
}

.support-option h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.support-option .btn {
    transition: all 0.3s ease;
}

.support-option:hover .btn {
    transform: translateY(-1px);
}

/* === DOCUMENTATION CATEGORIES === */
.doc-category {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef !important;
    height: 100%;
}

.doc-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #00d4aa !important;
}

.doc-category h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.doc-category ul {
    margin-bottom: 0;
}

.doc-category ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    position: relative;
}

.doc-category ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00d4aa;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doc-category:hover ul li:before {
    opacity: 1;
}

.doc-category a {
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.doc-category a:hover {
    color: #00d4aa !important;
    padding-left: 0.5rem;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-dialog {
    animation: fadeInUp 0.3s ease-out;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .synelio-footer {
        min-height: auto;
        padding: 1rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-support-links {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-support-links .ms-3 {
        margin-left: 0 !important;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-nav .nav-item {
        text-align: center;
    }

    .footer-user-menu {
        justify-content: center !important;
        margin-top: 1rem;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .support-option,
    .doc-category {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        font-size: 1rem;
    }

    .footer-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .footer-support-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }

    .footer-info {
        font-size: 0.8rem;
    }

    .support-option,
    .doc-category {
        padding: 1rem !important;
    }

    .support-option i {
        font-size: 1.5rem !important;
    }
}

