/* ==========================================================================
   1. VARIABLES & CONFIGURATION GENERALE
   ========================================================================== */
:root {
    --primary-color: #0d6efd; /* Bleu technologique */
    --dark-color: #212529;    
    --light-color: #f8f9fa;   
    --transition-smooth: all 0.3s ease-in-out;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

/* ==========================================================================
   2. EN-TÊTE & NAVIGATION (NAVBAR)
   ========================================================================== */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    letter-spacing: 1px;
}

.nav-link {
    position: relative;
    transition: var(--transition-smooth);
}

@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 10%;
        background-color: #fff;
        transition: var(--transition-smooth);
    }
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }
}

/* ==========================================================================
   3. BOUTONS & EFFETS
   ========================================================================== */
.btn {
    border-radius: 6px;
    transition: var(--transition-smooth) !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   4. COMPOSANTS GENERIQUES (Pour les pages Services & Projets)
   ========================================================================== */
section {
    padding: 60px 0;
}

.custom-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}