/*  FONTS  */
    @font-face {
      font-family: 'AvantGarde1';
      src: url('../font/ITCAvantGardeStd-Bk.otf');
    }

    @font-face {
      font-family: 'AvantGarde2';
      src: url('../font/ITCAvantGardeStd-Demi.otf');
    }

    @font-face {
      font-family: 'AvantGarde3';
      src: url('../font/ITCAvantGardeStd-XLt.otf');
    }

/*  GLOBAL  */

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

body {
        background-color: white;
        background-image: url("../img/background.webp");
        background-size: 100vw 100vh;
        background-attachment: fixed;
        font-family: "AvantGarde1", Arial, sans-serif;
        color: white;
        line-height: 1.6;
      }

/*  TITRES  */
h1 {
      color: #283583;
      font-family: "AvantGarde2";
      font-size: clamp(3rem, 8vw, 6rem);
      letter-spacing: -1px;
    }

h2 {
      font-family: "AvantGarde3", sans-serif;
      font-weight: 200;
      color: rgba(255, 255, 255, 0.9);
      font-style: italic;
    }

/*  CONTENEUR PRINCIPAL  */
.container {
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              min-height: 100vh;
              background-color blur: rgba(255, 255, 255, 0.2);
              backdrop-filter: blur(15px);
              text-align: center;
            }
.top-navigation {
                  position: fixed;
                  top: 0;
                  left: 0;
                  right: 0;
                  width: 100%;
                  height: 80px;
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  padding: 0 40px;
                  z-index: 1000;
                  pointer-events: none; /* permet de cliquer à travers la nav */
                }

.nav-btn {
            pointer-events: all; /* réactive les clics sur les boutons */
            padding: 12px 30px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 25px;
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          }

.nav-btn:hover {
                  background: rgba(255, 255, 255, 0.2);
                  transform: translateY(-2px);
                  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
                }

.nav-btn-left {
                margin-right: auto;
              }

.nav-btn-right {
                  margin-left: auto;
                }

/*  SECTION ABOUT  */
.section {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4rem 10%;
          }

.content-wrapper {
                    background-color: rgba(255, 255, 255, 0.15);
                    border: 1px solid rgba(255, 255, 255, 0.3);
                    border-radius: 20px;
                    padding: 2rem;
                    max-width: 1000px;
                  }

/*  TEXTE  */
p {
    font-family: "AvantGarde3", "Roboto", sans-serif;
    font-weight: 0.9rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

.highlight {
              font-style: italic;
            }

/*  PROJETS  */

.project-item {
                display: grid;
                grid-template-columns: 1fr 1.3fr;
                align-items: center;
                gap: 60px;
                max-width: 1200px;
                margin: 150px auto;
              }

.project-item.reverse {
                        grid-template-columns: 1.3fr 1fr;
                      }


.project-text {
                padding: 40px;
              }

.project-number {
                  font-size: 14px;
                  color: whitesmoke;
                  letter-spacing: 2px;
                  margin-bottom: 10px;
                }

.project-text h3 {
                  font-size: 2.5rem;
                  font-weight: 400;
                  color: #ffffff;
                  margin-bottom: 15px;
                }

.project-text h4 {
                    font-size: 0.8rem;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                    color: #ccc;
                    margin-bottom: 10px;
                  }

/*  IMAGES  */

.project-image {
                height: 400px;
                display: flex;
                justify-content: center;
                align-items: center;
                overflow: hidden;
                border-radius: 10px;
                border: 1px solid rgba(255, 255, 255, 0.3);
              }

.project-image img {
                      width: 100%;
                      height: 100%;
                      object-fit: cover;
                      transition: filter 0.4s ease;
                    }

.project-gallery {
                    display: flex;
                    width: 100%;
                    height: 50vh; /* pleine hauteur visible */
                    margin: 0px;
                    padding: 0;
                    border-radius:10px;
                  }

.project-gallery img {
                      flex: 1; /* les deux prennent 50% chacune */
                      width: 50%;
                      height: 100%;
                      object-fit: cover; /* garde la bonne proportion sans étirer */
                      border: none;
                      margin: 10;
                      transition: transform 0.6s ease, filter 0.6s ease;
                      filter: brightness(1) contrast(1.05);
                      border-radius:10px;
                    }

.project-gallery img:hover {
                              transform: scale(1.03);
                              filter: brightness(1.15) contrast(1.1);
                              border-radius:10px;
                            }

/* Responsive */

@media (max-width: 768px) {
  .project-item {
                  grid-template-columns: 1fr;
                }

  .project-image {
                    height: 250px;
                  }
}