@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Roboto:wght@400&display=swap');


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

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

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



header {
    background-color: #333;
    padding: 15px;
}

nav .menu {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav .menu li {
    margin: 0 15px;
}

nav .menu a {
    text-decoration: none;
    color: #fff;
    font-size: 19px;
}


.navbar {
    color: #ff0000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.7);
}

.logo {
    text-shadow: -1px -1px 0 #fff,

        -1px 2px 0 #ffffff,

        1px 1px 10px #141414;
    color: #333;
    font-size: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 5;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    position: relative;
    padding: 10px 15px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
    background: linear-gradient(45deg, #a58fe9, #e37682);
    background-clip: text;
    -webkit-background-clip: text;
    box-shadow: 0 0 1px #FFA500;
}

.nav-links a:hover {
    color: transparent;
    background: linear-gradient(45deg, #ffd500, #f9ff47);
    background-clip: text;
    -webkit-background-clip: text;
    box-shadow: 0 0 15px #ffd500, 0 0 20px #ffd447;
}

.nav-links a:before,
.nav-links a:after {
    position: absolute;
    content: "";
    background: inherit;
    height: 100%;
    width: 100%;
    border-radius: 0;
    transition: 0.5s;
    transform-origin: center;
}

.nav-links a:before {
    transform: rotateZ(60deg);
}

.nav-links a:after {
    transform: rotateZ(-60deg);
}

.nav-links a:hover {
    border-radius: 50px;
}

.nav-links a:hover:before {
    border-radius: 50px;
}

.nav-links a:hover:after {
    border-radius: 50px;
}

@keyframes fire-effect {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px #FF4500, 0 0 15px #FF4500;
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px #FF4500, 0 0 30px #FF4500;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500;
    }
}

.burger {
    display: none;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.line {
    width: 100%;
    height: 5px;
    background-color: #FFA500;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.burger.active .line:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.burger.active .line:nth-child(2) {
    opacity: 0;
}

.burger.active .line:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

@media (min-width: 769px) {
    .burger {
        display: none;
    }
}


@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: fixed;
        top: 60px;
        right: -100%;
        background-color: rgba(0, 0, 0, 0.7);
        width: 200px;
        padding: 20px;
        border-radius: 5px;
        transition: right 0.5s ease;
        z-index: 10;
    }

    .nav-links.active {
        right: 20px;
    }

    .burger {
        display: flex;
    }
}

/*========================= WELCOME ===================================*/

.welcome-banner {
    height: 200px;
    background-image: url("../css/images/javaimg.jpg");
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.banner-text {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ffc400, 0 0 10px #d4ff00, 0 0 20px #ffe600;
    }

    100% {
        text-shadow: 0 0 10px #ffee00, 0 0 20px #ffff00, 0 0 30px #ffc400;
    }
}
@media screen and (max-width: 768px) {


    .welcome-banner {
        height: 150px;
    }

    .banner-text {
        font-size: 2.5rem;
    }

    #ProjetJAVA {
        flex-direction: column;
        padding: 10px;
    }

    .image-container,
    .contente-container {
        max-width: 100%;
        flex: none;
        margin-top: 20px;
    }

    .contente-container {
        margin-top: 20px;
    }

    .contente-container h2 {
        font-size: 24px;
    }

    .contente-container p {
        font-size: 14px;
    }

    .contente-container button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media screen and (max-width: 480px) {
    .banner-text {
        font-size: 1.8rem;
    }
}

/*========================= IMAGES PROJETS ===================================*/

#ProjetJAVA {
    font-family: 'Arial', sans-serif;
    padding: 40px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.presentation-container {
    margin-bottom: 30px;
    text-align: center;
}

.presentation-container h2 {
    color: #FFA500; 
    border-bottom: 2px solid #FFA500;
    padding-bottom: 10px;
    display: inline-block;
}

.presentation-container p {
    color: #cccccc;
    line-height: 1.8;
    margin-top: 20px;
}

.button-container {
    margin-top: 30px;
    padding: 12px 25px;
    font-size: 18px;
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.button-container button {
    background-color: #ffffff; 
    color: rgb(0, 0, 0);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin: 5px;
}

.button-container button:hover {
    background-color: #e69100;
    transform: scale(1.05);
}

.content-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.image-container {
     max-width: 45%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; 
}

.image-container img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.image-container img:hover {
    transform: scale(1.05);
}

.image-container h3 {
    margin-top: 15px;
    color: #EE82EE;
    font-size: 1.2em;
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.screenshot-item {
    text-align: center;
    flex: 1;
    max-width: 30%;
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

.screenshot-item p {
    color: #cccccc;
    font-size: 1em;
}

.screenshot-item p {
    font-size: 14px;
    color: #333; 
    margin-top: 8px; 
    font-weight: bold; 
}

@media (max-width: 768px) {
    .content-row, .screenshots-container {
        flex-direction: column;
        align-items: center;
    }

    .image-container, .screenshot-item {
        max-width: 100%;
    }
}


/*=========================== STYLE TRAVAIL-Acc ===========================*/



#travail-accompli {
    padding: 40px 20px;
    background-color: #151414;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
    z-index: 10; 
}

.container {
    text-align: center;
    display: grid;
    gap: 25px;
    padding: 30px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: auto;
}

.item {
    border: 1px solid #3a3a3a;
    padding: 20px;
    border-radius: 10px;
    background-color: #2c2c2c;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.item:hover {
    transform: translateY(-8px);
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.4);
}

.item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(94, 53, 177, 0.1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.item:hover::before {
    opacity: 0.2;
}

.item h3 {
    margin-top: 0;
    color: #ffa726; 
    position: relative;
    z-index: 2;
}

.item p {
    margin: 15px 0 0;
    color: #d0d0d0;
    position: relative;
    z-index: 2;
}

.title {
    grid-column: span 3;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #ffa726;
    border-bottom: 3px solid #6a1b9a;
    padding-bottom: 15px;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 50px;
    height: 3px;
    background: #ffa726; 
    transform: translateX(-50%);
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .title {
        grid-column: span 2;
        font-size: 1.5em;
    }
}

@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }

    .title {
        grid-column: span 1;
        font-size: 1.3em;
    }
}

/*=========================== STYLE FOOTER GLOBAL ===========================*/

.custom-footer {
    --background-color: #1a1a1a;
    --text-color: #f5f5f5;
    --icon-color: #ffcc00;
    --divider-color: #48484b;
    --link-color: #f5f5f5;
    --link-hover-color: #9b59b6;
    --social-link-color: #ffffff;
    --social-link-hover-color: #ffcc00;
    --final-background-color: #333333;
    --final-text-color: #ffcc00;
  
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 30px 15px;
    font-family: 'Poppins', sans-serif;
    margin-top: 90px;
  }
  
  .custom-footer .footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    gap: 10px;
  }
  
  .custom-footer .contact-item {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
  }
  
  .custom-footer .contact-item i {
    font-size: 18px;
    color: var(--icon-color);
  }
  
  .custom-footer .footer-divider {
    width: 90%;
    border-top: 1px;
    margin: 15px auto;
    border-color: var(--divider-color);
  }
  
  .custom-footer .footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    gap: 15px;
  }
  
  .custom-footer .footer-links,
  .custom-footer .footer-social {
    width: 45%;
    min-width: 220px;
  }
  
  .custom-footer .footer-links h4,
  .custom-footer .footer-social h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--icon-color);
  }
  
  .custom-footer .footer-links ul,
  .custom-footer .footer-social ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
  }
  
  .custom-footer .footer-links ul li a,
  .custom-footer .footer-social ul li a {
    font-size: 14px;
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .custom-footer .footer-links ul li a:hover,
  .custom-footer .footer-social ul li a:hover {
    color: var(--link-hover-color);
  }
  
  .custom-footer .footer-social ul li a {
    font-size: 20px;
    color: var(--social-link-color);
    transition: 0.3s;
  }
  
  .custom-footer .footer-social ul li a:hover {
    color: var(--social-link-hover-color);
  }
  
  .custom-footer .footer-final {
    margin-top: 20px;
    background-color: var(--final-background-color);
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    color: var(--final-text-color);
  }
  
  @media (max-width: 768px) {
    .custom-footer .footer-contact {
      flex-direction: column;
      gap: 10px;
    }
  
    .custom-footer .footer-middle {
      flex-direction: column;
      gap: 20px;
    }
  
    .custom-footer .footer-links,
    .custom-footer .footer-social {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .custom-footer .footer-links ul,
    .custom-footer .footer-social ul {
      gap: 10px;
    }
  
    .custom-footer .contact-item {
      font-size: 12px;
    }
  
    .custom-footer .contact-item i {
      font-size: 16px;
    }
  }
  
.heuristique-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    align-items: center; 
}

.heuristique-content {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: left; 
}

.heuristique-content h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
}

.heuristique-content p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

.heuristique-image {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.heuristique-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.screenshots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: space-between;
}

.screenshot-item {
    flex: 1;
    max-width: 30%;
    text-align: center;
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.screenshot-item p {
    font-size: 14px;
    color: #cccccc;
    margin-top: 10px;
}


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

    .heuristique-content, .heuristique-image {
        max-width: 100%;
    }

    .screenshots-container {
        flex-direction: column;
    }

    .screenshot-item {
        max-width: 100%;
    }
}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  