/*
to do list 

-color and design and font

-make the Projets section



*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
body {
  height: 100hv;
  background-color: #a39986;
  background-image: url("");
}
body.modal-open {
  overflow: hidden;
}
li {
  list-style: none;
  cursor: pointer;
}
a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}
.navBarA:hover {
  color: orange;
}

/*Header*/
header {
  position: sticky;
  padding: 0 2rem;
  top: 0;
  z-index: 3;
}
button{
  cursor: pointer;
}
.navbar {
  position: relative;
  width: 100%;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}
.navbar .links {
  display: flex;
  gap: 2rem;
}

.navbar .toggle_btn {
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.action_btn {
  background-color: orange;
  color: #fff; /*culoarea la text*/
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}
.action_btn:hover {
  scale: 1.05;
  color: #fff; /*culoarea la text*/
}
.action_btn:active {
  scale: 0.95;
}
/*Dropdown menu*/
.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  width: 300px;
  background: rgba(225, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
  height: 240px;
}

.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown_menu .action_btn {
  width: 100%;
  display: flex;
  justify-content: center;
}

/*hero*/

section#hero {
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
#hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.backgoundLogo {
  align-items: center;
  place-items: center;
  justify-items: center;
  justify-content: center;
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 100%;
}
.imgLogo {
  width: auto;
  height: 100%;
}
.divIntroduction {
  margin: 10%;
}
.introduction {
  text-decoration: none;
  color: black;
  font-size: 2rem;
  font-family: 'Roboto Slab', serif;
}
.sevices {
  padding: 50px 0;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  background-color: #212121;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.column {
  display: flex;
  width: 100%;
  padding: 0 0 2em 0;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.serviceName {
  font-size: 20px;
  font-weight: 600;
  color: orange;
  margin: 1em 0;
  transition-duration: 0.4s;
}
.serviceDescription {
  color: #fdfdfd;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  transition-duration: 0.7s;
}
.icon-wrapper {
  background-color: #4d85df;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust the transparency as needed */
  display: none;
  z-index: 4; /* Place the overlay above other elements except the modal */
}
#modal1,
#modal2,
#modal3,
#modal4,
#modal5,
#modal6,
#modal7,
#modal8,
#modal9 {
  display: flex;
}
.exitIconServices {
  z-index: 7;
  height: fit-content;
  position: absolute;
  top: 5%;
  right: 5%;
  cursor: pointer;
  justify-items: center;
  align-items: center;
  font-size: 100%;
  font-size: 1.5em;
}
.expand {
  z-index: 2;
  position: absolute;
  width: fit-content;
  top: 3%;
  right: 3%;
  font-size: 1.25em;
}
.expandIcon {
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
}
.modal {
  position: fixed;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  place-content: center;
}
.serviceExpanded {
  z-index: 6;
  width: auto;
  height: 100%;
  color: #000000;
  display: flex;
  place-content: center;
  align-items: center;
  border-radius: 8px;
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);  
}
.imgServicesDiv {
  width: 100%;
  height: auto;
  display: block;
  place-content: center;
  align-items: center;
}
/*delete
.ServiceExpandDescription {
  margin-top: 5%;
  margin-bottom: 5%;
  position: relative;
  width: 70%;
  height: auto;
  padding: 0 3em 0 3em;
  display: grid;
  box-sizing: border-box;
  justify-self: center;
  justify-content: center;
  align-items: center;
  place-content: top;
}
.expandDescription {
  margin: 0;
  padding: 0;
  color: #1c2833;
  height: 100%;
  width: 100%;
  font-family: "Montserrat";
  font-size: 1.8vw;
  font-weight: 600;
}
*/
/*imagine changer*/
.slider {
  width: 100%;
  height: auto;
  margin: 0;
  top: 0;
}
[class^="slider"] {
  position: relative;
}
.list {
  position: relative;
  top: 0;
  left: 0;
  height: auto;
  width: 100%;
  display: grid;
  transition: 0.75s;
  align-items: center;
  place-items: center;
}
[class^="list"]  {
  position: relative;
  top: 0;
  left: 0;
  height: auto;
  width: 100%;
  display: grid;
  transition: 0.75s;
  align-items: center;
  place-items: center;
  margin: 3em 0;
}
.img {
  max-height: 80vh;
  max-width: 80vw;
}
.list img {
  display: flex;
  z-index: 2;
  width: 100%;
  height: auto;
}
.buttons {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
.buttons button {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  background-color: rgba(7, 6, 6, 0.548);
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}
.buttons button:hover {
  background-color: rgba(85, 73, 73, 0.692);
}
[class^="dots"]  {
  position: absolute;
  bottom: 0;
  color: #fff;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
[class^="dots"] li {
  list-style: none;
  width: 0.75em;
  height: 0.75em;
  background-color: #fff;
  margin: 1.25em;
  border-radius: 20px;
  transition: 0.75s;
}
[class^="dots"] li.active {
  width: 2em;
}
.sevices {
  height: auto;
}

.Projets {
  background-color: rgba(136, 109, 41, 0.445);
  padding: 1.5em 0 1.5em 0;
}
.NosRealisation {
  display: grid;
  justify-content: center;
  align-items: space-between;
  margin: 2em 15% 2em 15%;
}
.projetsTitle {
  display: flex;
  justify-content: center;
}
.PrjTittle {
  font-size: 6rem;
  color: #000000;
}

.projetsDes {
  width: 70%;
  justify-self: center;
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  padding: 25px 0 50px 0;
}
.Realisation {
  font-size: 2em;
  font-family: 'Roboto', serif;
  font-weight: 500;
}

.LinkToProjets {
  font-size: 1em;
  color: orange;
}
.LinkToProjets:hover {
  color: rgb(216, 140, 0);
}

/*
#contact Section
*/
.contact {
  background: #494747;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0 50px 0;
}
.contactTitle{
  font-size: 6rem;
  color: orange;
  padding: 25px 0 75px 0;
}
.contact-info{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.infoCard{
  background: #2f3542;
  padding: 0 20px;
  margin: 0 10px;
  width: calc(33.33% - 20px);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  
}
.infoCard-icon{
  font-size: 28px;
  background: #ff6348;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  transition: 0.3s linear;
}
.infoCard:hover .infoCard-icon{ 
 background: none;
 color: #ff6348;
 transform: scale(1.3);
}
.infoCard p{
  margin-top: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  max-height: 0;
} 

.card {
  position: relative;
  max-width: 350px;
  min-width: 200px;
  width: 100%;
  max-height: 250px;
  min-height: 200px;
  height: 100%;
  background: #212121;
  box-shadow: rgba(0, 0, 0, 0.4) 10px 20px 30px, rgba(0, 0, 0, 0.3) 10px 1px 53px 3px, rgba(1, 0, 0, 0.2) 0px -1px 3px inset;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-weight: bolder;
  color: #fff;
}
.card:hover {
  transform: scale(1.021);
}

.card:active {
  transform: scale(0.95) rotateZ(1.1deg);
}
.card:hover .icon-wrapper {
}
.card:hover .serviceName {
  color: #fff;
  transition-duration: 0.7s;
}
.card:hover .serviceDescription {
  transition-duration: 0.4s;
  color: orange;
}
.inner-card{
  padding: 0 30px;
}








/*responsive design*/



@media screen and (min-width: 1200px) {
  .expandDescription {
    font-size: 1.25vw;
  }
  .imgServicesDiv {
    height: auto;
    display: block;
    justify-self: center;
  }
}
@media screen and (min-width: 768px) {
  .sevices {
    padding: 50px 2em;
  }
  .column {
    flex: 0 50%;
    max-width: 50%;
  }
}
@media screen and (min-width: 1200px) {
  .sevices {
    padding: 50px 5%;
  }
  .column {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
@media screen and (min-width: 1600px) {
  .sevices {
    padding: 50px 15em;
  }
}






  

@media (max-width: 992px) {
  .navbar .links,
  .navbar .action_btn {
    display: none;
  }
  .navbar .toggle_btn {
    display: block;
  }
  .dropdown_menu {
    display: block;
  }
  .introduction {
    font-size: 1.75rem;
  }
  .expandDescription {
    font-size: 2.8vw;
  }
  .imgServicesDiv {
    width: 100%;
    height: auto;
    display: block;
  }
  .ServiceExpandDescription {
    width: 70%;
    height: 30%;
    margin-bottom: 15%;
    padding: 0 3em 0 3em;
    border: 0px solid #424949; /* corrected border property */
  }
  .contact-info{
    flex-direction: column;
  }
  .infoCard{
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
  }
  .card {
    position: relative;
    width: 300px;
    height: 200px;
    perspective: 1000px;
  }
}
@media (max-width: 650px) {
  section#hero {
    height: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
  }
  .introduction {
    font-size: 1.5rem;
  }
  .expandDescription {
    font-size: 3vw;
  }
}
@media (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}
@media (max-width: 400px) {
  section#hero {
    height: calc(100vh - 500px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
  }
  .introduction {
    font-size: 1.25rem;
  }
  .imgServicesDiv {
    width: 100%;
    height: auto;
  }
  .ServiceExpandDescription {
    width: 80%;
    height: 45%;
    padding: 0 1.5em 0 1.5em;
  }
  .expandDescription {
    font-size: 4vw;
  }
}
