/*
 * ==========================================================
 * FEUILLE DE STYLE PRINCIPALE - SITE VITRINE EKABENYA
 * /public/css/theme.css
 * ==========================================================
 */

/* --- 1. Variables de Couleur et de Typographie (Palette de Marque) --- */
:root {
    --brand-navy: #0A192F;      /* Bleu marine très foncé, pour les fonds et textes importants */
    --brand-blue: #005A9C;      /* Bleu institutionnel, pour les icônes et les accents */
    --brand-red: #D92B3A;       /* Rouge du logo, pour des accents très ponctuels */
    --brand-gold: #FFC107;      /* Or/Jaune vif pour les boutons d'action et les surlignages */
    --font-primary: 'Lato', sans-serif;         /* Police pour le corps du texte, très lisible */
    --font-secondary: 'Montserrat', sans-serif; /* Police pour les titres, moderne et audacieuse */
}

/* --- 2. Styles de Base et Typographie --- */
body {
    font-family: var(--font-primary);
    color: #495057; /* Gris foncé doux pour le texte */
    line-height: 1.7;
    background-color: #ffffff;
    padding-top: 82px; /* Laisse de la place pour la navbar fixe */
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--brand-navy);
}

.font-montserrat {
    font-family: var(--font-secondary);
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
}

/* --- 3. Barre de Navigation (Navbar) --- */
.navbar {
    background-color: transparent;
    transition: background-color 0.4s ease-out, padding 0.4s ease-out;
}
.navbar.scrolled {
    background-color: var(--brand-navy);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.logo-img {
    max-height: 50px;
    transition: max-height 0.4s ease-out;
    border-radius: 4px;
}
.navbar.scrolled .logo-img {
    max-height: 40px;
}
.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    color: rgba(255, 255, 255, 0.8) !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--brand-gold) !important;
}

/* --- 4. Boutons Personnalisés --- */
.btn-brand-gold {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
    border: 2px solid var(--brand-gold);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}
.btn-brand-gold:hover {
    background-color: transparent;
    color: var(--brand-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}
.btn-outline-primary {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-width: 2px;
}

/* --- 5. Sections "Hero" et En-têtes de Page --- */
/* Style pour la section Hero de la page d'accueil */
#home-hero {
    min-height: calc(100vh - 82px); /* Hauteur de l'écran moins la navbar */
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('../assets/img/acceuil.png') no-repeat center center;
    background-size: cover;
    position: relative;
}
/* Style pour l'en-tête des autres pages */
.page-header {
    min-height: 45vh;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('../assets/img/hero-ship.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Effet Parallax */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 6. Styles des Composants et Sections --- */
/* Titres de section */
.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background-color: var(--brand-gold);
    border-radius: 2px;
}
.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}

/* Logos des partenaires (ISSA, IMPA) */
.partner-logos {
    display: flex; justify-content: center; align-items: center; gap: 2rem;
}
.partner-logo {
    max-height: 120px; filter: grayscale(100%);
    opacity: 0.7; transition: all 0.3s ease;
}
.partner-logo:hover {
    filter: grayscale(0%); opacity: 1; transform: scale(1.05);
}

/* Cartes de service (page d'accueil) */
.service-card-v2 {
    border: 1px solid #e9ecef; border-radius: 1rem;
    padding: 2rem 1.5rem; position: relative;
    background-color: white; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card-v2:hover {
    transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.service-icon-v2 {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
    color: white; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 2.5rem;
    margin: -4rem auto 1.5rem auto; box-shadow: 0 10px 20px rgba(0, 90, 156, 0.2);
    border: 4px solid white;
}
.service-icon-v2 .bi { color: inherit; }

/* Grille des ports (page d'accueil) */
.ports-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.port-item {
    background-color: #f8f9fa; border: 1px solid #e9ecef;
    padding: 0.75rem 1.5rem; border-radius: 50px;
    font-weight: 500; transition: background-color 0.3s, color 0.3s;
}
.port-item:hover { background-color: var(--brand-navy); color: white; }

/* Section Appel à l'action (CTA) */
.cta-section {
    background: linear-gradient(45deg, var(--brand-blue), var(--brand-navy));
}
.cta-section .btn-light {
    border-radius: 50px; padding: 0.75rem 2rem;
    font-weight: 700; color: var(--brand-navy);
}

/* --- 7. Styles Spécifiques aux Pages Internes --- */
/* Icônes pour Chiffres Clés (page À Propos) */
.icon-circle-lg {
    width: 90px; height: 90px;
    background: #eef2ff; color: var(--brand-blue);
    border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 2.5rem; margin-bottom: 1rem;
}

/* Cartes de service (page Services) */
.service-card {
    border: 1px solid #e9ecef; border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-card .card-header {
    background-color: var(--brand-navy); color: white;
    font-family: var(--font-secondary); font-weight: 600; padding: 1rem 1.5rem;
}
.service-card .card-header i { color: var(--brand-gold); margin-right: 0.5rem; }
.service-card .list-unstyled li { margin-bottom: 0.5rem; }

/* Boîte d'informations (page Contact) */
.contact-info-box {
    background: #f8f9fa; padding: 2rem; border-radius: 0.5rem;
    border-left: 5px solid var(--brand-blue);
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item i { font-size: 1.5rem; color: var(--brand-blue); margin-top: 5px; }
.form-control-lg { padding: 0.8rem 1rem; font-size: 1rem; }

/* --- 8. Footer --- */
.footer-section { background-color: var(--brand-navy); color: white; }
.footer-title {
    font-family: var(--font-secondary); font-weight: 600; color: white; display: flex; align-items: center;
}
.footer-logo { height: 30px; border-radius: 4px; }
.footer-link {
    color: rgba(255,255,255,0.7); text-decoration: none;
    transition: all 0.3s; display: inline-block; padding: 0.25rem 0;
}
.footer-link:hover { color: white; padding-left: 5px; }
.footer-divider { border-color: rgba(255,255,255,0.2); }
.footer-link-special {
    display: inline-flex; align-items: center; background-color: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem; border-radius: 50px; text-decoration: none;
    color: white; font-weight: 600; transition: background-color 0.3s;
}
.footer-link-special:hover { background-color: var(--brand-blue); }
.footer-section .list-unstyled li.d-flex i { color: var(--brand-gold); font-size: 1rem; }
/* ... (gardez tous les styles précédents) ... */

/* --- Styles pour la Page Contact (Ajout) --- */
.contact-info-box .contact-link {
    color: #495057; /* Couleur du texte par défaut */
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-box .contact-link:hover {
    color: var(--brand-blue); /* Couleur bleue au survol */
    text-decoration: underline;
}