* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

header {
    background-color: #1f2937;
    color: white;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 22px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #3b82f6;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    gap: 60px;
    flex-wrap: wrap;
}

.hero img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-text h3 {
    font-weight: 400;
    color: #3b82f6;
    margin-bottom: 20px;
}

.hero-text p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.buttons a {
    display: inline-block;
    padding: 12px 25px;
    margin-right: 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.btn-secondary:hover {
    background-color: #3b82f6;
    color: white;
}

footer {
    background-color: #1f2937;
    color: white;
    padding: 25px 10%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left p {
    margin-bottom: 8px;
    font-size: 14px;
}

footer a {
    color: #3b82f6;
    text-decoration: none;
    margin-right: 15px;
    font-size: 14px;
    transition: 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

.footer-right a {
    margin-left: 15px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-right a {
        margin-left: 0;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .hero img {
        width: 180px;
        height: 180px;
    }
}

/* HEADER */
.page-header {
    text-align: center;
    padding: 60px 10%;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header p {
    color: #555;
}

/* BOUTONS */
.project-selector {
    padding: 40px 10%;
}

.buttons {
    text-align: center;
    margin-bottom: 40px;
}

.buttons button {
    padding: 12px 25px;
    margin: 0 10px;
    border: none;
    background-color: #e5e7eb;
    cursor: pointer;
    font-weight: 500;
    border-radius: 6px;
    transition: 0.3s;
}

.buttons button.active {
    background-color: #3b82f6;
    color: white;
}

.buttons button:hover {
    background-color: #2563eb;
    color: white;
}

/* SLIDER */
.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    width: 200%;
    transition: transform 0.5s ease-in-out;
}

.category {
    width: 50%;
    padding: 20px;
}

.category h2 {
    margin-bottom: 20px;
}

/* CARTES PROJETS */
/* CARTES PROJETS AVEC IMAGE */

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-content {
    padding: 20px;
    text-align: justify;
}

.project-content h3 {
    margin-bottom: 10px;
}

.project-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.project-link {
    text-decoration: none;
    color: #3b82f6;
    font-weight: 500;
    transition: 0.3s;
}

.project-link:hover {
    text-decoration: underline;
}

/* HOVER EFFECT */
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-card:hover img {
    transform: scale(1.05);
}

/* SECTION COMPÉTENCES */

.skills-section {
    padding: 80px 10%;
    background-color :grey;
    text-align: center;
}

.skills-section h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARTE */
.skill-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 200px;
    position: relative;
}

/* IMAGE */
.skill-card img {
    width: 70px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

/* TITRE */
.skill-card h3 {
    margin-bottom: 10px;
}

/* PARAGRAPHE */
.skill-card p {
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* HOVER EFFECT */
.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #555555;
}

.skill-card:hover img {
    transform: scale(1.5);
}

.skill-card:hover p {
    opacity: 1;
    max-height: 300px;
    margin-top: 10px;
    color: white;
}

.skill-card:hover h3 {
    color: white;
}




.likes-section {
    padding: 80px 10%;
    background-color :#AAAAAA;
    text-align: center;
}

.likes-section h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.likes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARTE */
.like-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 200px;
    position: relative;
}

/* IMAGE */
.like-card img {
    width: 70px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

/* TITRE */
.like-card h3 {
    margin-bottom: 10px;
}

/* PARAGRAPHE */
.like-card p {
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* HOVER EFFECT */
.like-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #555555;
}

.like-card:hover img {
    transform: scale(1.5);
}

.like-card:hover p {
    opacity: 1;
    max-height: 300px;
    margin-top: 10px;
    color: white;
}

.skill-card:hover h3 {
    color: white;
}


/* SECTION VIDÉO */

.video-section {
    padding: 80px 10%;
    text-align: center;
    background-color: #ffffff;
}

.video-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.video-section p {
    margin-bottom: 40px;
    color: #555;
}

.video-container {
    display: flex;
    justify-content: center;
}

video {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.video-container iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 12px;
}

