/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}
main {
    background-color: #242429;
    min-height: 100vh; /* Pour s'assurer qu'il couvre toute la hauteur */
}

/* ============================
   Header Styles
   ============================ */
header {
    background-color: #0A0A0F;
    width: 100%;
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 500;
    font-size: 1rem;
}

.name {
    color: #F5F5F0;
}

.portfolio {
    color: #FFE900;
}

.winking-o {
    display: inline-block;
    animation: wink 4s infinite;
    transform-origin: center;
}

@keyframes wink {
    0%, 90%, 100% {
        transform: scaleY(1);
        color: #FFE900;
    }
    95% {
        transform: scaleY(0.1);
        color: #FF2D7A;
    }
}

/* ============================
   Navigation Desktop
   ============================ */
.navbar {
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-end;
}

.desktop-nav {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.desktop-nav a {
    color: #F5F5F0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FFE900;
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #FFE900;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* ============================
   Mobile Menu
   ============================ */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #F5F5F0;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

.mobile-nav.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav .nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav .nav-links li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-nav.active .nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav .nav-links a {
    color: #F5F5F0;
    text-decoration: none;
    font-size: 2rem;
    text-transform: uppercase;
}
/* ============================
   Quote Sections Styles
   ============================ */
/* Styles communs pour toutes les sections de citation */
.work-section,
.quote-section,
.yellow-quote {
    position: relative;
    overflow: hidden;
}

/* Conteneur de citation commun */
.quote-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

/* Styles spécifiques pour chaque version */
.work-section {
    background-color: #FF2D7A;
}

.quote-section {
    background-color: #00F0FF;
}

.yellow-quote {
    background-color: #FFE900;
}

/* Styles de texte */
.quote {
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.work-section .quote {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.quote-section .quote,
.yellow-quote .quote {
    color: #0A0A0F;
}

/* Styles des bulles communs */
.work-section::before,
.work-section::after,
.quote-section::before,
.quote-section::after,
.yellow-quote::before,
.yellow-quote::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

/* Position et taille des bulles */
.work-section::before,
.quote-section::before,
.yellow-quote::before {
    width: 200px;
    height: 200px;
    left: -100px;
    top: 20%;
    animation: floatBubble1 15s infinite ease-in-out;
}

.work-section::after,
.quote-section::after,
.yellow-quote::after {
    width: 300px;
    height: 300px;
    right: -150px;
    bottom: 10%;
    animation: floatBubble2 20s infinite ease-in-out;
}

/* Couleurs des bulles spécifiques */
.work-section::before,
.work-section::after {
    background-color: rgba(200, 35, 95, 0.6);
}

.quote-section::before,
.quote-section::after {
    background-color: rgba(0, 200, 255, 0.6);
}

.yellow-quote::before,
.yellow-quote::after {
    background-color: rgba(255, 220, 0, 0.6);
}

/* Animations */
@keyframes floatBubble1 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(30px) translateX(20px);
    }
}

@keyframes floatBubble2 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-40px) translateX(-25px);
    }
}
/* ============================
   Project Section
   ============================ */
   .project-section {
    background-color: #2A2A30;
    padding: 4rem 1rem;
    margin-bottom: 0; /* Pour s'assurer qu'il n'y a pas de marge en bas */
}

.project-title {
    text-align: center;
    margin-bottom: 3rem;
}

.project-title a {
    color: #F5F5F0;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #FFE900;
}

.project-container {
    max-width: 1400px;
    margin: 0 auto;
}

.project-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.project-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.small-item {
    width: 25%;
}

.main-item {
    width: 50%;
}

.main-item img {
    object-fit: contain;
    background-color: #f5f5f5;
}

.project-item:hover {
    transform: translateY(-5px);
}
/* ============================
   About Section
   ============================ */
   .bio-container {
    background-color: #303036;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    line-height: 1.6;
}

.bio-container p {
    color: #F5F5F0;
    margin-bottom: 1.5rem;
}

.bio-container p:last-child {
    margin-bottom: 0;
}
.photo-container {
    position: relative;
    width: 250px; /* Plus petit sur mobile */
    height: 250px;
    margin: 3rem auto;
}

/* Tablette */
@media screen and (min-width: 768px) {
    .photo-container {
        width: 280px;
        height: 280px;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .photo-container {
        width: 300px;
        height: 300px;
        margin: 4rem auto;
    }
}

.photo-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bulles animées */
.bubble {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(10px);
}

.bubble-1 {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 45, 122, 0.3); /* Rose */
    animation: floatBubble1 8s infinite ease-in-out;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 233, 0, 0.3); /* Jaune */
    animation: floatBubble2 10s infinite ease-in-out;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 240, 255, 0.3); /* Cyan */
    animation: floatBubble3 12s infinite ease-in-out;
}

@keyframes floatBubble1 {
    0%, 100% {
        transform: translate(-50px, -20px);
    }
    50% {
        transform: translate(-30px, 20px);
    }
}

@keyframes floatBubble2 {
    0%, 100% {
        transform: translate(200px, 20px);
    }
    50% {
        transform: translate(180px, -20px);
    }
}

@keyframes floatBubble3 {
    0%, 100% {
        transform: translate(100px, 150px);
    }
    50% {
        transform: translate(120px, 180px);
    }
}
.cta-container {
    text-align: center;
    margin: 3rem auto;
}

.cta-button {
    display: inline-block;
    background-color: #FFE900; /* Notre jaune fluo */
    color: #0A0A0F; /* Notre noir */
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 233, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 233, 0, 0.4);
    background-color: #fff000;
}

.cta-button:active {
    transform: translateY(0);
}

/* Animation pulse subtile */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-button {
    animation: pulse 2s infinite;
}
/* Contact Section Styles */
.contact-section {
    padding: 4rem 1rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    color: #F5F5F0;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.contact-email {
    color: #FFE900; /* Notre jaune fluo */
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #FF2D7A; /* Notre rose au hover */
}
.email-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}
.social-line {
    color: #F5F5F0; /* Texte blanc */
    font-size: 1.4rem;
    margin-top: 1.5rem; /* Espacement entre les lignes */
}

.social-link {
    color: #FFE900; /* Jaune fluo */
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #FF2D7A; /* Rose au hover */
}

.contact-link {
    color: #FFE900;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #FF2D7A;
}


.paper-plane {
    animation: flyPlane 3s ease-in-out infinite;
}

@keyframes flyPlane {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(5deg);
    }
    75% {
        transform: translateY(5px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Hover effect */
.email-container:hover .paper-plane {
    animation: flyPlaneFast 1.5s ease-in-out infinite;
}

@keyframes flyPlaneFast {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(10px) translateY(-5px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}
.footer {
    background-color: #0A0A0F;
    padding: 2rem 0;
    margin-top: 0; /* Pour s'assurer qu'il n'y a pas de marge en haut */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: #F5F5F0;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #FFE900;
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
}
.copyright {
    color: #F5F5F0;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}
/* Project Detail Styles */
.white-title {
    color: #F5F5F0 !important;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Espacement entre les images */
    max-width: 800px; /* Limite la largeur maximale */
    margin: 0 auto; /* Centre les images */
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.back-link-container {
    text-align: center;
    margin-top: 4rem;
}

.back-link {
    color: #FFE900;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #FF2D7A;
}
/* Style spécifique pour la page Tribu */
.tribu-description {
    padding-top: 0; /* Enlève le padding supérieur uniquement pour cette section */
}
/* Espacement spécifique pour la page Tribu */
.tribu-title {
    padding-bottom: 0; /* Enlève le padding en bas du titre */
    margin-bottom: 0; /* Enlève la marge en bas du titre */
}

.tribu-title .project-title {
    margin-bottom: 1rem; /* Réduit la marge sous le titre */
}
/* ============================
   Media Queries
   ============================ */
@media screen and (max-width: 768px) {
    .navbar {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .project-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .small-item,
    .main-item {
        width: 100%;
    }

    .mobile-nav .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-nav .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .mobile-nav .nav-links li:nth-child(3) { transition-delay: 0.3s; }
}
.project-title a {
    font-size: 2rem;
}


@media screen and (max-width: 480px) {
.project-title a {
    font-size: 1.75rem;
}
}

@media screen and (max-width: 375px) {
.project-title a {
    font-size: 1.5rem;
}
}

/* Responsive Typography */
@media screen and (min-width: 375px) {
    .logo { font-size: 1.15rem; }
}

@media screen and (min-width: 480px) {
    .logo { font-size: 1.25rem; }
}

@media screen and (min-width: 768px) {
    .logo { font-size: 1.5rem; }
}

@media screen and (min-width: 1024px) {
    .logo { font-size: 1.75rem; }
}

@media screen and (min-width: 1200px) {
    .logo { font-size: 2rem; }
}