/* Header principal du programme - version modifiée pour logo couleur originale agrandi sans rond */

.program-header-main {
    background: linear-gradient(135deg, 
                rgba(74, 109, 229, 0.95) 0%, 
                rgba(74, 109, 229, 0.8) 50%, 
                rgba(255, 192, 0, 0.9) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Effet de fond animé */
.program-header-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/taxi-pattern.png') repeat;
    opacity: 0.1;
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Suppression du rond autour du logo, on enlève border-radius et padding */
.logo-container {
    background: transparent; /* Pas de fond */
    padding: 0;              /* Pas de padding */
    border: none;            /* Pas de bordure */
    border-radius: 0;        /* Pas d'arrondi */
    backdrop-filter: none;   /* Pas d'effet blur */
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container:hover {
    transform: scale(1.05);
    /* Pas de bordure ni ombre pour garder épuré */
    box-shadow: none;
}

/* Agrandissement du logo CamTaxi dans l'en-tête */
.program-logo {
    width: 250px;   /* agrandi */
    height: 120px;  /* agrandi */
    object-fit: contain;
    filter: none; /* garde couleurs originales */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-container:hover .program-logo {
    transform: scale(1.05); /* léger zoom au survol */
    filter: none;
}

.program-info {
    flex: 1;
}

.program-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #ffc000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.program-subtitle {
    font-size: 1.2rem;
    margin: 8px 0 0 0;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.header-right {
    text-align: right;
}

.program-slogan {
    background: rgba(255, 192, 0, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid var(--warning-color);
    backdrop-filter: blur(10px);
}

.slogan-text {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    color:rgb(255, 255, 255);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive pour l'en-tête */
@media screen and (max-width: 1024px) {
    .program-logo {
        width: 200px;
        height: 100px;
    }
}

@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 20px;
    }
    
    .header-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .program-title {
        font-size: 2.2rem;
    }
    
    .program-subtitle {
        font-size: 1rem;
    }
    
    .program-logo {
        width: 200px;
        height: 80px;
    }
    
    .program-slogan {
        padding: 10px 15px;
    }
    
    .slogan-text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .program-header-main {
        padding: 15px 0;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .program-title {
        font-size: 1.8rem;
    }
    
    .program-subtitle {
        font-size: 0.9rem;
    }
    
    .program-logo {
        width: 150px;
        height: 60px;
    }
}

/* Ajustement du contenu principal pour éviter le chevauchement */
.main-container {
    margin-top: 5%; /* Supprimez le margin-top existant si besoin */
}




/* Footer Styles */

.footer {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), 
                url('../images/FOOTER.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px;
    margin-top: 70px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1440px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffc000;
}

.footer-section p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    font-weight: 300;
    line-height: 1.5;
}

.footer-section p i {
    margin-right: 8px;
    color: #ffc000;
}

.footer .social-links {
    display: flex;
    margin-top: 10px;
}

.footer .social-links a {
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .social-links a:hover {
    color: #FFA500;
}

/* Séparateur entre les logos et les réseaux sociaux */
.footer-section .social-links {
    border-top: 1px solid rgba(255, 192, 0, 0.3);
    padding-top: 15px;
    margin-top: 15px;
}


.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #444;
    margin-top: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-section {
        padding: 10px 0;
        text-align: center;
    }

    .navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .navigation ul li {
        margin: 10px 0;
    }

    .service-grid, .tarif-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card, .tarif-card {
        width: 90%;
    }
}

/**************************************************************************/

/* Version automatique qui s'adapte sans classes */
.partners-logos-auto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    padding-left: 0px;
    max-width: 320px;
    margin-right: auto;
}

.partners-logos-auto .partner-logo {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 192, 0, 0.2);
}

.partners-logos-auto .partner-logo:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffc000;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.partners-logos-auto .partner-logo img {
    max-width: 100%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partners-logos-auto .partner-logo:hover {
    background: linear-gradient(135deg, rgba(255, 192, 0, 0.1), rgba(255, 255, 255, 0.1));
    border-color: #ffc000;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 192, 0, 0.25);
}
.partners-logos-auto .partner-logo:hover img {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
