/* GAMMA 3D - CSS Principal */

/* Styles globaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #f9fafb;
}

/* Utilitaires personnalisés */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Animations personnalisées */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Styles pour les composants */
.card-hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive helpers */
@media (max-width: 768px) {
    .container-custom {
        padding: 0 0.5rem;
    }
}

/* Styles personnalisés pour les logos du footer */
.footer-logo-container {
    width: 80px !important; /* Force la taille avec !important */
    height: 80px !important; /* Force la taille avec !important */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0; /* Empêche la réduction de taille */
}

.footer-logo {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    transition: transform 0.3s ease; /* Animation douce */
}

.footer-logo:hover {
    transform: scale(1.05); /* Effet de zoom au survol */
}

/* Styles pour le footer W3.CSS - Sélecteur plus spécifique */
footer .footer-logo-w3,
.w3-col img.footer-logo-w3,
img[alt="GAMMA 3D"].footer-logo-w3 {
    height: 40px !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 40px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

footer .footer-logo-w3:hover,
.w3-col img.footer-logo-w3:hover,
img[alt="GAMMA 3D"].footer-logo-w3:hover {
    transform: scale(1.05);
}

/* Classes utilitaires pour différentes tailles de logo */
.logo-small {
    max-height: 60px;
}

.logo-medium {
    max-height: 100px;
}

.logo-large {
    max-height: 150px;
}

.logo-xl {
    max-height: 200px;
}

/* Responsive pour les logos */
@media (max-width: 768px) {
    .footer-logo-container {
        width: 60px;
        height: 60px;
        margin-right: 12px;
    }

    .footer-logo-w3 {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .footer-logo-container {
        width: 50px;
        height: 50px;
        margin-right: 8px;
    }

    .footer-logo-w3 {
        height: 25px;
    }
}
