/* ================== */
/* VARIABLES & RESETS */
/* ================== */
:root {
    --primary: #4AD0B0;
    --secondary: #E65C4F;
    --dark: #0D0D0D;
    --light: #F0F0F0;
    --dark-lighter: #1a1a1a; /* Ajouté depuis votre config Tailwind */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Unifié avec la police de index.html */
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden; /* Ajouté depuis index.html */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ================== */
/* EFFETS VISUELS     */
/* ================== */

/* Effet "Code Rain" */
.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.code-column {
    position: absolute;
    top: -20%;
    animation: fall linear infinite;
    color: var(--primary);
    opacity: 0.3;
    font-family: 'Poppins', monospace;
    text-shadow: 0 0 8px rgba(74, 208, 176, 0.5);
    white-space: nowrap;
}

@keyframes fall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(150vh); }
}

@keyframes morph {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Effet "Glass" */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Effet "Glitch" */
.glitch {
    animation: glitch 3s ease-in-out infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

/* ================== */
/* HEADER             */
/* ================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

/* ================== */
/* HERO SECTION       */
/* ================== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(74, 208, 176, 0.15) 0%,
        rgba(13, 13, 13, 0.8) 70%,
        rgba(13, 13, 13, 1) 100%
    );
    z-index: -1;
}

.hero-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        rgba(74, 208, 176, 0.05) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.wave-divider .shape-fill {
    fill: var(--dark);
}

/* ================== */
/* KITSUNE GUIDE      */
/* ================== */
.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -25px;
    right: 20px;
    border-width: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.03) transparent transparent transparent;
}

/* Animation de flottement pour la mascotte */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}


    .biographie {
    margin-top: -3rem; /* Ajoutez une marge négative */
    padding: 3rem 0;
    background-color: var(--dark);
    position: relative; /* Assurez-vous que la section est au-dessus de la précédente */
    z-index: 1; /* Augmentez le z-index pour être sûr qu'elle est au-dessus */
}

	.biographie h2 {
	    text-align: center;
	    margin-bottom: 3rem;
	    color: var(--primary);
	    font-size: 2.5rem;
	}

	.bio-content {
	    display: flex;
	    gap: 2rem;
	    align-items: flex-start;
	}

	.bio-image {
	    flex: 0 0 300px;
	    text-align: center;
	}

	.bio-image img {
	    width: 100%;
	    max-width: 300px;
	    border-radius: 50%;
	    border: 3px solid var(--primary);
	    box-shadow: 0 0 20px rgba(74, 208, 176, 0.3);
	}

	.bio-text {
	    flex: 1;
	    display: flex;
	    flex-direction: column;
	    gap: 1.5rem;
	}

	.bio-intro {
	    background-color: rgba(240, 240, 240, 0.1);
	    padding: 1.5rem;
	    border-radius: 10px;
	    margin-bottom: 1rem;
	}

	.bio-text h3 {
	    color: var(--primary);
	    font-size: 1.8rem;
	    margin-bottom: 1rem;
	}

	.bio-cards {
	    display: grid;
	    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	    gap: 1.5rem;
	}

	.bio-card {
	    background-color: rgba(240, 240, 240, 0.1);
	    padding: 1.5rem;
	    border-radius: 10px;
	    transition: transform 0.3s ease;
	}

	.bio-card:hover {
	    transform: translateY(-5px);
	}

	.bio-card h4 {
	    color: var(--primary);
	    margin-bottom: 0.5rem;
	    display: flex;
	    align-items: center;
	}

	.bio-card h4 i {
	    margin-right: 0.5rem;
	}

	.bio-card p {
	    margin-bottom: 0;
	}

	@media (max-width: 768px) {
	    .bio-content {
		flex-direction: column;
	    }

	    .bio-image {
		margin-bottom: 2rem;
	    }

	    .bio-cards {
		grid-template-columns: 1fr;
	    }
	}



        :root {
            --primary: #4AD0B0;
            --secondary: #E65C4F;
            --dark: #0D0D0D;
            --light: #F0F0F0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background-color: var(--dark);
            color: var(--light);
            line-height: 1.6;
        }



	.container {
	    width: 90%;
	    max-width: 1200px;
	    margin: 0 auto;
	    padding: 0 15px; /* Ajoutez cette ligne */
	}

        header {
            background-color: rgba(13, 13, 13, 0.9);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }


    .nav-container {
	    display: flex;
	    justify-content: space-between;
	    align-items: center;
	    width: 100%; /* Ajoutez cette ligne */
	    max-width: 1200px; /* Ajoutez cette ligne */
	    margin: 0 auto; /* Ajoutez cette ligne */
	    padding: 0 15px; /* Ajoutez cette ligne */
	}
		.logo-container {
	    display: flex;
	    align-items: center;
	}

	.logo-image {
	    margin-right: 15px;
	}

	.logo {
	    font-size: 1.5rem;
	    font-weight: 700;
	    color: var(--primary);
	    margin-left: 0; /* Ajoutez cette ligne */
	}

        nav ul {
            display: flex;
            list-style-type: none;
        }

        nav ul li {
            margin-left: 2rem;
        }

        nav ul li a {
            color: var(--light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        nav ul li a:hover {
            color: var(--primary);
        }

        .hero {
            background: linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.7)),center/cover no-repeat;
            height: 65vh;
            display: flex;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            padding-bottom: 3rem;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }

    .projets {
            padding: 2rem 0;
            background-color: var(--dark);
            position: relative;
        }

        .projets h2 {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary);
        }

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

        .service-card {
            background-color: rgba(240, 240, 240, 0.1);
            padding: 2rem;
            border-radius: 10px;
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-card i {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        footer {
            background-color: var(--dark);
            color: var(--light);
            padding: 2rem 0;
            text-align: left;
        }

        .social-icons {
            margin-top: 1rem;
        }

        .social-icons a {
            color: var(--primary);
            font-size: 1.5rem;
            margin: 0 0.5rem;
            transition: color 0.3s ease;
        }

        .social-icons a:hover {
            color: var(--secondary);
        }

        /* Animations cyber */
        .cyber-lines {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .cyber-line {
            position: absolute;
            height: 100%;
            width: 1px;
            background-color:  var(--primary);
            opacity: 0.5;
            animation: cyber-line-animation 20s linear infinite;
        }

        .cyber-line:nth-child(1) {
            animation-duration: 7s;
        }

        .cyber-line:nth-child(2) {
            animation-duration: 14s;
        }

        .cyber-line:nth-child(3) {
            animation-duration: 18s;
        }

        .cyber-line:nth-child(4) {
            animation-duration: 20s;
        }
        @keyframes cyber-line-animation {
            0% {
                transform: translateY(-100%);
            }
            100% {
                transform: translateY(100%);
            }
        }

        .cyber-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .cyber-particle {
            position: absolute;
            width: 5px;
            height: 5px;
            background-color: var(--primary);
            border-radius: 50%;
            opacity: 0.7;
            animation: cyber-particle-animation 5s infinite linear;
        }

        @keyframes cyber-particle-animation {
            0% {
                transform: translate(0, 0);
                opacity: 0;
            }
            50% {
                opacity: 0.7;
            }
            100% {
                transform: translate(100px, 100px);
                opacity: 0;
            }
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg, transparent, var(--primary), transparent 30%);
            animation: rotate 4s linear infinite;
        }

        .service-card::after {
            content: '';
            position: absolute;
            inset: 3px;
            background: var(--dark);
            border-radius: 7px;
        }

        .service-card > * {
            position: relative;
            z-index: 2;
        }

        @keyframes rotate {
            100% {
                transform: rotate(1turn);
            }
        }

        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
            }

            nav ul {
                margin-top: 1rem;
            }

            nav ul li {
                margin-left: 1rem;
                margin-right: 1rem;
            }
        }

        .contact-link {
        color: var(--primary); /* Changez cette couleur selon vos préférences */
        text-decoration: none; /* Supprime le soulignement par défaut */
    }
    .contact-link:hover {
        text-decoration: underline; /* Ajoute un soulignement au survol */
    }

    /* ========== */
    /* MASCOTTE */
    /* ========== */

	.mascot-container {
	    position: absolute;
	    right: 5%;
	    bottom: 10%;
	    width: 150px;
	    height: 150px;
	    z-index: 3;
	}

	.mascot-image {
	    width: 100%;
	    height: 100%;
	    object-fit: contain;
	    filter: drop-shadow(0 0 10px rgba(74, 208, 176, 0.7));
	    animation: float 6s ease-in-out infinite; /* Animation ralentie à 6 secondes */
	}

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

	.contact-info {
	    text-align: center;
	    flex-grow: 1;
	}

	.mascot-container-footer {
	    width: 100px;
	    height: 100px;
	    flex-shrink: 0;
	}

	.mascot-container-footer.left {
	    margin-right: 20px;
	}

	.mascot-container-footer.right {
	    margin-left: 20px;
	}

	.mascot-image-footer {
	    width: 100%;
	    height: 100%;
	    object-fit: contain;
	    filter: drop-shadow(0 0 10px rgba(74, 208, 176, 0.7));
	    animation: float 6s ease-in-out infinite; /* Animation ralentie à 6 secondes */
	}

	@keyframes float {
	    0%, 100% {
		transform: translateY(0px);
	    }
	    50% {
		transform: translateY(-10px);
	    }
	}

	@media (max-width: 768px) {
	    .mascot-container {
		width: 100px;
		height: 100px;
		right: 50%;
		transform: translateX(50%);
		bottom: 5%;
	    }

	    .contact-content {
		flex-direction: column;
	    }

	    .mascot-container-footer {
		margin: 1rem 0;
	    }

	    .mascot-container-footer.left,
	    .mascot-container-footer.right {
		margin: 1rem 0;
	    }
	}
    /* =========== */
    /* TIMELINE */
    /* =========== */

    .experience {
    padding: 4rem 0;
    background-color: var(--dark);
    position: relative;
}

.experience h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 2.5rem;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--dark);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--primary);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--primary);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--primary);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary) transparent transparent;
}

.right::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: rgba(240, 240, 240, 0.1);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(74, 208, 176, 0.2);
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 1rem;
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid var(--primary);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--primary) transparent transparent;
    }

    .left::after, .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}
