/* ============================================================
   NAVBAR FIXE – Corentin Drone
   ============================================================ */

:root {
    --navbar-height: 70px;
}

/* ------------------------------------------------------------
   NAVBAR
------------------------------------------------------------ */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1030;
    display: flex;
    align-items: center;
    background-color: #000000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 0 1rem;
}

.navbar-brand, .nav-link {
    color: #ffffff !important;
}

/* ------------------------------------------------------------
   LOGO (Ajustements Taille et Position)
------------------------------------------------------------ */
.navbar-logo {
    height: 40px; /* Taille de référence */
    width: auto;
    
    /* 1. TAILLE : Augmente ce chiffre pour agrandir (ex: 1.8, 2.0, 2.2) */
    transform: scale(2.5); 
    transform-origin: left center;
    
    /* 2. POSITION : On décale à gauche sans bouger le texte */
    position: relative;
    left: -60px; /* Chiffre négatif pour aller vers la gauche */
    
    transition: transform 0.3s ease;
}

/* ------------------------------------------------------------
   ADAPTATION MOBILE
------------------------------------------------------------ */
@media (max-width: 991px) {
    .navbar-logo {
        /* Taille sur téléphone (ajustable aussi) */
        transform: scale(2.5) !important; 
        left: -35px !important;
    }

    .navbar-collapse {
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: #000;
        padding: 10px 15px;
        z-index: 1029;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }
}

/* ------------------------------------------------------------
   CONTENU & ANIMATION
------------------------------------------------------------ */
body {
    padding-top: var(--navbar-height) !important;
}

html {
    scroll-behavior: smooth;
}
