@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden; /* Empêcher le défilement horizontal */
	scroll-behavior: smooth; /* Défilement doux */
}

html {
    scroll-behavior: smooth;
}

/* Ajoutez ceci dans votre fichier CSS */
.transitionOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2c7b7b; /* Couleur de transition */
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.transitionOverlay-active {
  opacity: 1;
}


/* Style de la barre de défilement */
::-webkit-scrollbar {
    width: 8px; /* Largeur de la barre de défilement */
    background: transparent; /* Assurer qu'il n'y a pas de fond */
}

::-webkit-scrollbar-track {
    background: black; /* Pas de fond */
}

::-webkit-scrollbar-thumb {
    background: white; /* Couleur du curseur */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ombre */
    transition: width 0.3s ease, box-shadow 0.3s ease; /* Transition douce */
}

::-webkit-scrollbar-thumb:hover {
    width: 12px; /* Élargir lors du survol */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7); /* Augmenter l'ombre lors du survol */
}



.header {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    display: flex;
    justify-content: flex-start; /* Aligner à gauche */
    align-items: flex-end; /* Aligner en bas */
    text-align: left;
    color: white;
    padding: 20px; /* Ajout de la marge intérieure pour éloigner du bord */
    box-sizing: border-box; /* Inclure le padding dans la taille totale */
    overflow: hidden; /* Assurer que rien ne dépasse */
}

.header video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw; /* 120% de la largeur de l'écran */
    height: 120vh; /* 120% de la hauteur de l'écran */
    object-fit: cover; /* Maintenir le ratio de l'image tout en couvrant l'élément */
    z-index: -1;
    transform: translate(-50%, -50%);
}

.header .content {
    position: absolute;
    bottom: 80px; /* Ajuster la distance par rapport au bord inférieur */
    left: 80px; /* Ajuster la distance par rapport au bord gauche */
}

.header h2 {
    font-size: 1.2rem; /* Réduire la taille de la police */
    font-family: "Charm", serif;
    font-weight: 300; /* Utiliser Roboto Light */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);

}

.header h1 {
    font-size: 2.5rem; /* Réduire la taille de la police */
    font-family: "Cormorant SC", serif;
    font-weight: 700; /* Utiliser Roboto Bold */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}

.header button {
    margin-top: 10px;
    padding: 15px 35px; /* Augmenter la taille du padding */
    font-size: 0.7rem; /* Réduire la taille de la police */
    color: white;
    font-family: "Charm", serif;
    background-color: transparent; /* Fond transparent */
    border: 1px solid white; /* Bordure blanche */
    border-radius: 0px; /* Bords carrés */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transitions douces */
}

.header button:hover {
    background-color: white; /* Changer le fond au survol */
    color: black; /* Changer la couleur du texte au survol */
}

.section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    display: flex;
    justify-content: flex-start; /* Aligner à gauche */
    align-items: flex-end; /* Aligner en bas */
    text-align: left;
    color: white;
    padding: 20px; /* Ajout de la marge intérieure pour éloigner du bord */
    box-sizing: border-box; /* Inclure le padding dans la taille totale */
    overflow: hidden; /* Assurer que rien ne dépasse */
}

.section img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw; /* 120% de la largeur de l'écran */
    height: 120vh; /* 120% de la hauteur de l'écran */
    object-fit: cover; /* Maintenir le ratio de l'image tout en couvrant l'élément */
    z-index: -1;
    transform: translate(-50%, -50%);
}

.section .content {
    position: absolute;
    bottom: 80px; /* Ajuster la distance par rapport au bord inférieur */
    left: 80px; /* Ajuster la distance par rapport au bord gauche */
}

.section h2 {
    font-size: 1.2rem; /* Réduire la taille de la police */
    font-family: "Charm", serif;
    font-weight: 300; /* Utiliser Roboto Light */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}

.section h1 {
    font-size: 2.5rem; /* Réduire la taille de la police */
    font-family: "Cormorant SC", serif;
    font-weight: 700; /* Utiliser Roboto Bold */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}

.section button {
    margin-top: 10px;
    padding: 15px 35px; /* Augmenter la taille du padding */
    font-size: 0.7rem; /* Réduire la taille de la police */
	font-family: "Charm", serif;
    color: white;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
	background-color: transparent; /* Fond transparent */
    border: 1px solid white; /* Bordure blanche */
    border-radius: 0px; /* Bords carrés */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transitions douces */
}

.section button:hover {
    background-color: white; /* Changer le fond au survol */
    color: black; /* Changer la couleur du texte au survol */
	text-shadow: none;
}


/* Menu de Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent; /* Transparent par défaut */
    padding: 10px 20px;
    display: flex;
    justify-content: center; /* Centrer les éléments horizontalement */
    align-items: center;
    z-index: 10;
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8); /* Devient noir lorsque l'on scrolle */
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin: 0 15px;
    position: relative; /* Nécessaire pour le pseudo-élément */
}

.navbar a {
    color: white;
    font-family: "Cormorant SC", serif;
    font-weight: 600; /* Utiliser Roboto Bold */
    text-shadow: 0px 0px 1px rgba(0,0,0,0.9);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase; /* Utiliser des majuscules */
    transition: color 0.3s ease;
    position: relative; /* Nécessaire pour le pseudo-élément */
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px; /* Ajuster selon l'espace désiré en dessous du texte */
    left: 50%;
    background-color: white; /* Couleur de surlignage */
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
    left: 0;
}

.navbar a:hover {
    color: white;
}


/* Animation de fondu en entrée avec montée */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-out-down {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-out-down.is-hidden {
    opacity: 0;
    transform: translateY(20px);
}

/*FOOTER*/

footer {
    background-color: #2c7b7b;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-family: "Cormorant SC", serif;
    font-weight: 600; /* Utiliser Roboto Bold */
    text-shadow: 0px 0px 1px rgba(0,0,0,0.9);
    text-transform: uppercase; /* Utiliser des majuscules */
    font-size: 0.7rem; /* Taille de police plus petite */
}

footer span { font-size: 0.6rem; /* Taille de police encore plus petite */ color: #aaaaaa; /* Couleur grise pour plus de discrétion */ text-shadow: none; /* Supprimer l'ombre de texte pour plus de discrétion */ }

footer a {
    color: white;
    text-decoration: none;
    font-size: 0.7rem; /* Taille de police plus petite */
    margin: 0 15px;
    transition: color 0.3s ease;
    position: relative; /* Nécessaire pour le pseudo-élément */
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px; /* Ajuster selon l'espace désiré en dessous du texte */
    left: 50%;
    background-color: white; /* Couleur de surlignage */
    transition: width 0.3s ease, left 0.3s ease;
}

footer a:hover::after {
    width: 100%;
    left: 0;
}

/* SECTION ACCUEIL */
.section-accueil {
    position: relative;
    width: 100%;
    height: 100vh; /* Pleine hauteur d'écran */
    display: flex;
    justify-content: center; /* Centré horizontalement */
    align-items: center; /* Centré verticalement */
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Assurer que rien ne dépasse */
}

.section-accueil img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vh;
    object-fit: cover;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.section-accueil .content {
    position: relative; /* Changement de position pour centrer les éléments */
    bottom: auto; /* Pas besoin de positionner en bas */
    left: auto; /* Pas besoin de positionner à gauche */
}

.section-accueil h2 {
    font-size: 1rem; /* Taille de police réduite pour h2 */
    font-family: "Charm", serif;
    font-weight: 300; /* Roboto Light */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}

.section-accueil h1 {
    font-size: 4rem; /* Taille de police plus grande pour h1 */
    font-family: "Cormorant SC", serif;
    font-weight: 700; /* Roboto Bold */
    margin: 10px 0 0 0; /* Ajustement de la marge pour espacement */
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}

.section-accueil button {
    margin-top: 20px; /* Un peu plus d'espace au-dessus du bouton */
    padding: 15px 35px;
    font-size: 0.7rem;
    font-family: "Charm", serif;
    color: white;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
    background-color: transparent;
    border: 1px solid white;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-accueil button:hover {
    background-color: white;
    color: black;
    text-shadow: none;
}


.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}



/*SECTION IMAGE-TEXTE */
.section-photo-texte {
    display: flex;
    flex-wrap: nowrap; /* Empêcher l'enroulement sur les grands écrans */
    align-items: center;
    padding: 60px; /* Padding important en version PC */
    background-color: #2c7b7b;
    color: white; /* Texte blanc */
}

.section-photo-texte .image {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 20px; /* Padding autour de l'image */
}

.section-photo-texte .image img {
    width: 100%;
    height: auto;
}

.section-photo-texte .texte {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 20px; /* Padding autour du texte */
}

.section-photo-texte h1 {
    font-size: 3rem; /* Taille de police plus grande pour h1 */
    font-family: "Cormorant SC", serif;
    font-weight: 700; /* Roboto Bold */
    margin: 10px 0 0 0; /* Ajustement de la marge pour espacement */
}

.section-photo-texte h2 {
    font-size: 3rem; /* Taille de la police inspirée */
    font-family: "Charm", serif;
    font-weight: 700; /* Utiliser Roboto Bold */
    margin: 0 0 10px 0;
}

.section-photo-texte p {
    font-size: 1rem; /* Taille de la police */
    font-family: "Crimson Text", serif;
    font-weight: 300; /* Utiliser Roboto Light */
    margin: 0;

}

@media (max-width: 768px) {
    .section-photo-texte {
        flex-direction: column;
        padding: 20px; /* Padding inchangé en version mobile */
    }

    .section-photo-texte .image,
    .section-photo-texte .texte {
        max-width: 100%;
        padding: 10px; /* Padding inchangé en version mobile */
    }
}


/*SECTION TEXTE UNIQUEMENT */
.section-texte {
    padding: 60px 20%; /* 60px en haut et en bas, 20% à gauche et à droite */
    background-color: #2c7b7b;
    color: white; /* Texte blanc */
    font-family: 'Roboto', sans-serif;
}

.section-texte h1 {
    font-size: 1.5rem; /* Taille de police plus grande pour h1 */
    font-family: "Cormorant SC", serif;
    font-weight: 700; /* Roboto Bold */
    margin: 10px 0 0 0; /* Ajustement de la marge pour espacement */
}

.section-texte h2 {
    font-size: 1.5rem; /* Taille de la police inspirée par le titre de SpaceX */
    font-family: "Charm", serif;
    font-weight: 700; /* Utiliser Roboto Bold */
    margin: 0 0 20px 0; /* Marge en bas */
    text-align: left; /* Centrer le titre */
}

.section-texte p {
    font-size: 0.95rem; /* Taille de la police plus grande pour le paragraphe */
    font-family: "Crimson Text", serif;
    font-weight: 300; /* Utiliser Roboto Light */
    margin: 20px 0; /* Espacement entre les paragraphes */
    text-align: justify; /* Justifier le texte */
}

/*SECTION TEXTE LIGHT*/
.section-texte-light {
    position: relative;
    width: 100%;
    height: 100vh; /* Pleine hauteur d'écran */
    display: flex;
    justify-content: flex-start; /* Aligné à gauche */
    align-items: flex-end; /* Aligné en bas */
    text-align: left;
    color: white;
    padding: 20px; /* Ajout de la marge intérieure pour éloigner du bord */
    box-sizing: border-box; /* Inclure le padding dans la taille totale */
    overflow: hidden; /* Assurer que rien ne dépasse */
}

.section-texte-light img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw; /* 120% de la largeur de l'écran */
    height: 120vh; /* 120% de la hauteur de l'écran */
    object-fit: cover; /* Maintenir le ratio de l'image tout en couvrant l'élément */
    z-index: -1;
    transform: translate(-50%, -50%);
}

.section-texte-light .content {
    position: absolute;
    bottom: 80px; /* Ajuster la distance par rapport au bord inférieur */
    left: 80px; /* Ajuster la distance par rapport au bord gauche */
    max-width: 600px; /* Limiter la largeur du contenu */
}

.section-texte-light h1 {
    font-size: 2.5rem; /* Taille de la police */
    font-family: "Cormorant SC", serif;
    font-weight: 700; /* Utiliser Roboto Bold */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}

.section-texte-light p {
    font-size: 1rem; /* Taille de la police pour le paragraphe */
    font-family: "Crimson Text", serif;
    font-weight: 300; /* Utiliser Roboto Light */
    margin: 0;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
}


/*TIMELINE */
.timeline {
    position: relative;
    border-left: 1px solid rgba(229, 231, 235, 1);
    margin-left: 1rem;
    padding-left: 1rem;
	list-style-type: none; /* Masquer les puces */ 
}

.timeline .timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline .timeline-item:before {
    content: "";
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    background-color: rgba(229, 231, 235, 1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 1);
    top: 0.375rem;
    left: -1.5rem;
}

.timeline time {
    background-color: #3c8c8c; /* Une couleur légèrement différente du fond de page */
    color: #ffffff; /* Couleur du texte */
    font-size: 0.75rem; /* Taille du texte */
    font-weight: 500; /* Épaisseur du texte */
    margin-right: 0.5rem; /* Marge à droite */
    padding: 0.25rem 0.625rem; /* Espacement intérieur */
    border-radius: 0.375rem; /* Coins arrondis */
    border: 1px solid #2c7b7b; /* Bordure */
}

.timeline h3 {
	font-family: "Cormorant SC", serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.timeline p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: white;
    font-family: "Crimson Text", serif;
}

.timeline a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(17, 24, 39, 1);
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.timeline a:hover {
    background-color: rgba(243, 244, 246, 1);
    color: rgba(29, 78, 216, 1);
}



input[type=text], textarea, time, date, password {
  -webkit-appearance: none;
  width: 100%;
  padding: 12px;
  border: 1px solid white;
  font-family: "Crimson Text", serif;
  background-color: transparent;
  border-radius: 0px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: none;
  outline:none;
  color: white;
}


input[type=text]:focus {
  outline:3px solid white;
  border: none;
}



.button {
    margin-top: 20px; /* Un peu plus d'espace au-dessus du bouton */
    padding: 15px 35px;
    font-size: 0.7rem;
    font-family: "Charm", serif;
    color: white;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.9);
    background-color: transparent;
    border: 1px solid white;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: white;
    color: black;
    text-shadow: none;
}


.contactdiv label {
    font-family: "Crimson Text", serif;
	color: white;
    font-size: 0.9rem;
}


/* GALLERY */
/* GALLERY */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.gallery-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.gallery-image.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 90vw; /* Limite la largeur de l'image à 90% de la largeur de la fenêtre */
  max-height: 90vh; /* Limite la hauteur de l'image à 90% de la hauteur de la fenêtre */
  transform: translate(-50%, -50%);
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
  object-fit: contain; /* Conserve les proportions de l'image */
  border-radius: 12px; /* Ajoute le border-radius */
}



@media (max-width: 768px) {
  .gallery-container div {
    flex: 1 1 calc(50% - 1rem); /* 2 colonnes en version mobile */
    max-width: calc(50% - 1rem);
  }
}

