@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap');

/* Réinitialisation globale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #4682b34f;
}

h2 {
    padding: 2%;
}

h1 {
    display: flex;
}

/* Conteneur principal */
.container {
    height: 100%;
    max-width: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.container::-webkit-scrollbar {
    display: none;
}

/* En-tête */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100;
}

.menu-container {
    position: relative;
}

.menu-toggle {
    background: #0000006b;
    border: none;
    border-radius: 5px;
    font-size: 40px;
    color: #59b4ffb9;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1200;
    transition: background 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover {
    background: #ffd9a871;
}

.menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: #5c5c5c93;
    color: #fff;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 1100;

    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul {
    list-style: none;
    padding: 0;
    gap: 100px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.menu ul li {
    margin-bottom: 20px;
}

.menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: block;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #ffd9a8;
}

/* Sections */
section {
    padding: 20px;
    margin-top: 100px;
}

#accueil {
    background-image: url(./src/accueil.png);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    flex-direction: column;
    position: relative;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
}

.text-container p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #ccc;
}

#accueil h1 {
    font-size: 10vw;
    letter-spacing: 1vw;
    color: white;
}

#accueil h3 {
    font-size: 5vw;
    letter-spacing: 1vw;
    color: #c5e3e25e;
}

#accueil-img {
    width: 20%;
    position: absolute;
    top: 30%;
    right: 10%;
    transform: translate(0, -50%);
}

.model-viewer-2 {
    width: 100%;
    height: 100%;
}

.viewer-container-2 {
    width: 100%;
    height: 107vh;
    top: -3%;
    right: 26%;
    z-index: 1;
    position: absolute;
    background: linear-gradient(15deg, #e62b4700 calc(35% - 0.5px), #f7f7f700 calc(35% + 0.5px));
}

#icon-scroll {
    position: absolute;
    bottom: 30px;
    width: 50px;
    animation: bounce 2s infinite;
}

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

/* Section Projet */
#projet {
    padding: 40px;
    background-image: url(./src/fond.png);
    text-align: center;
    color: #fff;
}

#projet h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.profile-header {
    margin: 2.5% 0;
}

.profile-header img {
    width: 150px;
    border-radius: 50%;
    border: 3px solid #85e9e4;
    background-color: #2584e9;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-header img:hover {
    transform: scale(1.05);
}

@keyframes rotateY {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.rotate-horizontal {
    animation: rotateY 1s linear infinite;
}

.profile-info {
    display: flex;
    justify-content: center;
    gap: 2%;
    flex-wrap: wrap;
    margin-bottom: 5%;
}

.profile-info .info-item {
    font-size: 20px;
}

.profile-info .info-item strong{
    font-size: 30px;
    color: #ffffff;
}

.profile-info .info-item span{
    font-size: 20px;
    color: #ffffff8e;
    margin: 18px;
}

.project-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
}
.btn-report {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    color: white;
}

.btn-report:hover {
    background: linear-gradient(135deg, #e0a800, #cc8400);
    transform: scale(1.05);
}


.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0056b3, #004494);
}

.btn-download {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.btn-download:hover {
    background: linear-gradient(135deg, #1e7e34, #155d27);
}

.project-video {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.project-video video {
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}



/* Section Outils */
#tools {
    background: #f0f4f8;
    padding: 20px 0;
    overflow: hidden;
    border-top: 2px solid #007BFF;
    border-bottom: 2px solid #007BFF;
    text-align: center;
}

#tools h2 {
    color: #007BFF;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.8rem;
}

.tools-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tools-track {
    display: flex;
    width: calc(250px * 10);
    animation: scrollTools 20s linear infinite;
}

.tool-logo {
    width: auto;              
    height: 100px;            
    margin: 0 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
    user-select: none;
    pointer-events: none;
}

@keyframes scrollTools {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

@media (max-width: 768px) {
    .tool-logo {
        height: 60px;          /* Taille réduite sur mobile */
        margin: 0 10px;
    }
}




/* Section Etudiant */
#etudiant {
    background-image: url(./src/fond.png);
    padding: 40px 20px;
    text-align: center;
}

#etudiant h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 5%;
}

.team-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5%;
    margin-top: 30px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%; /* rond pour un style "avatar" */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}
.team-member img:hover {
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}


.team-member p {
    font-weight: 600;
    color: #fffffff1;
    margin: 0;
}


@media (max-width: 600px) {
    .team-member {
        width: 100px;
    }

    .team-member img {
        width: 80px;
        height: 80px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding-top: 10%;
    color: #000000;
}

footer a {
    color: #000000;
    text-decoration: none;
    margin: 0 10px;
}

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