/* GERAL */

@import url('base.css');


/* TOPO */

.topo {
    background: url('https://source.unsplash.com/1600x600/?office,contact') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--preto);
    text-align: center;
}

.topo h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.topo h1 span{
    color: var(--laranja);
    font-size: 84px;
}

.topo p {
    font-size: 1.5rem;
    max-width: 700px;
   /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);*/
}

/* Seção de Contato */

.detalhes, .formulario {
    padding: 4rem 0;
    background-color: var(--branco);
}


.detalhes .container, .formulario .container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.detalhes .info, .formulario form {
    flex: 1;
    margin-right: 2rem;
}

.detalhes .info h2, .formulario h2, .container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--preto);
}

.detalhes .info p {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #333;
}

.detalhes .social-media {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;

}

.detalhes .social-media a {
    color: #333;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.detalhes .social-media a:hover {
    color: var(--laranja);
}

.detalhes .mapa {
    flex: 1;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

/* Formulário de Contato */
.formulario .form-group {
    margin-bottom: 1.5rem;
    margin-left: 5%;
}

.formulario .form-group label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.formulario .form-group input, .formulario .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    
}

.formulario .form-group textarea {
    resize: vertical;
}

.formulario button {
    padding: 0.75rem 2rem;
    border: 0;
    background-color: var(--preto);
    color: var(--branco);
    font-size: 1.2rem;
    margin-left: 40%;
    cursor: pointer;
    border-radius: 30px;
}

 .formulario button:hover{
    box-shadow: 0px 0px 8px var(--marrom);
    transform: scale(1.05);
    transition: .2s;
}

/* Para visualização em dispositivos móveis */

@media (max-width: 1024px) {
    section.detalhes .container {
        flex-direction: column;
        align-items: center;
    }

    section.detalhes .mapa iframe {
        height: 300px; /* Reduz a altura do mapa para tablets */
        
    }

    .btn-contato button {
        padding: 10px 30px;
    }
}

/* Estilos para telas maiores (desktop) */
@media (min-width: 1025px) and (max-width: 1920px) {
    section.detalhes .container {
        padding: 60px 20px;
    }

    section.detalhes .info h2 {
        font-size: 28px;
    }

    section.detalhes .info p {
        font-size: 18px;
    }

    section.formulario h2 {
        font-size: 28px;
    }

    section.formulario .form-group input,
    section.formulario .form-group textarea {
        font-size: 18px;
    }

    .btn-enviar {
        padding: 15px 30px;
    }
}