/*--------------Header-------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #808080;
}

#header {
    background: #000;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 20px;
}

#logo {
    background-image: url(imagens/logo.png);
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
}

.menu-link.ativo {
    color: #DAA520;
    border-bottom: 2px solid #DAA520;
    font-weight: bold;
}

#menu {
    display: flex;
    gap: 10px;
    align-items: center;
    
}

#menu a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 24px;
    padding: 5px 10px; 
    transition: all 0.3s ease;
    display: inline-block; 
}

#menu a:hover {
    color: #DAA520;
    transform: scale(1.05); 
}


#logo1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #DAA520;
    font-size: 48px;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace;
    height: 200px;
    width: 200px;
    
}


#agenda {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    background-color: #FF0000;
    color:#FFFFFF;
    border-radius: 20px;
    cursor: pointer;
    width: 220px;
    height: 40px;
    line-height: 40px; 
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-decoration: none;
}

#agenda:hover {
    background-color: #8B0000;
    color: #FFFFFF;
}
.container {
    display: flex;
    justify-content: center;  
    align-items: center;     
    height: 100vh;            
    background-color: #FFFFFF;

}


/* --------------------Início--------------------------- */

#container {
    width: 100%;
    max-width: 700px;
    background-color: #363636;
    margin: 0 auto;
    font-family: 'Lora', serif;
    text-align: center;
    padding: 40px;
    color: #FFFFFF;
    padding: 20px;
    border-right: solid 0.2px #FFFFFF;
    border-left: solid 0.2px #FFFFFF;
    height: auto;
}
#logoconteudo {
    background-image: url(imagens/foto1.jpg);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 400px; 
    height: 300px;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 10px;
}


.sobre {
    color: #DAA520;
    margin-bottom: 30px;
}
.sobre1 {
    padding: 20px;
    letter-spacing: 1px
}
#logofinal {
    background-image: url(imagens/logo.png);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 250px; 
    height: 250px;
    margin: 0 auto;
    margin-bottom: 30px;
    border:solid 0.2px #DAA520;
    border-radius: 20px;
}

/* --------------------Serviços--------------------------- */

#container1 {
    width: 100%;
    max-width: 700px;
    background-color: #363636;
    margin: 0 auto;
    font-family: 'Lora', serif;
    text-align: center;
    align-items: center;
    padding: 40px;
    color: #000;
    padding: 20px;
    border-right: solid 0.2px #FFFFFF;
    border-left: solid 0.2px #FFFFFF;
    height: auto;
    font-weight: bold;
}

.head{
    color:#DAA520;
}

#servicos {
    border: solid 1px #DAA520;
    font-size: 24px;
    border-radius: 15px;
    margin: 30px auto 50px auto; 
    height: auto;
    width: 400px; 
    background-color: #FFFFFF;
    padding: 40px;
    
}
#servicos2 {
    border: solid 1px #DAA520;
    font-size: 24px;
    border-radius: 15px;
    margin: 30px auto 30px auto; 
    height: auto;
    width: 400px; 
    background-color: #FFFFFF;
    padding: 27px;
}
.icon{
    background-image: url(imagens/icons2.png);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 100px; 
    height: 100px;
    margin: 30px auto;
}
.icon1{
    background-image: url(imagens/icons1.png);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 100px; 
    height: 100px;
    margin: 30px auto;
}
/* --------------------Localização--------------------------- */
#localizacao {
    border: solid 1px #DAA520;
    font-size: 18px;
    border-radius: 15px;
    margin: 30px auto 30px auto; 
    height: auto;
    width: auto;
    background-color: #FFFFFF;
    padding: 27px;
}
.adress {
    margin-top: 15px;
    padding-left: 10px; 
    background: url(../barbearia/imagens/localizacao.png) no-repeat left center;
    background-size: 20px 20px;
    line-height: 24px;
    background-size: 28px 28px;
    border-bottom: solid 1px#000;

}
.adress2 {
    margin-top: 15px;
    padding-left: 10px; 
    background: url(../barbearia/imagens/localizacao.png) no-repeat left center;
    background-size: 20px 20px; 
    line-height: 24px;
    background-size: 28px 28px;
    border-bottom: solid 1px#000;

}
.adress3 {
    margin-top: 15px;
    padding-left: 30px;
    background: url(../barbearia/imagens/localizacao.png) no-repeat left center;
    background-size: 20px 20px;
    line-height: 24px;
    background-size: 28px 28px;
    border-bottom: solid 1px#000;
    vertical-align: middle;

}
.adress4 {
    margin-top: 15px;
    display: block; 
    background: url(../barbearia/imagens/localizacao.png) no-repeat left center;
    background-size: 28px 28px; 
    padding: 10px 10px 10px 40px; 
    line-height: 28px;          
    border-bottom: solid 1px #000;
    
}


.adress5 {
    margin-top: 15px;
    background: url(../barbearia/imagens/localizacao.png) no-repeat left center;
    padding-left: 10px; 
    background-size: 20px 20px;
    line-height: 24px;
    background-size: 28px 28px;
    border-bottom: solid 1px#000;

}
.imagem{
    background-image: url(imagens/foto1.jpg);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 400px; 
    height: 300px;
    margin: 30px auto;
    margin-bottom: 30px;
    border-radius: 10px;
}
.imagem2{
    background-image: url(imagens/foto2.jpg);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 400px; 
    height: 300px;
    margin: 30px auto;
    margin-bottom: 30px;
    border-radius: 10px;
}
.imagem3{
    background-image: url(imagens/foto3.jpg);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 400px; 
    height: 300px;
    margin: 30px auto;
    margin-bottom: 30px;
    border-radius: 10px;
}
.imagem4{
    background-image: url(imagens/foto4.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 400px; 
    height: 300px;
    margin: 30px auto;
    margin-bottom: 30px;
    border-radius: 10px;
}
.imagem5{
    background-image: url(imagens/foto5.webp);
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 400px; 
    height: 300px;
    margin: 30px auto;
    margin-bottom: 30px;
    border-radius: 10px;
}
/* --------------------Contatos--------------------------- */

#social1 {
    border: solid 1px #DAA520;
    font-size: 24px;
    border-radius: 15px;
    margin: 30px auto 50px auto; 
    height: 300px;
    width: 100%; 
    max-width: 400px;
    background-color: #FFFFFF;
    background-image: url(../barbearia/imagens/icons8-instagram-384.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

#social2 {
    border: solid 1px #DAA520;
    font-size: 20px;
    border-radius: 15px;
    margin: 30px auto 50px auto; 
    height: 300px;
    width: 100%; 
    max-width: 400px;
    padding-top: 1px;
    background-color: #FFFFFF;
    background-image: url(../barbearia/imagens/icons8-facebook-500.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
#social3 {
    border: solid 1px #DAA520;
    font-size: 24px;
    border-radius: 15px;
    margin: 30px auto 50px auto; 
    height: 300px;
    width: 100%; 
    max-width: 400px;
    background-color: #FFFFFF;
    background-image: url(../barbearia/imagens/icons8-x-500.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
/* ========== Responsividade geral ========== */
@media (max-width: 768px) {

    #header {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 20px 10px;
    }

    #logo {
        width: 120px;
        height: 120px;
    }

    #logo1 {
        width: 100%;
        height: auto;
        align-items: center;
        font-size: 28px;
    }

    #menu {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    #menu a {
        font-size: 18px;
    }

    #agenda {
        width: auto;
        max-width: 220px;
        padding: 0 15px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        text-align: center;
        border-radius: 20px;
        margin: 10px auto 0 auto;
    }

    #container, #container1 {
        width: 90%;
        padding: 20px;
    }

    #servicos, #servicos2, 
    #social1, #social2, #social3,
    #localizacao {
        width: 100%;
    }

    .imagem, .imagem2, .imagem3, .imagem4, .imagem5 {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }

    #social1, #social2, #social3 {
        position: relative;
        padding: 120px 20px 20px 20px;
        background-position: top center;
        background-size: 100px 100px;
        text-align: center;
        font-size: 16px;
    }

    #social1 p, #social2 p, #social3 p {
        position: relative;
        z-index: 2;
        color: #000;
        background-color: rgba(255, 255, 255, 0.85);
        padding: 10px;
        border-radius: 10px;
        display: inline-block;
        max-width: 90%;
    }
}
