/* css/layout.css */

/* --- HEADER & NAV --- */
header {
    background: transparent; /* Transparent par défaut */
    box-shadow: none;        /* Pas d'ombre au début */
    border-bottom: 1px solid transparent; /* Bordure invisible */
    padding: 5px 0;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    
    z-index: 1000;
    height: var(--header-height);
    
    backdrop-filter: none; /* Pas de flou au début */
    transition: all 0.4s ease; /* Transition douce */
}

/* État quand on scrolle */
header.scrolled {
    background: rgba(15, 23, 42, 0.95); /* Fond sombre */
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); 
    border-bottom: 1px solid rgba(0, 180, 216, 0.3);
    backdrop-filter: blur(15px); /* Retour du flou */
}

header .container {
    max-width: 100%;
    padding: 0 40px; 
    height: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
}

.logo {
    height: 130px; 
    width: auto;
    display: block;
    filter: invert(1) hue-rotate(180deg) brightness(2) contrast(1.2);
    mix-blend-mode: screen; 
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 700; 
    color: #e2e8f0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover { 
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.6);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- FOOTER --- */
footer {
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5e1;
    padding: 80px 0 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    height: 90px;
    width: auto;
    display: inline-block;
    margin-bottom: 30px;
    filter: invert(1) hue-rotate(180deg) brightness(1.5); 
    mix-blend-mode: screen;
    opacity: 0.9;
}

.footer-bottom { 
    margin-top: 60px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 30px; 
    font-size: 0.9rem; 
    color: #64748b; 
}