/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #000000; /* Fundo preto */
    color: #e0e0e0;
    overflow-x: hidden;
}

header {
    background-color: #000000; /* Cabeçalho com fundo preto */
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    max-height: 60px;
    margin-right: 15px;
    border-radius: 5px;
}

header .logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff5722;
    text-transform: uppercase;
}

header .banner {
    background-color: #ff5722;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
}

.logo a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

.logo a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.menu li {
    margin: 0 20px;
}

.menu a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

.menu a:hover {
    color: #ff5722;
    border-bottom: 2px solid #ff5722;
}

main {
    padding: 30px;
    max-width: 1200px;
    margin: auto;
}

.section {
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ff5722;
}

/* Cartões de serviços */
.servicos-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(70%); /* Escurece a imagem para dar destaque ao texto */
    transition: filter 0.3s;
}

.card:hover img {
    filter: brightness(50%); /* Efeito de escurecimento ao passar o mouse */
}

.card-content {
    padding: 20px;
    background-color: #ffffff;
}

.card-content h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content h3 i {
    font-size: 1.8rem;
    color: black;
}

.card-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Efeito para o título e ícone */
.card-content h3 i {
    animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px);
    }
}

/* Contatos */
.contatos-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contato-item {
    display: flex;
    align-items: center;
    margin: 15px;
    color: #e0e0e0;
}

.contato-item i {
    font-size: 2rem;
    margin-right: 15px;
    color: #ff5722;
}

.contato-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contato-text p {
    font-size: 1rem;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: #000000;
    color: #e0e0e0;
}

footer p {
    font-size: 1rem;
    margin: 0;
}

/* Estilo para o link do Instagram */
.contato-text p a {
    text-decoration: none; /* Remove o sublinhado */
    color: #e0e0e0; /* Cor do texto do link */
    font-weight: bold; /* Deixa o texto mais destacado */
}

.contato-text p a:hover {
    color: #ff5722; /* Muda a cor do link ao passar o mouse */
}

/* Responsividade */

/* Mobile */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        margin-top: 20px;
    }

    .menu li {
        margin: 10px 0;
    }

    .servicos-cards {
        grid-template-columns: 1fr 1fr; /* 2 colunas */
    }

    h2 {
        font-size: 2rem;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .servicos-cards {
        grid-template-columns: 1fr 1fr 1fr; /* 3 colunas */
    }

    .card-content h3 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .servicos-cards {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    }
}
