/* Estilos globais */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
/*    padding: 0;*/
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #ff4000;
	font-size: 105%;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

h1, h2, h3 {
    color: #222;
}

/* Header */
header {
    background: #d1d1d1;
    padding: 20px 0;
}

.logo img {
    max-height: 200px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

.cta {
    display: flex;
    justify-content: center;
}

.cta a {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;

}

/* Main Banner */
.banner {
    display: flex;
/*    background-size: cover;*/
    background-repeat: no-repeat; /* Evita repetição da imagem */
    background-image: url('banner.png'); /* Substitua pela imagem real */
    background-position: top;
    background-color: #a1a1a1;
    color: black;
    min-height: 50vh; /* Define uma altura mínima de 50% da viewport */
    text-align: center;
    align-items: center; /* Centraliza horizontalmente */
    justify-content: center; /* Centraliza horizontalmente */
}

/* Estilo do título */
.banner h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 3px #a0a0a0;
    margin-top: 460px; /* Espaçamento abaixo do título */
    margin-bottom: 20px; /* Espaçamento abaixo do título */
}

/* Estilo do parágrafo */
.banner-text p {
    color: white;
    text-shadow: 2px 2px 3px #606060;
	max-width: 1000px
/*    margin-bottom: 30px; /* Espaçamento abaixo do parágrafo */
}

/* Serviços */
.services {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-card {
    background: white;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    width: 22%;
}

.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
}


/* Estilos dos botões */
.services .btn, .btn1 {
    flex-direction: column; /* Coloca os botões e o conteúdo em uma coluna */
/*    justify-content: center; /* Centraliza verticalmente */
    align-items: center; /* Centraliza horizontalmente */
    display: block; /* Certifica-se de que cada botão esteja em sua própria linha */
    padding: 10px 20px;
    background-color: #28A745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px; /* Espaçamento vertical entre os botões */
    max-width: 400px; /* Define uma largura para os botões */
    text-align: center; /* Centraliza o texto dentro dos botões */
}

/* Estilo para o segundo botão */
.services .btn1 {
    background-color: #007BFF;
    color: white;
}

/* Sobre Nós */
.about {
    padding: 60px 0;
    text-align: center;
}

/* Blog */
.blog {
    padding: 60px 0;
    background: #f4f4f4;
}

.blog-posts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.blog-post {
    background: white;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    width: 30%;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    text-align: justify;
    background: #007BFF;
    color: white;
}

.testimonial {
    max-width: 600px;
    margin: 0 auto 30px;
    font-style: italic;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.footer-links ul li a {
    color: #fff;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin: 5px 0;
}

.social-icons img {
    width: 30px;
    margin: 0 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .service-cards, .blog-posts {
        flex-direction: column;
    }

    .service-card, .blog-post {
        width: 80%;
    }
}

/* Estilos básicos para o modal */
.modal {
    display: none; /* Inicialmente, o modal está oculto */
    position: fixed;
    z-index: 1; /* Garante que ele fique acima do conteúdo */
    left: 0;
    top: 0;
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
}

/* Conteúdo do modal */
.modal-content {
    background-color: #fff;
    margin: 5% auto; /* Centraliza verticalmente e horizontalmente */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Largura do pop-up */
    max-width: 1200px; /* Limite máximo de largura */
    max-height: 70vh; /* Limita a altura do pop-up */
    overflow-y: auto; /* Permite rolagem vertical */
}

/* Botão para fechar o modal */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
