/* Base styles, language switch, buttons, scrollbar */
/* ---- Language Switch ---- */
.lang-switch {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switch button {
    padding: 0.375rem 0.875rem;
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.lang-switch button.active {
    background: var(--portfolio-blue);
    color: white;
}

/* ---- Section Styling ---- */
.portfolio-section {
    padding: 6rem 0;
    position: relative;
}

.portfolio-section-dark {
    background: var(--portfolio-dark);
    color: white;
}

.portfolio-section-light {
    background: white;
    color: var(--portfolio-dark);
}

.portfolio-section-gray {
    background: var(--portfolio-gray);
    color: var(--portfolio-dark);
}

.portfolio-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--portfolio-blue);
}

.portfolio-section-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}


.portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--portfolio-gradient);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.3);
}

.portfolio-btn-outline {
    background: transparent;
    border: 2px solid rgba(0, 168, 232, 0.4);
    color: var(--portfolio-blue);
}

.portfolio-btn-outline:hover {
    background: rgba(0, 168, 232, 0.1);
    border-color: var(--portfolio-blue);
    box-shadow: none;
}


/* ---- Smooth Scrollbar ---- */
.portfolio-page {
    scroll-behavior: smooth;
}

/* ---- Placeholder Image (brouillon) ---- */
.portfolio-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2332 0%, #0d1520 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
}

/* Navigation override for portfolio */
.portfolio-nav-transparent {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed !important;
    width: 100%;
    transition: all 0.3s ease;
}

.portfolio-nav-scrolled {
    background: rgba(10, 15, 28, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}
