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

body {
    background-color: #222;
}

/* framework */
.flex-responsive {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

header {
    width: 100%;
    height: 88vh;
    padding: 5px;
    position: relative;
}

.contain-header-img {
    width: 100%;
    height: 90%;
    background-image: url('../imagens/header-img.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-position: top center;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

header img,
header h2,
header a {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 180px;
    height: auto;
}

#classBarber {
    padding-top: 140px;
    color: white;
}

#city {
    padding-top: 20px;
    padding-left: 15px;
    color: white;
}

header a {
    padding: 9px;
    text-decoration: none;
    color: white;
    display: block;
    width: 150px;
    height: 40px;
    text-align: center;
}

#agendar {
    color: black;
    background-color: white;
    margin-top: 60px;
    margin-left: 20px;
}

#contato {
    background-color: black;
    color: white;
    border-radius: 2px;
    margin: 20px 20px;
}

.whatsapp-button {
    position: fixed;
    bottom: 38px;
    right: 15px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* animação no header */
.off {
    transform: translateX(-100%);
    opacity: 0;
    transition: 0.9s ease all;
}

.active {
    transform: translateX(0);
    opacity: 1;
}

.helpers {
    padding: 20px;
}

.helpers .container {
    width: 60%;
    max-width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.helpers .container i {
    color: #7C3AED;
    font-size: 26px;
    cursor: pointer;
}

.sobre {
    width: 100%;
    border-bottom: 4px solid #2A2A2A;
}

.sobre .container {
    width: 100%;
    max-width: 430px;
    padding: 23px;
}

.sobre .container h3,
.sobre .container p {
    color: #949393;
    padding-top: 10px;
}

.sobre .container h3 {
    text-align: center;
}

.servicos {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 40px;
    border-bottom: 4px solid #2A2A2A;
}

.servicos h2 {
    color: #949494;
    text-align: center;
    font-size: 19px;
}

.container {
    gap: 10px;
    place-items: center;
}

.card {
    width: 90%;
    max-width: 320px;
    height: 130px;
    border-radius: 5px;
    border: 1px solid #3d3d3d;
    background-color: #2A2A2A;
    display: flex;
    padding-top: 5px;
    padding-left: 20px;
    
    
}

.card-img {
    width: 130px;
    min-height: 100%;
    border-radius: 4px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.contain-functions {
    padding: 10px;
    width: 120px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.contain-functions p {
    color: #ccc;
    padding-left: 5px;
}

.contain-functions a {
    padding: 7px;
    border-radius: 4px;
    border: 0;
    margin-left: 15px;
    margin-top: 1px;
    background-color: #7C3AED;
    color: white;
    text-decoration: none;
}

.contain-functions button a {
    text-decoration: none;
    color: #ddd;
}

.popup {
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    display: none;
    align-items: center;
    justify-content: space-around;
    transition: 0.6s ease;
    z-index: 9999999;
}

.contain-img {
    width: 90%;
    max-width: 400px;
    height: 50vh;
    padding: 10px;
    margin: 0 auto;
}

.contain-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.exibir-img {
    width: 100%;
    height: 40vh;
    margin-top: 30px;
}

#exit-btn {
    color: #fff;
    font-size: 19px;
    float: right;
    transition: 0.3s ease;
}

#exit-btn:hover {
    color: red;
    transform: translateX(10%);
}

/* slider cliente */
.slider-client {
    width: 100%;
    border-bottom: 4px solid #2A2A2A;
    text-align: center;
    
}

#right,
#left {
    color: white;
    font-size: 29px;
}

.control-direction {
    margin: 20px;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.slider-contain .container {
 
    width: 100%;
    max-width: 700px;
    margin: 50px auto;
    overflow: hidden;
    text-align: center;
    
}

.slider-contain .container h2 {
    
    top: 90px;
    font-size: 30px;
    color: #616060;
    text-align: center;
}
.gallery {
    position: relative;
    height: 400px;
    
}

.item {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 10px;
    width: 150px;
    height: 230px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
    z-index: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.rate-us {
    position: absolute;
    width: 100%;
    top: 260px;
    text-align: center;
    padding-left: 4px;
}

.rate-us p {
    color: #949393;
    display: none;
}

.current-item {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
}

.current-item p {
    display: block;
}

.prev {
    transform: translate(-130%, -50%) scale(0.8) rotateY(25deg);
    z-index: 2;
}

.next {
    transform: translate(30%, -50%) scale(0.8) rotateY(-25deg);
    z-index: 2;
}

.hidden {
    opacity: 0;
    z-index: 0;
}

/* footer */
.footer {
    background: #0d0d0d;
    color: #ccc;
    padding: 25px 15px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-info p {
    margin: 3px 0;
    font-size: 13px;
}

.footer-btn {
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    background: #7C3AED;
}

.hide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* responsividade */
 @media screen and (min-width: 430px){
    header{
        height: 120vh;
    }

} 

@media screen and (min-width: 580px) {


    header h2 {
        color: white;
        padding: 10px;
    }

    #classBarber {
        padding-left: 60px;
    }

    #city {
        padding-left: 70px;
        padding-bottom: 60px;
    }

    header button {
        margin: 30px 50px;
    }

    .helpers {
        justify-content: flex-start;
        padding: 50px;
    }

    .item {
        width: 230px;
        height: 300px;
    }

    #right {
        padding-right: 200px;
    }

    #left {
        padding-left: 200px;
    }

    .slider-contain .container h2 {
        top: 20px;
    }

    .item p {
        top: 320px;
    }

    .rate-us {
        top: 310px;
    }
}

@media screen and (min-width: 620px) {

    .contain-header-img {
        position: absolute;
        height: 70vh;
        width: 47%;
        max-width: 480px;
        top: 15px;
        right: 15px;
    }
}

@media (min-width: 768px) {
    header{
        height: 90vh;
    }
    header a {
        display: inline-block;
    }

    .contain-header-img {
        top: 40px;
        right: 80px;
        height: 90%;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1200px;
        margin: auto;
        text-align: left;
    }

    .footer-info p {
        font-size: 14px;
    }
}

@media screen and (min-width: 900px) {
    header a {
        display: inline-block;
    }

    #agendar {
        margin-left: 70px;
    }

    #classBarber {
        padding-left: 80px;
        padding-top: 90px;
    }

    #city {
        padding-left: 90px;
        padding-bottom: 80px;
    }
}