@charset "UTF-8";
/* CSS Document */

* {
  box-sizing: border-box;
}

body {
  margin: 10px;
font-family: 'Space Grotesk', sans-serif;
}

/* -------------------- */
/* HEADER FIXE */
/* -------------------- */
.site-header {
  position: fixed;
  top: 0px;
  left: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  justify-content: space-between; 
  align-items: flex-start;
  background: transparent;
  padding: 0;
}


.logo {
  font-weight: normal;
  white-space: nowrap;
  font-size: clamp(90px, 20vw, 100px); 
  max-width: 100%;
  margin: 0;
  line-height: 1; 
  overflow-wrap: break-word; /* évite que le texte déborde */
}

.about {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-top: 10px;
}


/* -------------------- */
/* LIEN À PROPOS */
/* -------------------- */
.about-link {
  font-size: 32px; /* taille fixe desktop */
  text-decoration: none;
  color: black;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.about-link:hover {
  color: pink;
}


/* -------------------- */
/* FOOTER FIXE */
/* -------------------- */
.site-footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between; /* email à gauche, numéro à droite */
  align-items: center;
  background: transparent;
  font-size: 26px; /* desktop */
  z-index: 1000;
}

.site-footer .email,
.site-footer .phone {
  color: black;
  text-decoration: none;
}

/* -------------------- */
/* RESPONSIVE : MOBILE */
/* -------------------- */
@media (max-width: 600px) {
  /* Header : logo full width + lien dessous */
  .site-header {
    flex-wrap: wrap-reverse;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    font-size: 20vw; /* prend quasi toute la largeur */
    max-width: 100%;
    display: block;
    text-align: left;
  }

  .about-link {
    font-size: 32px;
    align-self: flex-end;
    margin-top: 0;
  }

  /* Footer : centré, numéro caché */
  .site-footer {
    justify-content: center;
  }

  .site-footer .phone {
    display: none; /* caché en mobile */
  }

  .site-footer .email {
    text-align: center;
    font-size: 7vw;
  }
}


/* -------------------- */
/* MARGE HOMEPAGE */
/* -------------------- */
.homepage {
  margin-top: 130px; /* espace sous ton header fixe */
}

@media (max-width: 600px) {
  .homepage {
    margin-top: 150px; /* ou la valeur que tu veux */
  }
}

/* -------------------- */
/* Grille principale */
/* -------------------- */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;           /* espace entre les photos */
}

/* -------------------- */
/* Chaque photo */
/* -------------------- */
.photo {
  flex: 1 1 calc(33.333% - 10px);
}

.photo img {
  width: 100%;
  height: auto;   /* garde les proportions originales */
  object-fit: contain; /* évite le recadrage */
}

/* -------------------- */
/* Responsive mobile : 1 colonne */
/* -------------------- */
@media (max-width: 600px) {
  .photo {
    flex: 1 1 100%; /* chaque photo prend toute la largeur */
  }
}

/* -------------------- */
/* Voile rose au hover pour desktop */
/* -------------------- */
.photo a {
  position: relative;
  display: block;
  overflow: hidden;
}

.photo a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 192, 203, 0);
  transition: background-color 0.1s ease;
  pointer-events: none;
}

.photo a:hover::after {
  background-color: rgba(255, 192, 203, 0.4);
}

/* -------------------- */
/* Désactiver sur mobile */
/* -------------------- */
@media (max-width: 600px) {
  .photo a::after {
    display: none;
  }
}

/* -------------------- */
/* PAGE ABOUT */
/* -------------------- */
.about-content {
  position: absolute;
  top: 00px;         /* espace depuis le haut */
  left: 10px; 
  right: 10px;        /* bord gauche */
  max-width: 750px;   /* pour garder une bonne lisibilité */
  text-align: justify;   /* alignement du texte */
  font-size: 17px;
  line-height: 1.2;
}

/* -------------------- */
/* PAGE ABOUT - RESPONSIVE MOBILE */
/* -------------------- */
@media (max-width: 600px) {
  .about-content {
    position: absolute; 
    right: 10px;       /* revient au flux normal sous le header */
    max-width: 100%;         /* prend toute la largeur dispo */
    text-align: justify;        /* alignement à gauche sur mobile */
    font-size: 17px;         /* un peu plus petit pour écran réduit */
    line-height: 1.2;        /* plus aéré pour lisibilité */
  }
}


/* -------------------- */
/* PAGE PROJET (scroll horizontal) */
/* -------------------- */

.project-gallery {
  display: flex;
  flex-direction: row;
  gap: 10px; /* espace entre chaque image */
  overflow-x: auto; /* permet le scroll horizontal */
  scroll-behavior: smooth;
  padding: 10px;
  height: 100vh; /* pleine hauteur de l’écran */
  align-items: center;
  background-color: white;
  padding-top: 80px; /* 🔥 espace en haut */
}

.image-block {
  flex: 0 0 auto; /* empêche les blocs de se redimensionner */
  width: 700px; /* largeur fixe pour chaque image */
  height: 490px; /* même hauteur pour toutes */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent; /* plus de fond noir */
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* garde les proportions */
}

.scroll-text {
  font-size: 18px;
  color: black;
  margin: 0 15px; /* espace entre le mail et le téléphone */
  white-space: nowrap;
}

@media (max-width: 600px) {
  .project-gallery {
    flex-direction: column;
    overflow-x: hidden;
    height: auto;
    margin-top: 150px;
    padding: 0%;
    gap: 0; /* supprime tout gap */
  }

  .image-block {
    width: 100%;
    height: auto;
    margin: 0; /* supprime tout margin */
    padding: 0; /* supprime tout padding */
  }

  .image-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block; /* supprime l’espace blanc en dessous des images */
  }

  .scroll-text {
    display: none;
  }
}



