/* DirectWind CSS - HEADER */

/* === HEADER === */
.header {
    background: var(--blue-marine);
    box-shadow: 0 2px 10px rgba(44, 79, 107, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-circle {
    width: 158px;
    height: 50px;
    background-image: url('DW.png');
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.logo-circle span {
    position: relative;
    z-index: 2;
    color: var(--orange-vif);
}

.logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    color: var(--blanc);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
}

.logo-subtext {
    color: var(--gris-moyen);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--blanc);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-links a:hover {
    color: var(--orange-vif);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--orange-vif);
}

/* Actions du header */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-search {
    background: none;
    border: none;
    color: var(--blanc);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--orange-vif);
}

.btn-social {
    background: none;
    border: none;
    color: var(--blanc);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #1877F2;
    transform: translateY(-1px);
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--blanc);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.burger-icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: var(--blanc);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--blue-marine);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 8px;
   /*opacity: 0;*/
    transform: translateX(-20px);
    animation: slideInLeft 0.3s ease-out forwards;
}

.mobile-nav-links a {
    display: block;
    color: var(--blanc);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 16px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--orange-vif);
    border-left-color: var(--orange-vif);
}

.mobile-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-actions .btn-social {
    justify-content: flex-start;
    gap: 12px;
    font-weight: 500;
    font-size: 16px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* === BOUTONS === */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--orange-vif);
    color: var(--blanc);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.btn-primary:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--gris-moyen);
    color: var(--blanc);
}

.btn-secondary:hover {
    background: #6B7280;
    transform: translateY(-1px);
}

.btn-login {
    background: none;
    border: 2px solid var(--orange-vif);
    color: var(--orange-vif);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-login:hover {
    background: var(--orange-vif);
    color: var(--blanc);
    transform: translateY(-1px);
}

 @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .mobile-menu.active .mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(2) { animation-delay: 0.15s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(3) { animation-delay: 0.2s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(4) { animation-delay: 0.25s; }
