:root {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    --dark-gray: #252525;
    --black: #121212;
    --white: #FEFEFE;
    --active: #5b1023;
    --mustard: #E3A018;
    --dark-mustard: #C68B10
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

header {
    background: url("./img/bg.jpg");
    padding: 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 10px
}

.navbar img, .logo {
    width: 150px;
}

.navbar-icons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.lista {
    display: inline;
    margin-left: 15px;
}

.lista-link {
    list-style-type: none;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    color: var(--white);
    transition: color 0.3s ease;
}

.lista-link:hover {
    color: var(--mustard);
    text-decoration: none;
}

.lista-link:active {
    color: var(--active);
}

/* Estilo para o botão de agendamento na navbar */
.btn-agendamento {
    background-color: var(--mustard);
    color: var(--black) !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-agendamento:hover {
    background-color: var(--mustard);
    color: var(--black) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(227, 160, 24, 0.5);
    transform: translateY(-2px);
}

.img-banner {
    width: 100%;
    height: auto;
    object-fit: fill;
    margin: 0 auto;
    display: block;
}

/* Estilização das Seções Intercaladas: PRETO, BRANCO, PRETO, BRANCO */
.sobre-barber-shop {
    background-color: var(--black);
    color: var(--white);
    text-align: justify;
}

.servicos {
    background-color: var(--white);
    color: var(--black);
}

.conteudo-beneficios {
    background-color: var(--black);
    color: var(--white);
}

.nosso-estabelecimento {
    background-color: var(--white);
    color: var(--black);
}

.main-sections {
    padding: 3em 0;
    scroll-margin-top: 100px;
}

.main-sections-container {
    width: 90%;
    max-width: 940px;
    margin: 0 auto;
}

.main-sections p {
    font-weight: 400;
}

.titulo-principal {
    display: inline-block;
    text-align: center;
    padding: 0.25em 0 0;
    font-size: 1.75em;
    font-weight: 700;
    color: var(--active);
}

.sobre-barber-shop .titulo-principal,
.conteudo-beneficios .titulo-principal {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sobre-barber-shop .titulo-principal {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.servicos .titulo-principal {
    color: var(--active);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nosso-estabelecimento .titulo-principal {
    color: var(--active);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilização da Lista de Serviços */
.servicos-lista-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.servico-item {
    width: 32%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    transition: 400ms;
}

.servico-item:hover {
    transform: translateY(-10px);
}

.servico-item h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.servico-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 400ms;
}

.servico-item:hover img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: scale(1.03);
}

.servico-descricao {
    font-size: 18px;
    margin: 10px 0;
}

.servico-preco {
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.img-sobre {
    width: 40%;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.sobre-texto {
    flex: 1;
    line-height: 1.6;
}

.icone-e-titulo {
    width: auto;
    margin: 0 auto 1.5rem;
    text-align: center;
}

#img-icon-top-titulo {
    display: inline-block;
    width: 10px;
    height: auto;
    padding-right: 10px;
    top: 10%;
    transform: translate(0, 20%);
}

p em {
    font-size: 20px;
    font-weight: bold;
}

p em strong {
    font-style: italic;
    font-weight: normal;
    color: inherit;
}

section p {
    padding-bottom: 15px;
    line-height: 1.5rem;
}

.unidades-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.unidade-card {
    background-color: var(--black);
    color: var(--white);
    width: 300px;
    border-radius: 4px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.unidade-card:hover {
    transform: translateY(-10px);
}

.unidade-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.unidade-card:hover .unidade-img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.unidade-info {
    padding: 20px;
    transition: background-color 0.3s ease;
}

.unidade-card:hover .unidade-info {
    background-color: var(--dark-gray);
}

.unidade-nome {
    font-size: 24px;
    font-weight: 900;
    color: var(--mustard);
    margin-bottom: 15px;
    line-height: 1.1;
}

.unidade-endereco {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0.9;
}

.unidade-contato p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.unidade-agendar {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.unidade-agendar:hover {
    color: var(--mustard);
    /* opacity: 0.8 */
}

.icone-titulo {
    display: flex;
    align-items: center;
    justify-content: center;    
}

.beneficios-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.beneficios-conteudo {
    width: 45%;
}

.img-beneficios {
    width: 50%;
    margin: 0;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
}

.video-container {
    width: 75%;
    margin: 20px auto 0;
}

.lista-beneficios {
    width: 100%;
    padding: 10px 0;
    list-style-type: none;
}

.lista-item {
    padding: 10px 5px 5px;
}

.lista-item:first-child {
    font-weight: bold;
}

.lista-item:before {
    content: "✄";
    padding-right: 5px;
}

.img-beneficios {
    opacity: 1;
    transition: 400ms;
}

.img-beneficios:hover {
    opacity: 0.7;
}

.rodape {
    background-color: var(--black);
    padding: 45px 0;
    color: var(--white);
    border-top: 1px solid var(--dark-gray);
}

.rodape-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rodape-esquerda {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-rodape {
    width: 45px;
    filter: brightness(0) invert(1);
}

.copyright-texto {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: var(--white);
    opacity: 0.8;
}

.rodape-direita {
    display: flex;
    align-items: center;
    gap: 25px;
}

.redes-sociais {
    display: flex;
    gap: 15px;
}

.redes-sociais a, .link-topo {
    color: var(--white) !important;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    opacity: 0.8;
}

.redes-sociais a:hover, .link-topo:hover {
    opacity: 1;
    color: var(--mustard) !important;
}

.link-topo {
    font-size: 18px;
    margin-left: 10px;
}

@media screen and (max-width: 480px) {
    .main-sections-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .servicos-lista-container {
        flex-direction: column;
        align-items: center;
    }

    .servico-item {
        width: 90%;
        margin-bottom: 20px;
    }

    .beneficios-flex-container {
        flex-direction: column;
    }

    .beneficios-conteudo, .video-container {
        width: 100%;
    }

    .img-banner {
        width: 100%;
    }
}
