/* About Page Styles - Arthur Schick - Version Responsive Corrigée */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import des polices depuis le CSS principal */
@font-face {
    font-family: 'CourierPrime';
    src: url('../fonts/CourierPrime.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-stretch: condensed;
}

@font-face {
    font-family: 'CourierThin';
    src: url('../fonts/CourierThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'MatrixZone';
    src: url('../fonts/MatrixZone.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JMH Typewriter-Thin';
    src: url('../fonts/JMH Typewriter-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'VeteranTypewriter';
    src: url('../fonts/veteran typewriter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SpecialElite';
    src: url('../fonts/SpecialElite.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --text-light: #f8cee1;
    --accent-pink: #ef87c0;
    --background: #000;
    --card-bg: rgba(0, 0, 0, 0.6);
    --card-border: rgba(255, 110, 199, 0.3);
    
    --scale-ratio: 1;
    --responsive-scale: 1;
    --responsive-margin-left: 0px;
    --current-aspect: 1.78;
    --reference-aspect: 1.78;
    --vertical-scale: 1;
    --footer-margin-top: 120px;
}


/* Container de base - permet le scroll naturel */
html {
    width: 100%;
    height: 100%;
}

/* 
html::-webkit-scrollbar:horizontal,
body::-webkit-scrollbar:horizontal {
    display: none;
    height: 0;
}
Masquer UNIQUEMENT la scrollbar horizontale */

/* Wrapper de clipping - Empêche le débordement horizontal */
.page-clip-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    overflow-x: clip;
    overflow-y: visible;
    min-height: 100vh;
}

/* Configuration par défaut - TRANSFORMATIONS RETIRÉES */
body {
    font-family: 'CourierPrime', monospace;
    font-weight: 100;
    font-stretch: condensed;
    background-color: var(--background);
    color: var(--text-light);
    background-image: url('../images/background/bg_7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    align-items: center;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-width: 100vw;
    overflow-x:hidden;

    /* Overflow géré par .page-clip-wrapper maintenant */
    /* RETIRÉ: transform-origin: top center; */
    /* RETIRÉ: scale: var(--responsive-scale); */
}


/* Scrollbar personnalisée pour le body */
body::-webkit-scrollbar {
    width: 1vh;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 110, 199, 0.5);
    border-radius: 0.1vh;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 110, 199, 0.7);
}

/* Navigation - MODIFIÉE avec échelle responsive */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(var(--responsive-scale));
    transform-origin: top center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    height: 60px;
    width: 1560px;
}

.nav-brand {
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.1);
}

.nav-brand a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    font-weight: 100;
    font-stretch: condensed;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    font-weight: 100;
    font-stretch: condensed;
    transition: all 0.3s ease;

}

.nav-link:hover {
    transform: scale(1.2);
}

.nav-link.active {
    color: var( --accent-pink);
}

/* Main Content */
.main-content {
    padding: 0px 0px 0px 0px;
    width: 1500px;
    margin: 0 auto;
    transform: scale(0.92); /*probleme ?*/
    margin-left: var(--responsive-margin-left);
    transform-origin: top center;
    scale: var(--responsive-scale);
}

/* Title Section */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Biography Section */
.biography-section {

    align-items: center;
    display: flex;
    justify-content: center;
    height: 756px;
    padding: 60px 0 90px 0;
    margin-bottom: 40px;
    position: relative;
    width: 1500px;
    margin-left: 20px;
    margin-top: calc(70px * var(--responsive-scale)); 
}

.bio-container {
    width: 1500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.bio-part-1,
.bio-part-4 {
    text-align: center;
    padding: 10px 30px;
    border: 2px solid rgba(255, 110, 199, 0.4);
    border-radius: 10px;
    background: rgba(255, 110, 199, 0.05);
    height: 90px;
}

.bio-part-1 {
    margin: -10px 150px 10px 20px;
    z-index: 3;
    position: relative;
    width: 1330px;
}

.bio-part-4 {
    margin: 10px 20px -10px 150px;
    z-index: 3;
    position: relative;
    width: 1330px;
}

.bio-part-1 p,
.bio-part-4 p {
    font-family: 'JMH Typewriter-Thin', 'CourierPrime', monospace;
    font-size: 1.37rem;
    font-weight: 100;
    line-height: 1.4;
    color: var(--accent-pink);
    margin: 0;
}

.bio-central-layout {
    position: relative;
    width: 1500px;
    height: 420px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arthur-photo-center {
    position: absolute;
    top: 50%;
    left: 753px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.arthur-image-round { 
    width: 290px;
    height: 290px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid rgba(255, 110, 199, 0.3); 
    opacity: 0.6;
    filter: blur(20px) brightness(0.8); 
    transition: all 0.6s ease; 
} 

.arthur-image-round:hover { 
    opacity: 1; 
    filter: blur(0px) brightness(1);
}

.curved-arrow-left,
.curved-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(140deg);
    z-index: 0.5;
    opacity: 1;
}

.curved-arrow-left {
    left: 458px;
    margin-top: -10px;
    transform: translateY(-50%) scaleX(-1) rotate(140deg);
}

.curved-arrow-right {
    margin-top: 10px;
    right: 450px;
}

.arrow-image {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffb3e6);
}

.bio-text-left-top,
.bio-text-left-bottom {
    position: absolute;
    left: 20px;
    width: 675px;
    font-family: 'courier-condensed', 'CourierPrime', monospace;
    font-size: 1.1rem;
    font-weight: 100;
    line-height: 1.4;
    color: var(--text-light);
    text-align: right;
    padding-right: 30px;
    z-index: 2;
}

.bio-text-left-top {
    top: 50px;
}

.bio-text-left-bottom {
    bottom: 50px;
}

.bio-text-right-top,
.bio-text-right-bottom {
    position: absolute;
    right: 20px;
    width: 675px;
    font-family: 'courier-condensed', 'CourierPrime', monospace;
    font-size: 1.1rem;
    font-weight: 100;
    line-height: 1.4;
    color: var(--text-light);
    text-align: left;
    padding-left: 30px;
    z-index: 2;
}

.bio-text-right-top {
    top: 50px;
}

.bio-text-right-bottom {
    bottom: 50px;
}

.bio-text-left-top p,
.bio-text-left-bottom p,
.bio-text-right-top p,
.bio-text-right-bottom p {
    margin: 0;
}

.text-line-left {
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-align-last: justify;
}

.text-line-right {
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-align-last: justify;
}

.bio-superscript {
    font-family: 'CourierThin', 'CourierPrime', monospace !important;
    font-size: 0.8rem !important;
    color: inherit !important;
    vertical-align: super;
    font-weight: 100 !important;
}

.separator-demo {
    position: relative;
    width: 800px;
    height: 150px;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout style paint;
    will-change: transform;
}

.demo-text {
    color: #ff93d6;
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 16px;
}

.evolving-particle-line {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 1800px;
    height: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.evolving-unit {
    position: relative;
    width: 1px;
    height: 1px;
}

.evolving-dot {
    position: absolute;
    width: 2.5px;
    height: 2.5px;
    background: rgba(255, 147, 214, 0.85);
    border-radius: 50%;
    transition: all 0.8s ease-in-out;
    animation: continuous-flow 4s ease infinite;
}

.evolving-dot:nth-child(1) { --base-x: 0; --base-y: 0; }
.evolving-dot:nth-child(2) { --base-x: 0.3; --base-y: -0.2; }
.evolving-dot:nth-child(3) { --base-x: -0.3; --base-y: 0.1; }
.evolving-dot:nth-child(4) { --base-x: 0.1; --base-y: 0.3; }
.evolving-dot:nth-child(5) { --base-x: -0.1; --base-y: -0.3; }
.evolving-dot:nth-child(6) { --base-x: 0.2; --base-y: 0.2; }
.evolving-dot:nth-child(7) { --base-x: -0.2; --base-y: -0.1; }
.evolving-dot:nth-child(8) { --base-x: 0.4; --base-y: -0.3; }
.evolving-dot:nth-child(9) { --base-x: -0.4; --base-y: 0.2; }

@keyframes continuous-flow {
    0% { 
        transform: translate(
            calc(var(--base-x) * 3px), 
            calc(var(--base-y) * 3px)
        ) scale(2.5); 
        opacity: 1; 
    }
    50% { 
        transform: translate(
            calc((var(--current-x) + var(--base-x)) * var(--current-intensity)), 
            calc((var(--current-y) + var(--base-y)) * var(--current-intensity))
        ) scale(0.6); 
        opacity: 0.4; 
    }
    100% { 
        transform: translate(
            calc(var(--base-x) * 3px), 
            calc(var(--base-y) * 3px)
        ) scale(2.5); 
        opacity: 1; 
    }
}

.expertise-section {
    margin: 0;
    padding: 80px 0;
    width: 1500px;
}

.main-title {
    font-family: 'MatrixZone', 'CourierPrime', monospace;
    font-size: 4.5rem;
    font-weight: normal;
    line-height: 1.1;
    position: relative;
    letter-spacing: .8em;
    padding: 50px;
    width: 1400px;
    margin-left: 52px;
    z-index: 1;
}

.title-skills {
    background: linear-gradient(45deg, #f8d7da, #f4a6cd, #ff91d1, #ffb3e6);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.expertise-content {
    margin-left: 50px;
    display: grid;
    margin-top: 20px;
    margin-bottom: -660px;
    grid-template-columns: 490px 490px 490px;
    grid-template-rows: auto auto;
    gap: 0;
    border: 4px solid rgba(255, 110, 199, 0.3);
    border-radius: 10px;
    overflow: hidden;
    width: 1470px;
    -webkit-text-size-adjust: 100%;  /* Ajouter */
    text-size-adjust: 100%;          /* Ajouter */
}

.expertise-block {
    background: rgba(255, 110, 199, 0.1);
    border: none;
    border-radius: 0;
    padding: 15px 15px 10px 15px;
    position: relative;
    width: 490px;
    height: auto;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;  /* Ajouter */
    text-size-adjust: 100%;          /* Ajouter */
}
.expertise-block:not(:nth-child(3n)) {
    border-right: 2px solid rgba(255, 110, 199, 0.2);
}

.expertise-block:nth-child(-n+3) {
    border-bottom: 2px solid rgba(255, 110, 199, 0.2);
}   

.expertise-block h3 {
    font-family: 'courier-condensed', monospace;
    font-size: 22px;  /* Au lieu de 1.4rem */
    color: var(--accent-pink);
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #ff6ec733;
    padding-bottom: 8px;
}

.expertise-block ul {
    list-style: none;
    padding: 0;
}

.expertise-block li {
    font-family: 'courier-condensed', monospace;
    font-size: 16px;  /* Au lieu de 1rem */
    margin-bottom: 6px;
    color: var(--text-light);
    line-height: 1.3;
    position: relative;
    padding-left: 25px;
    padding-bottom: 12px;
}

.expertise-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 16px;
    height: 16px;
    background-image: url('\\images\\projects\\ValknutNew.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
    filter: brightness(0) saturate(100%) invert(56%) sepia(94%) saturate(7192%) hue-rotate(295deg) brightness(102%) contrast(101%);
}

footer {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 235, 237, 0.2);
    padding: 21.5px 25px;
    transform: scale(1.17) translateY(200px);
    margin-left: 47px;
    /*ne pas changer !!*/
    margin-top: var(--footer-margin-top);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background/bg_5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
}


.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 0px;
    transform: scale(0.92);
    margin-top:-1px;
}

.footer-copyright {
    font-family: 'CourierPrime', monospace;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 100;
        margin-left: 3px;
        margin-top: 5.5px;
}

.contact-button-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0 0px 0;
    margin-bottom: -80px;
    margin-top: 30px;
    margin-right: -50px;
    width: 1500px;
}

.contact-btn {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 0.5px 20px;
    font-family: 'CourierPrime', monospace;
    font-weight: 100;
    font-stretch: condensed;
    font-size: 16px;
    cursor: pointer;
    margin-right: 15px;
    margin-top: 5.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 265px;
    text-align: center;
    position: relative;
    text-decoration: none !important;
    z-index: 500;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 110, 199, 0.3);
}