:root {
    --primary-color: #917758;
    --primary-light-color: black;
    --secondary-color: #3c2915;
}

* {
    margin: 0;
    padding: 0;
}
/*ANIMAÇÃO LOGO*/
.logo-animada {
    transition: 
    transform 0.4s cubic-bezier(.25,.8,.25,1),
    box-shadow 0.4s cubic-bezier(.25,.8,.25,1),
    background 0.4s cubic-bezier(.25,.8,.25,1);
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    padding: 5px;
}

.logo-animada:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.7);
    box-shadow: 0 0 30px 10px rgba(255,255,255,0.5);
}

/* Animação do título h1*/
.title {
    font-size: 3rem;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeSlideIn 1s ease-out forwards;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 1170px;
    margin: 0 auto;


}

.containergallery {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}


/**********************
********* HOME ********
***********************/

.home {
    background-image: url(../images/bg-home.jpg);
    background-size: cover;
    height: 100vh;
    position: relative;
}

.header {
    padding: 30px 0;
    background-color: var(--primary-light-color);
}

.header .nav {
    display: flex;
    justify-content: center;
}

.header .nav ul {
    display: flex;
    list-style: none;
}

.header .nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    /* Ajustado para auto */
}

.header .nav ul li a {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    padding: 20px;
}

.header .nav ul li a:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.header .nav ul li .logo {
    margin: 0 30px;
}

/**********************
**** HOME - BANNER ****
***********************/

.home .banner {
    color: white;
    text-align: center;
    position: absolute;
    top: 30%;
    left: 50%;
    width: 760px;
    height: 260px;
    margin-left: -410px;
    margin-top: -130px;
}

.home .banner span {
    display: block;
}

.home .banner .slogan1 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 4px;
}

.home .banner h1 {
    font-size: 120px;
}

.home .banner .slogan2 {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

/*Botão fale conosco*/
.whatsapp-button {
    display: inline-block;
    padding: 15px 30px;
    background: #c28b45;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-button:hover {
    background: #d9a156;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/**************
**** ABOUT TIME ****
***************/


.about {
    background-color: var(--primary-color);
}

.about .container {
    display: flex;
}

.about .timing {
    width: 33%;
    background-image: url(/images/brush-big.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
    position: relative;
    top: -50px;
}

.about .timing .overlay {
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 40px 20px;
}

.about .timing .overlay .icon-cut {
    width: 50px;
}

.about .timing .overlay h3 {
    font-size: 40px;
    color: var(--primary-color);
    text-align: center;
    width: 180px;
    margin: 0 auto;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--primary-color);
}

.about .timing .overlay .text h4 {
    color: white;
    font-weight: lighter;
}

.about .timing .overlay span {
    font-weight: 400;
    color: white;
    display: block;
}

/************************
**** ABOUT - EXPERIENCE ****
*************************/

.about .experience {
    width: 66%;
    margin-left: 7%;
    margin-top: 100px;
    color: white;
}

.about .experience h2 {
    font-weight: 400;
    font-size: 40px;
}

.about .experience h2::after {
    display: block;
    content: '';
    width: 100px;
    border-bottom: 3px solid #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;
}

/**********************
**** GALLERY ****
***********************/

.gallery {
    padding: 10px 0;
    background-color: black;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 300px;
}

.gallery h2 {
    color: white;
    font-weight: 400;
    font-size: 50px;
    margin-bottom: 10px;
    text-align: center;
}

.gallery img {
    margin: 0 auto;
    display: block;
}

.gallery-wrapper div img {
    border: 5px solid #917758;
    border-radius: 8px;
    box-sizing: border-box;
}

.gallery .gallery-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 750px;
    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%;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
   
}



/**********************
**** SERVICES  ****
***********************/

.services {
    padding: 10px 0;
    text-align: center;
    background-color: var(--primary-light-color);
}

.services h2 {
    color: white;
    font-weight: 400;
    font-size: 50px;
    margin-bottom: 10px;
}

.services .boxes {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.services .box {
    border: 3px solid var(--primary-color);
    padding: 50px 40px;
    margin: 30px;
}

.services .box h4 {
    color: white;
    margin-top: 30px;
}

.services .box p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 25px;
    color: #f5eee6;
}

/*BOTÃO FRENTE*/
.btn-gallery {
    background: #222;
    color: #fff;
    border: none;
    padding: 10px 18px;
    margin-top: 50px;
    border-radius: 20px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    outline: none;
    position: relative;
    z-index: 1;
}

.btn-gallery:hover {
    background: #c59d5f;
    color: #222;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(197,157,95,0.25);
    animation: pulse 0.6s;
}

.btn-gallery:active {
    transform: scale(0.96);
    background: #b88b4a;

}
/*BOTÃO VERSO*/
.btn-agendar {
    display: inline-block;
    margin-top: 15px;
    margin-left: 30px; /* move o botão para a direita */
    padding: 10px 20px;
    background-color: #b88b4a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-agendar:hover {
    background-color: #c59d5f;
}


.btn-agendar2 {
    display: inline-block;
    margin-top: 60px;
    margin-left: 30px; /* move o botão para a direita */
    padding: 10px 20px;
    background-color: #b88b4a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-agendar:hover2 {
    background-color: #c59d5f;
}


/* Flip Card Animation services */
.box {
  perspective: 1000px;
  cursor: pointer;
  position: relative;
  width: 300px;
  height: 350px;
  margin: 30px;
}

.box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
}

.box.flipped .box-inner {
  transform: rotateY(180deg);
}

.box-front, .box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #222;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box-front {
  z-index: 2;
}

.box-back {
  transform: rotateY(180deg);
  z-index: 1;
  background: #111;
  color: #fff;
  padding: 20px;
}

.box-back img {
  width: 100%;
  left: 0;
  position: center ;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-left: -20px;
  margin-right: -50px;
}

/**********************
**** CONTATO
APPOINTMENT FORMULÁRIO 
(Faça Um Agendamento) ****
***********************/

.appointment {
    padding: 10px 0;
    background-color: black;
    background-image: url(../images/chair-ic.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 300px;
}

.appointment h2 {
    color: white;
    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-wraper {
    width: 100%;
    margin-right: 50px;
}

.appointment .input-wraper:last-of-type {
    margin-right: 0;
}

.appointment label {
    display: block;
    margin-bottom: 2px;
    color: white;
    font-size: 14px;
}

.appointment .personal-data input,
.appointment .personal-data select,
.appointment textarea {
    padding: 10px;
    outline: none;
    border: none;
    width: 100%;
    border-radius: 2px;
}

.appointment textarea {
    height: 100px;
}

.appointment button {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
}


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197,157,95,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(197,157,95,0); }
    100% { box-shadow: 0 0 0 0 rgba(197,157,95,0); }
}
/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

footer .social-icons {
    margin: 15px 0;
}

footer .social-icons a {
    color: var(--primary);
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #fff;
}

footer p {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}
/* Responsividade básica */
@media (max-width: 900px) {
    .container, .containergallery {
        width: 95%;
        max-width: 100%;
        padding: 0 10px;
    }
    .about .container {
        flex-direction: column;
    }
    .about .timing, .about .experience {
        width: 100%;
        margin: 0;
        top: 0;
    }
    .home .banner {
        width: 95vw;
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .gallery .gallery-wrapper {
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .gallery .gallery-wrapper div {
        width: 48%;
    }
    .services .boxes {
        flex-direction: column;
        align-items: center;
    }
    .box {
        width: 90vw;
        max-width: 350px;
        margin: 20px 0;
    }
}

@media (max-width: 600px) {
    .header .nav ul {
        flex-direction: column;
        align-items: center;
    }
    .home .banner h1 {
        font-size: 2.5rem;
    }
    .gallery h2, .services h2, .appointment h2 {
        font-size: 2rem;
    }
    .gallery .gallery-wrapper div {
        width: 100%;
    }
    .about .experience .text {
        flex-direction: column;
    }
    .about .experience .text img {
        width: 100%;
        margin-top: 20px;
    }
}