/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#0d1117;
    color:#fff;
}

/* Barre de navigation */
header{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(13,17,23,.95);
    backdrop-filter:blur(10px);
    z-index:1000;
}

nav{
    max-width:1200px;
    margin:auto;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#fff;
    font-size:30px;
}

.logo span{
    color:#00bfff;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

nav ul li a:hover{
    color:#00bfff;
}

/* Hero */

.hero{
    max-width:1200px;
    margin:auto;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:120px 20px;
}

.hero-text{
    flex:1;
}

.hero-text h4{
    color:#8da0bc;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:14px;
    margin-bottom:10px;
}

.hero-text h1{
    font-size:60px;
}

.hero-text span{
    color:#00bfff;
}

.hero-text h3{
    color:#00bfff;
    margin:20px 0;
}

.hero-text p{
    color:#cfcfcf;
    line-height:1.8;
}

.hero-badge{
    display:inline-block;
    padding:8px 14px;
    background:rgba(0,191,255,.12);
    color:#7edcff;
    border:1px solid rgba(0,191,255,.25);
    border-radius:999px;
    font-size:13px;
    margin-bottom:20px;
}

.hero-highlights{
    list-style:none;
    margin:24px 0 0;
    display:grid;
    gap:10px;
}

.hero-highlights li{
    display:flex;
    align-items:center;
    gap:10px;
    color:#d8e3f3;
}

.hero-highlights i{
    color:#00bfff;
}

.buttons{
    margin-top:35px;
}

.btn,.btn2{
    display:inline-block;
    padding:14px 28px;
    border-radius:40px;
    text-decoration:none;
    margin-right:15px;
    transition:.3s;
}

.btn{
    background:#00bfff;
    color:white;
}

.btn:hover{
    transform:translateY(-5px);
}

.btn2{
    border:2px solid #00bfff;
    color:#00bfff;
}

.btn2:hover{
    background:#00bfff;
    color:white;
}

/* Photo */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.image-ring{
    position:absolute;
    inset:-18px;
    border:2px solid rgba(0,191,255,.3);
    border-radius:50%;
    animation:pulse 3s ease-in-out infinite;
}

@keyframes pulse{
    0%, 100%{ transform:scale(1); opacity:.8; }
    50%{ transform:scale(1.04); opacity:1; }
}

.hero-image img{
    width:360px;
    height:360px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #00bfff;
    box-shadow:0 0 40px rgba(0,191,255,.35);
}

.project-visual{
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:48px;
    color:white;
}

.visual-1{
    background:linear-gradient(135deg, #00bfff, #0d1117);
}

.visual-2{
    background:linear-gradient(135deg, #1f6feb, #0d1117);
}

.visual-3{
    background:linear-gradient(135deg, #6a5acd, #0d1117);
}

/* Sections */

section{
    padding:90px 20px;
    max-width:1200px;
    margin:auto;
}

section h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:start;
}

.about-text p{
    color:#cfd8eb;
    line-height:1.9;
    margin-bottom:18px;
}

.about-cards{
    display:grid;
    gap:20px;
}

.about-card{
    background:linear-gradient(135deg, rgba(0,191,255,.14), rgba(13,17,23,.9));
    border:1px solid rgba(0,191,255,.18);
    border-radius:22px;
    padding:24px;
    text-align:center;
    box-shadow:0 12px 35px rgba(0,0,0,.18);
}

.about-card i{
    font-size:34px;
    color:#00e0ff;
    margin-bottom:18px;
}

.about-card h3{
    margin-bottom:12px;
}

.about-card p{
    color:#d2dce8;
    line-height:1.8;
}

.resume-sidebar,
.resume-main{
    background:#161b22;
    border-radius:20px;
    padding:30px;
}

.resume-card,
.resume-block{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:20px;
    margin-bottom:20px;
}

.resume-card h3,
.resume-block h3{
    margin-bottom:16px;
}

.resume-card ul,
.resume-block ul{
    list-style:disc inside;
    color:#c0cadb;
    line-height:1.8;
}

.resume-card p,
.resume-card li,
.resume-block p,
.resume-block li{
    color:#c0cadb;
}

.resume-card a{
    color:#00bfff;
    text-decoration:none;
}

.resume-item{
    margin-top:12px;
}

.resume-date{
    display:inline-block;
    margin-bottom:8px;
    color:#8da0bc;
    font-size:14px;
}

@media(max-width:900px){
    .resume-grid{
        grid-template-columns:1fr;
    }
}

/* Compétences */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.card{
    background:#161b22;
    padding:35px;
    border-radius:15px;
    text-align:center;
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px #00bfff;
}

.card i{
    font-size:55px;
    color:#00bfff;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:10px;
}

.skill-percent{
    display:inline-block;
    color:#8da0bc;
    font-size:14px;
    margin-bottom:12px;
}

.skill-bar{
    width:100%;
    height:10px;
    background:rgba(255,255,255,.08);
    border-radius:999px;
    overflow:hidden;
    margin-top:4px;
}

.skill-fill{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg, #00bfff, #75e4ff);
}

.html-fill{width:85%;}
.css-fill{width:40%;}
.js-fill{width:20%;}
.php-fill{width:20%;}
.mysql-fill{width:20%;}
.python-fill{width:20%;}

/* Projets */

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.project{
    background:#161b22;
    border-radius:15px;
    overflow:hidden;
    transition:.4s;
}

.project:hover{
    transform:translateY(-10px);
}

.project img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project h3,
.project p{
    padding:15px;
}
.project-link{
    display:inline-block;
    margin:0 15px 15px;
    padding:10px 18px;
    background:#00bfff;
    color:#fff;
    border-radius:999px;
    text-decoration:none;
    transition:.3s;
}

.project-link:hover{
    background:#0092d6;
}
/* Certifications */

.certifications-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

.certification-card{
    background:#161b22;
    padding:28px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
}

.certification-card h3{
    margin-bottom:12px;
}

.certification-card p{
    color:#bfc7d6;
    line-height:1.7;
}

/* Centres d'intérêt */

.interest-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:22px;
    justify-items:center;
}

.interest-card{
    width:100%;
    max-width:260px;
    background:linear-gradient(135deg, rgba(0,191,255,.18), rgba(18,25,40,.95));
    border:1px solid rgba(0,191,255,.16);
    border-radius:24px;
    padding:24px 18px;
    display:flex;
    align-items:center;
    gap:14px;
    box-shadow:0 18px 45px rgba(0,0,0,.2);
    transition:.3s;
}

.interest-card:hover{
    transform:translateY(-6px);
    border-color:rgba(0,191,255,.35);
}

.interest-card i{
    font-size:30px;
    color:#00bfff;
}

.interest-card span{
    color:#edf2ff;
    font-size:17px;
    font-weight:500;
}

/* Contact */

form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:15px;
    border:none;
    border-radius:10px;
    background:#161b22;
    color:white;
}

textarea{
    height:180px;
}

button{
    padding:15px;
    background:#00bfff;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:18px;
}

/* Footer */

footer{
    background:#161b22;
    text-align:center;
    padding:40px;
}

.social{
    margin:20px 0;
}

.social i{
    font-size:28px;
    margin:0 15px;
    cursor:pointer;
    transition:.3s;
}

.social i:hover{
    color:#00bfff;
}

/* Responsive */

@media(max-width:900px){

.hero{
    flex-direction:column-reverse;
    text-align:center;
}

.hero-image img{
    width:300px;
    height:300px;
}

.hero-text h1{
    font-size:45px;
}

nav{
    flex-direction:column;
}

nav ul{
    margin-top:15px;
}
}