/* Variables de couleurs */
:root {
    --primary: #C99383;
    --primary-dark: #ba745f;
    --primary-light: rgba(201, 147, 131, 0.1);
    --white: #ffffff;
    --text-dark: #4a3831;
    --shadow: rgba(201, 147, 131, 0.1);
}

/* Styles pour le menu principal */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo img {
    height: 60px;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    color: var(--white);
    background-color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    background-color: var(--primary-light);
    border-radius: 15px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

/* Styles pour le bouton d'action */


.connexion-link {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

.connexion-link:hover {
  color: var(--white) !important;
  background-color: var(--primary-dark);
}



/* Styles pour le bouton de connexion */
.connexion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(201, 147, 131, 0.2);
}

.connexion-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(201, 147, 131, 0.3);
}

.connexion-btn a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.connexion-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.connexion-btn:hover i {
    transform: scale(1.1);
}

/* Media queries pour le bouton de connexion */
@media screen and (max-width: 768px) {
    .connexion-btn {
        width: 35px;
        height: 35px;
    }

    .connexion-btn i {
        font-size: 1.1rem;
    }
}

/* Styles pour le menu burger (mobile) */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

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

/* Animation du burger */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Media queries pour la version mobile */
@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transition: right 0.5s ease;
        padding: 5rem 0 2rem 0;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        color: var(--text-dark);
    }

    .nav-actions {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .connexion-btn {
        margin: 0 auto;
    }
} 