@import url('https://fonts.googleapis.com/css2?family=New+Amsterdam&display=swap');
/*
#F2B872
#BF9A84
#A67360
#40302A
#0D0D0D
font-family: "New Amsterdam", sans-serif;
*/
body{
    font-family: "New Amsterdam", sans-serif;
    font-size: 1.5em;
    background: url('../img/banner.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
a,p{
    color: #40302A;
}
a:hover{
    color: #BF9A84;
}
.site{
    width: 1200px;
    max-width: 100%;
}
header{
    width: 100%;
    height: 100px;
    padding: 10px 0;
    background: #A67360;
    position: fixed;
    
}
header .site{
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}
header h1{
    background: url('../img/logo.png') no-repeat;
    background-size: 100% 100%;
    width: 100px;
    height: 100px;
    text-indent: -9999px;
}
header article{
    width: 60%;
}
header div{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: #F2B872;
    width: fit-content;
    margin: 0 auto;
    border-radius: 10px;
}
header div p{
    padding: 0 20px;
    color: #40302A;
}
header div p a{
    color: #40302A;
}
header div p:nth-child(1){
    border-right: solid #40302A 3px;    
}
header nav{
    width: 100%;
}
header nav ul{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main{
    width: 100%;
}
main .banner{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
main .banner article{
    margin-top: -80px;
    text-align: -webkit-right;
}
main .banner h2{
    color: #BF9A84;
    font-size: 3em;
    text-shadow: #40302A 5px 5px;
}
main .banner h3{
    color: #BF9A84;
    width: fit-content;
    font-size: 2em;
    background: #F2B872;
    color: #40302A;
    padding: 5px;
    border-radius: 25px 10px;
}
main .banner h3 a{
    color: #40302A;
}
main .banner img{
    width: 100%;
}
footer{    
    background: #A67360;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
}
footer .site{
    margin: 0 auto;
    text-align: center;
}
footer p{
    font-size: .8em;
    color: #40302A;
}

/*****************************************PÁGINA SERVIÇO*****************************************/
/* Seção Hero */
.hero {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px 0px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 50px auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 48px;
    margin: 10px auto;
}

.hero p {
    font-size: 20px;
    color: white;
}

/* Seção de Serviços */
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    margin-top: 40px;
}

.service-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    width: calc(50% - 100px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item img {
    max-width: 100%;
    height: 260px;
    border-radius: 10px;
}

.service-item h2 {
    font-size: 24px;
    margin: 20px 0 10px;
}

.service-item p {
    font-size: 16px;
    color: #666;
}

/* Seção CTA */
.cta {
    text-align: center;
    margin: 60px 0;
    padding: 40px 20px;
    background: #33333399;
    color: white;
    border-radius: 10px;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.cta .btn {
    background: #f2b872;
    color: #40302A;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

.cta .btn:hover {
    background: #cf6c1d;
}

/*****************************************PÁGINA PRODUTOS*****************************************/
/* Seção Hero */
.pgProduto .hero {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px 0 20px;
}

.pgProduto .hero-content {
    max-width: 800px;
    margin: 50px auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.pgProduto .hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.pgProduto .hero p {
    font-size: 20px;
}

/* Seção de Produtos */
.pgProduto .products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    margin-top: 40px;
}

.pgProduto .product-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    width: calc(50% - 60px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pgProduto .product-item img {
    max-width: 100%;
    height: 260px;
    border-radius: 10px;
}

.pgProduto .product-item h2 {
    font-size: 24px;
    margin: 20px 0 10px;
}

.pgProduto .product-item p {
    font-size: 16px;
    color: #666;
}

.pgProduto .product-item .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    display: block;
}

/* Seção CTA */
.pgProduto .cta {
    text-align: center;
    margin: 60px 0;
    padding: 40px 20px;
    background: #33333399;
    color: white;
    border-radius: 10px;
}

.pgProduto .cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.pgProduto .cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

.pgProduto .cta .btn {
    background: #f2b872;
    color: #40302A;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

.pgProduto .cta .btn:hover {
    background: #cf6c1d;
}

/*****************************************PÁGINA CONTATO*****************************************/
/* Seção de Contato */
.contact{
    padding-bottom: 100px;
}
.contact .hero{
    padding: 100px 20px 0 20px;
}
.contact form{
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 30px);
    padding: 10px;
    font-size: 16px;
    border: 1px solid #333333;
    border-radius: 5px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #333;
    outline: none;
}

.form-group textarea {
    resize: none;
}

.btn {
    background: #f2b872;
    color: #40302A;
    padding: 15px 30px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-family: "New Amsterdam", sans-serif;
    cursor: pointer;
}

.btn:hover {
    background: #cf6c1d;
}

/**********************************************************************************************/
/*********************************************DASHBOARD****************************************/
/**********************************************************************************************/
.sidebar {
    width: 250px;
    background-color: #333;
    color: white;
    padding-top: 20px;
    position: fixed;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
/* Estilo do sidebar quando recolhido */
.pg-dashboard.collapsed .sidebar {
    width: 80px;  /* Largura reduzida */
}

.sidebar ul{
    display: block;
}
.pg-dashboard.collapsed .sidebar ul{
    display: none;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
    display: block;
}
.pg-dashboard.collapsed .sidebar .sidebar-header{
    display: none;
}
.sidebar h2 {
    font-size: 28px;
    color: #e67e22;
}
/* Estilo do botão */
.toggle-btn {
    position: absolute;
    top: 0px;
    right: 20px;
    background-color: #333;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.toggle-btn:hover {
    color: #e67e22;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    margin-bottom: 20px;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 18px;
}

.menu li.btn-agendamento a{
    font-size: 1.3em;
}

.menu li a:hover {
    background-color: #e67e22;
    border-radius: 5px;
}
/* Ajuste quando o sidebar está recolhido */
.pg-dashboard.collapsed .content {
    margin-left: 100px;
}
#lista-agendamento{
    width: 100%;
}
#lista-agendamento .hero{
    display: block !important;
    padding: 0 !important;
    margin: 30px auto;
}
#lista-agendamento .hero .hero-content{
    margin: 0px auto;
}
table{
    width: 80%;
    color: white;
    border: #A67360 solid 5px;
    background: #33333380;
    margin: 0 auto;
    font-size: 1em;
}
#cadastro-cliente table{
    font-size: .8em;
    width: 95%;
}
#cadastro-cliente form div input{
    text-transform: uppercase;
}
#cadastro-cliente form div:nth-child(2) div:nth-child(1){
    width: 60%;
}
#cadastro-cliente form div:nth-child(2) div:nth-child(1) input{
    text-transform: lowercase;
}
#cadastro-cliente form div:nth-child(2) div:nth-child(2){
    width: 35%;
}
th{
    border-bottom: #A67360 solid 2px;
    color: #ffffff;
    background: #a67360;
    font-size: 1.2em;
    letter-spacing: 2px;
}
th, td {
    border-left: 2px solid #FFF; /* Adiciona um traço à esquerda de cada célula */
    padding: 8px; /* Adiciona espaço interno às células */
}

th:first-child, td:first-child {
    border-left: none; /* Remove o traço da primeira coluna */
}
td a{
    color: white;
    text-decoration: none;
}
td img{
    width: 25px;
    height: 25px;
}
.content {
    margin: 0 0 0 auto;
    width: 75%;
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    transition: margin-left 0.3s ease;  /* Animação no conteúdo principal */
}
.content-cli{
    margin: 0 auto;
    width: 80%;
}
.section {
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);    
    width: 95%;
}
.pg-dashboard.collapsed section {
    width: 90%;
}

.section h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.section p {
    font-size: 16px;
    color: #666;
}

/********************************* Estilizando o formulário **************************************/
.form-product, 
.form-servico, 
.form-cliente,
.form-agendamento {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dataHora{
    display: flex;
}
.data-hora{
    width: calc(100%/3);
}
.data-hora-cli{
    width: calc(100%/2);
}
.serv-cli{
    width: 100%;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(100% - 30px);
}

.form-group input[type="file"] {
    padding: 5px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #333;
    outline: none;
}

.btn {
    background: #e67e22;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.btn:hover {
    background: #cf6c1d;
}
.pg-dashboard article{
    position: fixed;
    width: 100%;
}
.user-btn {
    background-color: #cf6c1d;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.user-btn-cli{
    position: absolute;
    right: 60px;
}
/* Hover para o botão de user */
.user-btn:hover {
    background-color: #e67e22;
}
/* Estilo do botão de logoff */
.logoff-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.logoff-btn-cli{
    position: absolute;
    right: 0;
}
/* Hover para o botão de logoff */
.logoff-btn:hover {
    background-color: #c0392b;
}

/* -----------------------------------------CADASTRO DE CLIENTE------------------------------------------ */
section#cadastro-cliente h2{
    text-align: center;
}
section#cadastro-cliente th{
    font-size: 20px;
}
section#cadastro-cliente td{
    white-space: nowrap;
}


/**********************************************************************************************************/
/*****************************************RESPONSIVO 480px*************************************************/
/**********************************************************************************************************/

@media(max-width: 1080px){
    body{
        background-position: center;
    }
    header{
        height: 100px;
    }
    header h1{
        width: 80px;
        height: 80px;
    }
    header div{
        margin: 20px auto;
    }
    header div p{
        padding: 0 4px;
        color: #40302A;
        font-size: .8em;
    }
    header nav{
        width: 90%;
        position: fixed;
        top: 80px;
        left: 5%;
    }
    header nav ul{
        height: 50px;
    }
    header nav ul li{
        font-size: .8em;
    }
    main .banner article{
        text-align: center;
    }
    main .banner h2{
        font-size: 2.5em;
        text-align: center;
    }
    main .banner h3{
        font-size: 1.5em;
        border-radius: 15px 0;
        width: 50%;
        margin: 0 auto;
    }
    footer p{
        font-size: .5em;
    }
    
    /* Agendamento - Login Cliente */
    .user-btn, .logoff-btn{
        margin: 10px 20px;
    }
    .content{
        padding: 0;
    }
    .content-cli{
        width: 100%;
    }
    .hero h1{
        font-size: 29px;
    }
    .lista-agendamento h2{
        color: #ffffff;
    }
    table{
        font-size: .6em;
        text-align: center;
    }
    table th:nth-child(1){
        display: none;
        width: 1px;
    }
    table th{
        font-size: .9em;
    }
    table td:nth-child(1){
        display: none;
        width: 1px;
    }
    table th:nth-child(2){
        border-left: none;
    }
    table td:nth-child(2){
        border-left: none;
    }
    table td:nth-child(2){
        border-left: none;
        font-size: 1.3em;
    }
    table td:nth-child(3),
    table td:nth-child(4){
        font-size: 1.2em;
    }
    #agendamento{
        padding: 10px;
        width: 90%;
    }
    #agendamento h1{
        font-size: 20px;
    }
    .serv-cli #servico{
        width: 100%;
    }
    .data-hora-cli #horario-agendamento{
        width: 100%;
    }
}