/* * style.css
 * Fichier CSS général pour Expresso Manutention
 * Couleur d'accent principale : #013A6C (Bleu Expresso)
 */

/* --- Général et Réinitialisation --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #013A6C; 
    transition: color 0.3s;
}

a:hover {
    color: #0056a0; 
}

h1, h2, h3 {
    font-weight: bold;
    color: #333;
}

/* --- Navigation (Global) --- */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container .logo {
    height: 40px; 
    width: auto;
}

.nav-links {
    list-style: none;
   	display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333; 
	background-color: rgba(255, 255, 255, 0.1);
	
    font-weight: bold;
    padding: 5px 10px;
	/*padding: 8px 15px;*/
	/*border-radius: 8px;*/
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 3px solid transparent;
	
	
}

.nav-links a:hover,
.nav-links a.active {
    color: #013A6C; 
    border-bottom: 3px solid #013A6C; 

}

.navigation-bar { /* Nom supposé du conteneur principal */
    /*background-color: #013A6C; /* Fond plein (ou légèrement transparent si vous voulez l'effet sur le conteneur) */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0; 
}

.lang-switcher a {
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
    font-weight: normal;
    padding: 2px 5px;
}

.lang-switcher a.active {
    color: #013A6C; 
    font-weight: bold;
}

/* --- Boutons CTA Général --- */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #013A6C; 
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056a0; 
}

/* --- INDEX.PHP SPECIFIC STYLES --- */

.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content {
    z-index: 10;
    color: #fff; 
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 30px 40px;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 3em;
    margin-top: 0;
    color: #fff;
}

.hero-content p {
    font-size: 1.2em;
    max-width: 700px;
    margin-bottom: 30px;
}

/* Section Caractéristiques (Features) */
.features-section {
    padding: 60px 5%;
    text-align: center;
}

.features-section h2 {
    color: #013A6C; /* Bleu Expresso */
    font-size: 2.5em;
    margin-bottom: 40px;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.feature-item {
    flex-basis: 30%;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    color: #333;
    font-size: 1.4em;
    margin-top: 0;
}


/* --- CONTACT.PHP & DEMANDE.PHP SPECIFIC STYLES --- */

/* Conteneur de Contact et Formulaire */
.contact-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-container h1 {
    color: #013A6C; /* Bleu Expresso */
    text-align: center;
    margin-bottom: 10px;
}

.contact-container p.subheading {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

/* Formulaire (demande.php) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #013A6C; /* Bleu Expresso */
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.required::after {
    content: '*';
    color: #013A6C; /* Bleu Expresso */
    margin-left: 2px;
}

.captcha-placeholder {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #999;
    background-color: #f9f9f9;
}

.submit-button-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.submit-button {
    padding: 12px 40px;
    background-color: #013A6C; /* Bleu Expresso */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056a0;
}

.required-note {
    grid-column: 1 / -1;
    text-align: right;
    font-size: 0.9em;
    color: #013A6C; /* Bleu Expresso */
    margin-top: -10px;
}

/* Infos Contact (contact.php) */
.content-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-block, .map-block {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
}

.info-block h2 {
    border-bottom: 2px solid #013A6C; /* Bleu Expresso */
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}

.contact-detail p {
    margin: 10px 0;
    font-size: 1.1em;
}

.contact-detail strong {
    display: inline-block;
    min-width: 100px; 
    color: #013A6C; /* Bleu Expresso */
    font-weight: normal;
}

.request-cta h3 {
    color: #013A6C; /* Bleu Expresso */
    font-size: 1.8em;
    margin-top: 0;
}

.map-block {
    min-height: 300px; 
    background-color: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

/* --- DIABLES.PHP SPECIFIC STYLES --- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card h3 {
    color: #013A6C; /* Bleu Expresso */
    font-size: 1.5em;
    margin: 0 0 5px 0;
}

.product-card a.details-button {
    display: block;
    margin-top: auto;
    padding: 10px;
    background-color: #333;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.product-card a.details-button:hover {
    background-color: #013A6C; /* Bleu Expresso au survol */
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 50px;
    font-size: 0.9em;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

/* --- Responsive de base --- */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 5px 0;
    }

    .lang-switcher {
        margin-top: 10px;
    }
    
    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .feature-grid {
        flex-direction: column;
    }
    
    .contact-grid {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ABOUTUS.PHP SPECIFIC STYLES --- */

.about-text-block {
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    text-align: justify;
}

.about-text-block h2 {
    color: #013A6C;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Bloc Vidéo YouTube */
.video-block {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.video-block h2 {
    color: #013A6C;
    margin-bottom: 25px;
}

.youtube-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Bloc Réseaux Sociaux */
.social-links-block {
    text-align: center;
    margin: 50px auto 30px auto;
}

.social-links-block h2 {
    color: #013A6C;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.2em;
}

.social-icon {
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
    transition: opacity 0.3s;
}

.social-icon.youtube {
    background-color: #ff0000; /* Rouge YouTube */
}
.social-icon.linkedin {
    background-color: #0a66c2; /* Bleu LinkedIn */
}
.social-icon.facebook {
    background-color: #1877f2; /* Bleu Facebook */
}

/* --- TELECHARGEMENT.PHP NOUVEAUX STYLES MINIMALISTES --- */

.download-list.minimal {
    gap: 0; /* Supprime l'espace entre les éléments */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    overflow: hidden; /* Assure que les coins du conteneur parent sont arrondis */
}

.download-item.minimal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee; /* Ligne de séparation fine */
    background-color: #fff;
    transition: background-color 0.2s;
}

.download-item.minimal-item:last-child {
    border-bottom: none; /* Pas de ligne sous le dernier élément */
}

.download-item.minimal-item:hover {
    background-color: #f9f9f9;
}

.doc-info-minimal {
    flex-grow: 1;
}

.doc-info-minimal h3 {
    margin: 0;
    color: #333; /* Titre plus sombre, comme dans l'image */
    font-size: 1.1em;
    font-weight: bold;
}

.doc-format-size {
    margin: 3px 0 0 0;
    font-size: 0.85em;
    color: #666;
}

/* Style du bouton "Télécharger / Download" (minimal-download-button) */
.minimal-download-button {
    padding: 8px 15px;
    background-color: #fff; /* Fond blanc */
    color: #013A6C; /* Texte bleu Expresso */
    border: 1px solid #013A6C; /* Bordure bleue */
    border-radius: 5px;
    font-weight: normal;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.minimal-download-button:hover {
    background-color: #013A6C; /* Fond bleu au survol */
    color: #fff; /* Texte blanc au survol */
}

/* Icône de téléchargement dans le bouton */
.minimal-download-button::before {
    /* Style pour l'icône de téléchargement (⬇ ou une icône Font Awesome) */
    content: '⬇'; 
    margin-right: 8px;
    font-size: 1.2em;
}

/* NOUVEAU STYLE POUR L'IMAGE DU PRODUIT */
.product-image {
    width: 100%;
    height: 400px; /* Taille fixe pour garder la grille propre */
    object-fit: contain; /* L'image sera contenue dans la zone sans être coupée (avec fond blanc ou transparent) */
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #fff; /* Assurer un fond blanc pour les diables sur la carte */
}

/* --- MENTIONS-LEGALES.PHP SPECIFIC STYLES --- */

.legal-page {
    /* Assure un bon padding et centre le contenu */
    padding-top: 20px;
    padding-bottom: 50px;
}

.legal-page h1 {
    color: #013A6C; /* Bleu Expresso */
}

.legal-section-block {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.legal-section-block h2 {
    color: #333;
    font-size: 1.5em;
    border-left: 5px solid #013A6C; /* Petite barre latérale bleue */
    padding-left: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.legal-section-block p {
    margin-bottom: 10px;
    font-size: 1em;
}

.legal-section-block strong {
    display: inline-block;
    min-width: 180px; /* Aligner les doubles points */
}

.legal-links-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

/* --- PRODUIT DÉTAILLÉ (d24381121.php) SPECIFIC STYLES --- */

.carousel-container-product {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.carousel-track-product {
    display: flex;
    height: 100%;
    /* La largeur totale est définie par PHP dans le fichier HTML */
    transition: transform 0.5s ease-in-out;
}
.carousel-slide-product {
    flex-shrink: 0;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff; 
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.product-details-grid h2, .product-details-grid h3 {
    color: #013A6C;
}

.tech-specs {
    margin-top: 40px;
}

.tech-specs h2 {
    color: #333;
    border-bottom: 2px solid #013A6C;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.tech-specs table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.tech-specs th, .tech-specs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.tech-specs th {
    background-color: #f0f0f0;
    font-weight: normal;
    color: #333;
    width: 50%;
}
.tech-specs td {
    font-weight: bold;
    color: #013A6C;
}
.tech-specs tr:last-child th, .tech-specs tr:last-child td {
    border-bottom: none;
}

.buy-online-section {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

@media (max-width: 900px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    .carousel-container-product {
        height: 350px;
    }
}

/* --- RESPONSIVE GENERAL --- */

/* Appliqué aux écrans de 768px de large ou moins (typique pour les tablettes et mobiles) */
@media (max-width: 768px) {
    
    /* 1. Amélioration du Carrousel (pour aboutus.php) */
    .carousel-container {
        /* Réduit la hauteur du carrousel sur mobile pour qu'il soit moins envahissant */
        height: 250px; /* Ancien: 450px */
        margin-bottom: 20px;
    }

    /* 2. Assurer que l'image de fond s'adapte toujours bien */
    .carousel-slide {
        /* background-size: cover est déjà bon, mais on s'assure que le conteneur est souple */
        height: 100%;
        width: 100%; 
    }
}

/* --- RESPONSIVE NAVIGATION --- */

@media (max-width: 768px) {
    
    /* 1. Cache la barre de recherche (souvent trop large sur mobile) */
    .search-bar-container {
        display: none; 
    }
    
    /* 2. Force les éléments de la barre (logo, menu) à s'empiler verticalement */
    .navigation-content {
        flex-direction: column;
        align-items: center; /* Centre les éléments dans la colonne */
        gap: 10px; /* Ajoute un petit espace entre le logo et le menu */
    }

    /* 3. Force la liste des liens à s'empiler verticalement */
    .nav-links {
        flex-direction: column;
        align-items: center; 
        width: 100%;
    }

    /* 4. Donne de l'espace vertical à chaque lien */
    .nav-links li {
        margin: 5px 0; /* Plus d'espace entre les liens empilés */
        width: 80%; /* Pour centrer le lien dans la colonne */
        text-align: center;
    }

    /* 5. Élargit le bouton pour la lisibilité sur mobile */
    .nav-links a {
        display: block; /* Prend toute la largeur de son parent <li> */
        width: 100%; 
    }
}