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

body{
    background: linear-gradient(135deg, #080808 0%, #141414 50%, #080808 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    overflow-x: hidden;
}

/*SIDEBAR MOBILE*/
#toggle-menu {
    display: none;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -260px;
    width: 220px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    border-left: 2px solid #f39c12;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    transition: right 0.35s ease;
}

#toggle-menu:checked ~ .sidebar {
    right: 0;
}

.btn-fechar {
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-fechar:hover {
    color: #f39c12;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.sidebar-nav ul li a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    padding: 11px 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.ativo {
    background-color: #f39c12;
    color: black;
}

.hamburguer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    user-select: none;
}

.hamburguer:hover {
    color: #f39c12;
}

.menu{
    display: none;
}

/*CABECALHO*/
.header{
    width: 100%;
    padding: 20px 15px;
    background-color: black;
    border-bottom: 2px solid #f39c12;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.container-logo{
    display: flex;
    align-items: center;
    gap: 15px;
}

.container-logo img{
    width: 70px;
}

.container-logo h1{
    font-family: 'Rye', serif;
    font-size: 1.5rem;
}

.menu ul{
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.menu li{
    text-align: center;
}

.menu li a{
    text-decoration: none;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    transition: 0.3s;
    display: block;
    font-size: 1rem;
}

.menu li a:hover{
    background-color: #f39c12;
    color: black;
}

.ativo{
    background-color: #f39c12;
    color: black !important;    /* texto do botao mantem preto qnd ativo*/
}

/*AGENDAMENTO */
.agendamento{
    width: 100%;
    padding: 30px 15px;
}

.titulo-agendamento{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

 /* TITULO PRINCIPAL*/
.titulo-agendamento h2{
    font-size: 2rem;
    font-family: 'Rye', serif;
    background: rgba(0,0,0,0.8);
    border: 2px solid #f39c12;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

.titulo-agendamento p{
    color: whitesmoke;    
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
}

.box-agendamento{
    width: 100%;
    background-color: rgba(0,0,0,0.75);
    border: 1px solid rgba(243,156,18,0.4);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/*ETAPAS*/
.etapa{
    display: flex;
    align-items: center;
    gap: 15px;
}

.numero{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #f39c12;
    color: black;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.etapa h3{
    font-size: 1.1rem;
    line-height: 1.3;
}

/* CARDS */
.servico{
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    border: 1px solid rgba(243,156,18,0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: 0.3s;
}

.servico:hover{
    transform: translateY(-5px);
    border-color: #f39c12;
}

.info-servico{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* TITULO SERVICO */
.info-servico h4{
    font-size: 1.1rem;
    font-family: 'Rye', serif;
    line-height: 1.3;
    word-break: break-word;   /* impede quebrar layout */
}

/* DESCRICAO SERVICO*/
.info-servico p{
    color: #ccc;
    line-height: 1.5;
}

/*TEMPO E VALOR*/
.info-servico span{
    color: #f39c12;
    font-weight: bold;
}

.servico button{
    width: 100%;
    background-color: #f39c12;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}

.servico button:hover{
    background-color: #ffb347;
}

.inputs{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* DATA E HORA */
.inputs input{
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(243,156,18,0.4);
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    outline: none;
}

/* BARBEIROS */
.barbeiros {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.barbeiro {
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    border: 1px solid rgba(243,156,18,0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    transition: 0.3s;
}

.barbeiro:hover {
    transform: translateY(-5px);
    border-color: #f39c12;
}

.foto-barbeiro {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f39c12;
    color: black;
    font-weight: bold;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-barbeiro {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-barbeiro h4 {
    font-size: 1.1rem;
    font-family: 'Rye', serif;
}

.info-barbeiro p {
    color: #ccc;
    font-size: 0.95rem;
}

.barbeiro button {
    width: 100%;
    background-color: #f39c12;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}

.barbeiro button:hover {
    background-color: #ffb347;
}

.btn-confirmar:hover{
    transform: scale(1.01);
    box-shadow: 0 0 20px rgba(243,156,18,0.4);
}

.box-agendamento p{
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 1px;
}

/* BOTAO DE CONFIRMAR*/
.btn-confirmar{
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg,#f39c12,#ffb347);
    color: black;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s;
}


/* ENTRAR PRA AGENDAR*/
.entrar{
    text-align: center;
    margin-top: 0;
}
.entrar a{
    text-decoration: none;
    color: white;
}

.entrar a:hover{
    text-decoration: underline;
    color: #f39c12;
}


footer{
    width: 100%;
    margin-top: 60px;
    padding: 35px 20px;
    background-color: rgba(0, 0, 0, 0.127);
    display: flex;
    flex-direction: column;
    text-align: center;
}


/* TABLET */
@media (min-width: 768px){
    .header{
        flex-direction: row;
        justify-content: space-around;
    }

    .menu ul{
        flex-direction: row;
    }

    .menu li a{
        padding: 8px 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .container-logo h1{
        font-size: 2rem;
    }
    
    .titulo-agendamento{
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .titulo-agendamento h2{
        font-size: 3rem;
    }

    .box-agendamento{
        padding: 40px;
    }

    .servico{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .servico button{
        width: auto;
        min-width: 180px;
        padding: 14px 30px;
    }

    .inputs{
        grid-template-columns: 1fr 1fr;
    }

    .etapa h3{
        font-size: 1.5rem;
    }

    .info-servico h4{
        font-size: 1.5rem;
    }

    .hamburguer{
        display: none;
    }

    .sidebar{
        display: none !important;
    }

    .menu{
        display: block;
    }
}

/* DESKTOP */
@media (min-width: 1024px){
    .box-agendamento{
        max-width: 1200px;
        margin: auto;
    }

    .titulo-agendamento h2{
        font-size: 4rem;
    }

    .info-servico h4{
        font-size: 1.8rem;
    }
}