/* ===================== */
/* NAVIGATION */
/* ===================== */

body {
    padding-top: 140px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(13, 13, 13, 0.95) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid #ff3c00;
    box-shadow: 
        0 5px 30px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(255, 60, 0, 0.3),
        inset 0 -2px 10px rgba(255, 60, 0, 0.2);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* ===================== */
/* LOGO PRINCIPAL */
/* ===================== */
.nav-logo {
    font-family: 'Anton', sans-serif;
    font-size: 2.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    letter-spacing: 4px;
    white-space: nowrap;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    text-shadow: 
        3px 3px 0px #000,
        4px 4px 0px #ff3c00,
        5px 5px 0px #ff5722,
        6px 6px 0px #ffaa00,
        0 0 20px rgba(255, 60, 0, 0.8);
    filter: drop-shadow(0 0 15px rgba(255, 60, 0, 0.6));
    transition: all 0.3s;
}

.nav-logo:hover {
    transform: scale(1.08) rotate(-1deg);
    letter-spacing: 6px;
}

/* Gouttes de peinture */
.nav-logo::before,
.nav-logo::after {
    content: '';
    position: absolute;
    background: linear-gradient(180deg, #ff3c00, transparent);
    border-radius: 0 0 50% 50%;
    animation: drip 4s ease-in-out infinite;
    pointer-events: none;
}

.nav-logo::before {
    bottom: -12px;
    left: 15%;
    width: 6px;
    height: 20px;
    animation-delay: 0.5s;
}

.nav-logo::after {
    bottom: -18px;
    right: 25%;
    width: 8px;
    height: 30px;
}

@keyframes drip {
    0%, 100% { 
        height: 20px; 
        opacity: 0.8; 
    }
    50% { 
        height: 40px; 
        opacity: 0.4; 
    }
}

/* ===================== */
/* MENU NAVIGATION */
/* ===================== */
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    list-style: none;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 10px 0;
}

.nav-menu li {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(20, 20, 20, 0.85));
    border: 2px solid #ff3c00;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Effet brillance */
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s;
    pointer-events: none;
}

.nav-menu a:hover::before {
    left: 150%;
}

/* Goutte au survol */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 0;
    background: linear-gradient(180deg, #ff3c00, transparent);
    border-radius: 0 0 50% 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}
@media (min-width: 900px) {
    .nav-menu {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: auto;
        gap: 15px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* Force items 7-11 à commencer colonne 2 (centre les 5 items) */
    .nav-menu li:nth-child(7) {
        grid-column: 2;
    }
}
.nav-menu a:hover::after {
    height: 20px;
    opacity: 1;
    bottom: -20px;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, rgba(255, 60, 0, 0.3), rgba(255, 90, 0, 0.2));
    border-color: #ffaa00;
    color: #ffaa00;
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 
        0 8px 25px rgba(255, 60, 0, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 170, 0, 0.4);
    text-shadow: 
        2px 2px 3px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 170, 0, 0.8);
}

/* ===================== */
/* LOGO DROIT (INSTRUS) */
/* ===================== */
.nav-logo-right {
    display: block;
    transition: transform 0.3s ease;
}

.nav-logo-right img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(255, 60, 0, 0.5));
    transition: all 0.3s ease;
}

.nav-logo-right:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(255, 60, 0, 0.8));
}

/* ===================== */
/* BURGER MOBILE */
/* ===================== */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    margin-left: auto;
    z-index: 10000;
}

.burger span {
    width: 32px;
    height: 4px;
    background: linear-gradient(90deg, #ff3c00, #ffaa00);
    transition: 0.3s;
    border-radius: 3px;
    box-shadow: 
        0 2px 8px rgba(255, 60, 0, 0.5),
        0 0 10px rgba(255, 60, 0, 0.3);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}
