/* ===== VARIABLES CSS ===== */
:root {
    --light: #f5f5f5;
    --gold: #d4a76a;
    --dark: #333;
}

/* ===== HEADER ET NAVIGATION - VERSION WORDPRESS ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 80%, rgba(0,0,0,0) 100%);
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

header.scrolled {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 80%, rgba(0,0,0,0.05) 100%);
    backdrop-filter: blur(5px);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transition: all 0.3s ease;
    position: relative;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

header.scrolled .logo img {
    height: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 8px 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(212,167,106,0.4);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablette et mobile (max 899px) */
@media (max-width: 899px) {
    /* Adaptation du header pour tablettes */
    header {
        background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 80%, rgba(0,0,0,0) 100%);
    }
    
    .logo img {
        height: 80px;
    }
    
    header.scrolled .logo img {
        height: 65px;
    }
    
    /* Activation du menu burger dès que l'espace manque */
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(17,25,45,0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    
    .nav-links a {
        font-size: 28px;
        padding: 20px 30px;
        font-weight: 300;
        letter-spacing: 2px;
        position: relative;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .nav-links a::before {
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    
    .nav-links a:hover {
        transform: translateY(-3px) scale(1.05);
        text-shadow: 0 6px 20px rgba(212,167,106,0.5);
        color: var(--gold);
    }
}

/* Mobile (max 575px) - Ajustements pour très petits écrans */
@media (max-width: 575px) {
    .nav-links a {
        font-size: 24px;
        padding: 15px 25px;
        letter-spacing: 1.5px;
    }
    
    .logo img {
        height: 70px;
    }
    
    header.scrolled .logo img {
        height: 55px;
    }
}
