/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: flex-start; /* Pushes content to the right */
    padding: 10PX 10px; /* Optional */
    max-width: 1200px;
    height: 80px;

}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2E4F4F;
}

.nav-link.active {
    color: #2E4F4F;
    font-weight: 500;
}

.nav-cta {
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: #333;
}
.hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hamburger span {
    position: absolute;
    width: 20px;
    height: 2px;

    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hamburger span:nth-child(1) {
    transform: translateY(-6px);
}

.hamburger span:nth-child(3) {
    transform: translateY(6px);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}


/* === MENU MOBILE === */
.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    transform: translateY(25px);
    opacity: 1;
    visibility: visible;
    z-index: 100000;
}

.mobile-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-nav .nav-link {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

/* === CONTENT === */
.content {
    margin-top: 60px;
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.content p {
    font-size: 19px;
    color: #86868b;
    font-weight: 400;
}

/* === RESPONSIVE === */

    .nav-menu {
        display: none;
    }



    .nav-container {
        padding: 0 16px;
    }

    .content {
        padding: 60px 16px;
        margin-top: 60px;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 17px;
    }


@media (max-width: 480px) {
    .content h1 {
        font-size: 28px;
    }
}
.language-switcher {
    display: flex;
    gap: 0.3rem;
    margin-left: auto; /* pousse ce bloc à droite */

    align-items: center;
    background:transparent;
    padding: 0.4rem;
    border-radius: 25px;
}

.lang-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-marble);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 20px;
}

.lang-btn:hover::before {
    left: 0;
}

.lang-btn:hover {
    color: #121212;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--warm-beige);
    color: #121212;
}

.lang-btn.active::before {
    left: 0;
}

.lang-btn .flag {
    font-size: 1.2em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
