/* CSS Base */

:root {
  --color-primary: #917758;
  --color-secondary: #3c2915;
  --color-primary-light: #f5eee6;
}

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

body {
  font-family: 'Poppins', sans-serif;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 15px;
  right: 15px;
}

.menu-toggle img {
  width: 100%;
  height: auto;
}

/*************
*   HOME
*************/
.home {
  position: relative;
  background-size: cover;
  background-image: url(../images/bg-home.jpg);
  height: 100vh; /* viewport height */
  background-attachment: fixed;
}

.home .header {
  padding: 30px 0;
}

.home .header .nav {
  display: flex;
  justify-content: center;
}

.home .header .nav ul {
  display: flex;
  list-style: none;
}

.home .header .nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
}

.home .header .nav ul li a {
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  padding: 20px;
}

.home .header .nav ul li a:hover {
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.home .header .logo {
  margin: 0 30px;
}



/*****************
*  HOME - BANNER
******************/
.home .banner {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 270px;
  width: 770px;
  margin-left: -385px;
  margin-top: -75px;

  color: white;
  text-align: center;
}

.home .banner span {
  display: block;
}

.home .banner .slogan1 {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
}

.home .banner h1 {
  font-size: 120px;
}

.home .banner .slogan2 {
  margin-bottom: 15px;
}



/***********
*  ABOUT
************/
.about {
  background-color: var(--color-primary);
}

.about .container {
  display: flex;
}

.about .timing {
  position: relative;
  top: -50px;
  width: 33%;
  padding: 20px;
  background-image: url(../images/brush-big.jpg);
}

.about .timing .overlay {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 40px 20px;
}

.about .timing .icon-cut {
  width: 50px;
}


.about .timing h3 {
  color: var(--color-primary);
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-primary);
  width: fit-content;
  margin: 0 auto 30px auto;
  font-size: 30px;
}

.about .timing .text {
  margin: 10px 0;
}

.about .timing .text:after {
  content: '•';
  display: block;
  font-size: 25px;
  color: white;
  margin-top: 10px;
}

.about .timing .text:last-of-type:after {
  content: '|';
}

.about .timing .text h4 {
  color: grey;
  font-weight: 400;
  font-size: 15px;
}

.about .timing span {
  color: white;
  font-size: 15px;
  display: block;
}


.about .experience {
  width: 66%;
  color: white;
  margin-left: 7%;
  margin-top: 100px;
}

.about .experience h2 {
  font-weight: 400;
  font-size: 40px;
}

.about .experience h2:after {
  display: block;
  content: '';
  width: 100px;
  height: 3px;
  background-color: #a38f78;
  margin: 20px 0;
}

.about .experience .text {
  display: flex;
  justify-content: space-between;
}


.about .experience .text p {
  margin-bottom: 20px;
  font-weight: 100;
  font-size: 17px;
}



/***********
* SERVICES
************/
.services {
  padding: 100px 0;
  text-align: center;
  background-color: var(--color-primary-light);
}

.services h2 {
  color: var(--color-secondary);
  font-weight: 400;
  font-size: 50px;
  margin-bottom: 10px;
}

.services .boxes {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.services .box {
  border: 3px solid var(--color-primary);
  padding: 50px 40px;
  margin: 30px;
}

.services .box h4 {
  color: var(--color-secondary);
  margin-top: 30px;
}

.services .box p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 25px;
}



/**************
* APPOINTMENT
***************/
.appointment {
  padding: 100px 0;
  background-color: var(--color-primary);
  height: 100vh;
  background-image: url(../images/chair-ic.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 300px;
}

.appointment h2 {
  color: var(--color-primary-light);
  font-weight: 400;
  font-size: 50px;
  margin-bottom: 10px;
  text-align: center;
}

.appointment img {
  margin: 0 auto;
  display: block;
}


.appointment form {
  margin-top: 80px;
}

.appointment .personal-data {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.appointment .input-wrapper {
  width: 100%;
  margin-right: 50px;
}

.appointment .input-wrapper:last-of-type {
  margin-right: 0;
}

.appointment label {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--color-primary-light);
}

.appointment .personal-data input,
.appointment .personal-data select,
.appointment textarea {
  padding: 10px;
  outline: none;
  border: none;
  width: 100%;
  border-radius: 3px;
}

.appointment textarea {
  height: 100px;
}

.appointment button {
  background-color: var(--color-secondary);
  color: white;
  padding: 15px 40px;
  border: none;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: bold;
}


/**************
* GALLERY
***************/
.gallery {
  padding: 100px 0;
  background-color: var(--color-primary-light);
}

.gallery h2 {
  color: var(--color-secondary);
  font-weight: 400;
  font-size: 50px;
  margin-bottom: 10px;
  text-align: center;
}

.gallery img {
  margin: 0 auto;
  display: block;
}

.gallery .gallery-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 900px;
  height: 100vh;
  margin: 50px auto;
}

.gallery .gallery-wrapper div {
  border: 10px solid var(--color-primary);
  margin: 6px;
  width: 33%;
}

.gallery .gallery-wrapper div img {
  width: 100%;
}



/**************
* LOCATION
***************/
.location {
  padding: 100px 0;
  background: url(../images/bg-location.jpg);
  background-size: cover;
}

.location .head {
  display: flex;
  justify-content: space-between;
  background-color: #191919;
  padding: 40px;
  width: 100%;;
}

.location .head .info {
  display: flex;
  align-items: center;
}

.location .head .info .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  border-radius: 100%;
  padding: 10px;
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.location .head .info .text span {
  display: block;
  font-size: 13px;
}

.location .head .info .text span:first-child {
  color: silver;
}

.location .head .info .text span:last-child {
  color: white;
}

.location .map {
  width: 100%;
}

.location .map iframe {
  width: 100%;
}



/*********
* FOOTER
**********/
.footer {
  background-color: #191919;
  color: white;
  padding: 40px;
  text-align: center;
  font-size: 12px;
}



/* Media Queries */
@media (max-width: 768px) {
  .home .header .nav ul {
    flex-direction: column;
    align-items: center;
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 1000; /* Garantir que o menu fique acima de outros elementos */
    border: 1px solid #ccc; /* Adicione uma borda se desejar */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Adicione uma sombra se desejar */
  }

  .home .header .nav ul.show {
    display: flex;
  }

  .home .header .nav ul li {
    width: 100%;
    text-align: center;
  }

  .home .header .nav {
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .menu-toggle {
    display: block;

  }

  .home .banner {
    width: 90%;
    margin-left: 0;
    margin-top: 0;
    padding: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about .container {
    display: flex;
    margin: 0 auto;
  }

  .about .container img{
    display: none;
  }

  .about .timing h3 {
    font-size: 12px;
  }

  .about .experience {
    margin-top: 50px;
  }

  .services .boxes {
    flex-direction: column;
  }

  .services .box {
    margin: 20px 0;
  }

  .appointment {
    height: auto;
    padding: 50px 0;
  }

  .appointment .personal-data {
    flex-direction: column;
  }

  .appointment .input-wrapper {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .gallery .gallery-wrapper {
    display: grid;
    grid-template-columns: 2fr 3fr;
    width: auto;
    margin: auto;
    padding: 0;
  }
  
  .gallery .gallery-wrapper div {
    border: 5px solid var(--color-primary);
    width: auto;
    
  }

  .gallery .gallery-wrapper div img {
    width: auto ;
}

  .home .banner{
    margin-top: -255px;
    padding: 7px;
  }

  .gallery .gallery-wrapper div {
    width: 100%;
    margin-bottom: 10px;
  }

  .location .head {
    flex-direction: column;
    align-items: center;
  }


  .location .head .info {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .home .header .nav ul li a {
    font-size: 10px;
  }

  .home .banner h1 {
    font-size: 60px;
  }

  .about .experience h2 {
    font-size: 30px;
  }

  .services h2 {
    font-size: 30px;
  }

  .appointment h2 {
    font-size: 30px;
  }

  .gallery h2 {
    font-size: 30px;
  }

  .home .banner{
    margin-top: -75px;
    padding: 7px;
  }
}