@font-face {
  font-family: 'Avenir Light';
  src: url(fonts/Avenir-Light.ttf);
}

@font-face {
  font-family: 'Avenir Regular';
  src: url(fonts/Avenir-Regular.ttf);
}

@font-face {
  font-family: 'Miller Display Light';
  src: url(fonts/Miller-Display-Light.ttf);
}

@font-face {
  font-family: 'Oriya MN Regular';
  src: url(fonts/Oriya-MN-Regular.ttf);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg-gold {
  background-color: rgb(194, 155, 63)
}
.bg-white {
  background-color: rgb(255, 255, 255)
}
.gold {
  color: rgb(194, 155, 63)
}

.bg-black{
  background-color: rgb(130,130,130);
}

.white{
  color: white;
}

header {
  width: 100%;
transform: translateY(-75px); 
  transition: transform 1s ease-out; 
  display: flex;
  align-items: center;
  height: 75px;
  background-color: rgba(0, 0, 0, 0.50);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 1s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-show{
  transform: translateY(0); 
}

#footer{
  background-color: rgb(130,130,130);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  color: white;
  font-family: 'Oriya MN Regular';
  text-decoration: none;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}


#footer a{
  font-family: 'Oriya MN Regular';
  font-size:  20px;
  text-decoration: none;
  letter-spacing: 0.23em;

}

#copyright{
  background-color: rgb(130,130,130);
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  color: white;
  gap: 10px;
  font-family: 'Avenir Light';
  font-size: 20px;
  padding-bottom: 10px;
  text-decoration: none;
  text-align: center;
}

#main-menu {
  flex: 1;
  text-align: center;
}

#lang-menu{
  flex: 1;
  text-align: center;
  font-family: 'Oriya MN Regular';
  text-decoration: none;
  align-items: center;
  gap: 10px;
  display: flex;
  justify-content: end;
  padding-right: 30px;
}
#lang-menu a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.lang-bar {
  width: 2px;
  height: 30px;
}

#logo {
  flex: 2; /* Take remaining space */
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 0; /* Default visible */
  font-family: 'Oriya MN Regular';
  color: white;
  font-size: 30px;
}





.show {
  opacity: 1!important; /* Hide middle part when not sticky */
}

main {
  margin-top: -100px;
  z-index: 500;
  width: 100%;
}



.line-1 {
  background-color: white;
  width: 30px;
  height: 2px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: relative;
  top: 13px;
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg); 
  transform-style: preserve-3d;
  transition: transform 0.5s ease; /* Smooth transition */
}
.line-1.open {
  transform: translate3d(0px, 8px, 0px) rotateZ(45deg); 
  transform-style: preserve-3d;
}




.line-2 {
background-color: white;
width: 30px;
height: 2px;
margin-left: auto;
margin-right: auto;
display: block;
position: relative;
top: 19px;
opacity: 1; 
transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
transform-style: preserve-3d;
transition: transform 0.5s ease; /* Smooth transition */
}
.line-2.open {
opacity: 0; 
transform: translate3d(-15px, 0px, 0px);
transform-style: preserve-3d;
}

.line-3 {
background-color: white;
width: 30px;
height: 2px;
margin-left: auto;
margin-right: auto;
display: block;
position: relative;
top: 25px;
transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg); 
transform-style: preserve-3d;
transition: transform 0.5s ease; /* Smooth transition */
  
}
.line-3.open {
transform: translate3d(0px, -8px, 0px) rotateZ(-45deg);
transform-style: preserve-3d;
}
.hamburger-icon {
cursor: pointer;
background-color: transparent;
width: 75px;
height: 75px;
padding-top: 18px;
position: relative;
overflow: visible;
}

.sidebar {
position: fixed;
top: 75px;
left: -40vw; /* Initially hidden */
width: 40vw;
height: calc(100vh - 75px);

/* background-image: url('images/bg-sidebar.jpg');
background-size: cover;
opacity: 0.6; */

display: flex;              /* Utilise un conteneur flexible */
flex-direction: column;     /* Dispose les enfants verticalement */
justify-content: center;    /* Centre les enfants verticalement */
align-items: center; 

background-color: rgba(0, 0, 0, 0.3);

transition: left 1s ease-in-out; /* Smooth slide-in animation */
z-index: 1000;
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}


.sidebar a {
font-family: 'Oriya MN Regular';
text-decoration: none;      /* Retire les soulignements des liens */             /* Couleur dorée pour le texte */
font-size: 28px;            /* Taille de la police */
margin: 10px 0;  
color: white;           /* Espacement vertical entre les liens */
transition: color 0.3s;     /* Animation pour changement de couleur */

transform: translateX(-100px); /* Déplace initialement les liens */               /* Rends les liens invisibles */
transition: transform 5s ease, /* Animation fluide */
}
.sidebar a:hover {
color: white;             /* Couleur dorée plus claire au survol */
}

.sidebar.open {
left: 0; /* Slide into view */
}
.sidebar.open a {
transform: translateX(0);  /* Amène les liens à leur position d'origine */
opacity: 1;                /* Rend les liens visibles */
}

.sidebar-overlay {
position: fixed;
top:0px;
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 1s ease-in-out;
background-image: url('images/image-1.png');
background-repeat: no-repeat;
background-size: cover;

z-index: 900;
pointer-events: none;
}

.sidebar.open ~ .sidebar-overlay {
opacity: 1;
pointer-events: auto;
}

#section-video {
height: 100vh; 
width: 100%;

object-fit: fill;
}


.video-logo {
position: absolute;
height: 100vh;
width: 100%;
z-index: 1;
top : 0px;
left: 0px;
color: rgb(255, 255, 255);
font-size: 100px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Oriya MN Regular';
opacity:0;
transition: opacity .3s ease-in-out;

}

.video-overlay {
  position: absolute;
  height: 100vh;
  width: 100%;
  z-index: 1;
  top : 0px;
  left: 0px;
  background-color: rgba(31, 29, 63, 0.75);
  
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  
  }

.video-logo-show {
opacity : 1;
}







.border-top-gold{
border-top: 6px solid rgb(255, 255, 255)
}
.full-section{
margin-top: 0px;
height: 100vh; 
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding:  50px 100px 30px 100px;
}

.full-section-image{
margin-top: 0px;
height: calc(100vh - 75px); 
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding:  50px 100px 30px 100px;
}
.image-row{
display: flex;
flex-direction: row;
justify-content: center;
gap: 30px;
padding-top: 30px;
padding-left: 50px;
padding-right: 50px;
align-items: stretch;
}

.image-row img {
width:550px;
}

.sub-title-r{
text-align: center;
font-family: 'Oriya MN Regular';
font-size: 24px;
font-weight: bold;
color:#444444;
text-align: right;
}

.sub-title-l{
text-align: center;
font-family: 'Oriya MN Regular';
font-weight: bold;
font-size: 24px;
color:#444444;
text-align: left;
}

.sub-title-p-l{
font-family: 'Avenir Light';
font-size: 16px;
text-align: left;
}
.sub-title-p-r{
font-family: 'Avenir Light';
font-size: 16px;
text-align: right;
}

.text-col{
display: flex;
flex-direction: column;
justify-content: center;
gap: 20px;
width:550px;
}



.full-section-min{
margin-top: 0px;
min-height: 100vh; 
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding:  50px 100px 30px 100px;
margin-bottom: 50px;
}

.full-section-width{
margin-top: 0px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding:  50px 350px 30px 350px;
margin-bottom: 50px;
}

.full-width{
width: 100%;
}

#project-list{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding-bottom: 30px;
padding-top: 50px;
gap: 20px;
}


.pt-50 {
padding-top: 50px;
}

.pb-30 {
padding-bottom: 30px;
}

.pb-50 {
padding-bottom: 50px;
}

.p-100{
padding: 100px;
}
#contact {
color: white;
}
#contact-div{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding-bottom: 30px;

}

.contact-button {
position: relative;           /* Nécessaire pour les pseudo-éléments */
display: inline-block; 
margin-top: 100px;                              /* Ajuste le bouton à son contenu */
padding: 10px 30px;           /* Espacement interne */
font-size: 16px;              /* Taille du texte */
color: white;                 /* Couleur du texte */
background: rgb(130,130,130);            /* Couleur de fond initiale */
border: 2px solid rgb(255,255,255);       /* Bordure dorée */
cursor: pointer;              /* Curseur interactif */
overflow: hidden;             /* Cache les parties dépassantes */
transition: color 0.3s ease;  /* Transition de couleur fluide */
}

.contact-button::before {
content: '';                              /* Nécessaire pour les pseudo-éléments */
position: absolute;                       /* Positionnement absolu */
top: 0;
left: 0;                              /* Débute hors du bouton */
width: 100%;                              /* Couvre la largeur complète */
height: 100%;                             /* Couvre la hauteur complète */
background: rgb(255,255,255);          /* Couleur dorée de l'animation */
transition: transform 0.5s ease;          /* Animation fluide */
transform: translateX(-100%);             /* Se cache à gauche */
z-index: 1;                               /* Place au-dessus du fond */
}

/* Changement au survol */
.contact-button:hover::before {
transform: translateX(0);                 /* Déplace la vague dorée */
}

.contact-button span {
position: relative;                       /* Place au-dessus de l'animation */
z-index: 2;                               /* Priorité sur ::before */
font-family: 'Oriya MN Regular';
font-size: 38px;
}

/* Texte au survol */
.contact-button:hover {
color: rgb(130,130,130);                             /* Texte devient noir */
}

#project-casablanca{
width: auto;
}
#project-marrakech{
width: auto;
}

.collaboration-list{
padding-top : 60px;
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: space-around;
gap: 20px;
}

.title {
text-align: center;
font-family: 'Miller Display Light';
font-size: 48px;
}

.text-p{
padding-top : 10px;
text-align: center;
font-family: 'Avenir Light';
font-size: 28px;
}

#image-1{

background-image: url('images/image-1.png');
background-size: cover;
/*transform: translateX(-100%); /* Starts off-screen to the left */
transition: transform 1s ease-out; /* Smooth sliding effect */
}



#image-2{
background-image: url('images/image-2.png');
background-size: cover;
/*transform: translateX(+100%);  Starts off-screen to the left */
transition: transform 1s ease-out; /* Smooth sliding effect */
}
#image-3{
background-image: url('images/image-3.png');
background-size: cover;
/*transform: translateX(-100%); /* Starts off-screen to the left */
transition: transform 1s ease-out; /* Smooth sliding effect */
}
#image-4{
background-image: url('images/image-4.png');
background-size: cover;
/*transform: translateX(+100%); /* Starts off-screen to the left */
transition: transform 1s ease-out; /* Smooth sliding effect */
}


@layer demo {
@keyframes scale-a-lil {
  from {
    scale: 1;
  }
  to {
    scale: .1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #section-video {
    animation: scale-a-lil linear both;
    animation-timeline: view();
    animation-range: 105vh 200vh;
  }
  .video-logo {
    animation: scale-a-lil linear both;
    animation-timeline: view();
    animation-range: 105vh 200vh;
  }
}
}


#notre-histoire{
  background-image: url('images/img-6.png');
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 150vh;
  margin-top: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding:  100px 150px 30px 150px;
  margin-bottom: 50px;
  }

  #notre-histoire .section-title{
    text-align: center;
    font-family: 'Miller Display Light';
    font-size: 48px;
  }
  #notre-histoire .section-text{
    padding-top : 10px;
    text-align: center;
    font-family: 'Avenir Light';
    font-size: 28px;
  }


  #notre-experience{
    background-image: url('images/img-14.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    margin-top: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:  100px 150px 30px 150px;
    margin-bottom: 50px;
    opacity: 0;
    transition: opacity 2s ease-in; 
    
    }
    #notre-experience-overlay{
      background-image: url('images/img-a.png');
      background-repeat: no-repeat;
      background-size: contain;
      background-color: white;
      background-position: center;
      min-height: 100vh;
      margin-top: 0px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding:  100px 150px 30px 150px;
      margin-bottom: 50px;
      position: absolute;
      top: 250vh;
      opacity: 1;
      transition: opacity 1s ease-in; 
      }

    #notre-experience .section-title{
      color: white;
      text-align: center;
      font-family: 'Miller Display Light';
      font-size: 48px;
    }
    #notre-experience .section-title-2{
      padding-top: 30px;
      color: white;
      text-align: center;
      font-family: 'Miller Display Light';
      font-size: 38px;
    }
    #notre-experience .section-text{
      color: white;
      padding-top : 10px;
      text-align: center;
      font-family: 'Avenir Light';
      font-size: 28px;
    }