/* Configurações Globais */
:root {
    --color-primary: #FFC107; /* Amarelo Vibrante (do seu cartão) */
    --color-secondary: #464343;  /* Preto */
    --color-text-light: #FFF; /* Branco */
    --color-text-dark: #333;  /* Cinza escuro */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (Hero Section) */
.hero {
    background-color: var(--color-secondary);
    color: var(--color-text-light); /* Texto branco para dar leitura */
    padding: 40px 0;
    text-align: center;
    border-bottom: 5px solid var(--color-primary); /* Troquei secondary por primary para destaque */
}

.logo {
    font-size: 3em;
    font-weight: bold; 
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 400px; /* Tamanho controlado */
        height: auto;
    }
}
    

.logo-text {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.logo i {
    color: var(--color-secondary);
    margin-left: 10px;
}

.hero h1 {
    font-size: 3.5em;
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 30px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #25D366; /* Verde WhatsApp */
    color: var(--color-text-light);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #128C7E;
}

.cta-button i {
    margin-right: 10px;
}

/* Sections */
.section {
    padding: 60px 0;
    text-align: center;
}

.section:nth-child(odd) {
    background-color: #f4f4f4;
}

.section h3 {
    font-size: 2em;
    margin-bottom: 40px;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 5px;
}

/* Service Grid */
.service-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item {
    background: var(--color-text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Container Principal */
.dicas-container {
    padding: 60px 20px;
    background-color: #f4f7f6; /* Cor de fundo clara para contrastar com o header escuro */
    text-align: center;
}

.titulo-secao {
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

/* Grid que organiza os cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsivo automático */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo Individual do Card */
.card-dica {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-bottom: 4px solid #00b4d8; /* Linha colorida na base */
}

.card-dica:hover {
    transform: translateY(-10px); /* Efeito de flutuar ao passar o mouse */
}

/* Ícones dentro dos cards */
.card-dica i {
    font-size: 2.5rem;
    color: #00b4d8;
    margin-bottom: 20px;
}

.card-dica h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

.card-dica p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.whatsapp-card a:hover {
    color: var(--color-primary);
    /*BANNER FULL*/
}
.banner-full {
    width: 100%;
    height: 450px; /* Altura da imagem no desktop */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://infordominio.com.br/wp-content/uploads/2023/02/infordomino-manutencao-de-computadores.jpg'); /* Substitua pelo URL da sua imagem */
    background-size: cover;      /* Faz a imagem preencher todo o espaço */
    background-position: center; /* Centraliza a imagem */
    background-attachment: fixed; /* Opcional: cria um efeito de parallax suave */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .banner-full {
        height: 300px;
    }
    .banner-content h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
.footer-contato {
    background-color: #1a1a1a; /* Fundo escuro elegante */
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Deixa redondo */
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Cores ao passar o mouse (Hover) */
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    transform: scale(1.1);
}

.social-icon.facebook:hover {
    background-color: #1877f2;
    transform: scale(1.1);
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
    transform: scale(1.1);
}

.copyright {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
}

/* Media Queries para Responsividade (Mobile) */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .service-grid {
        flex-direction: column;
    }
}
/* Estilos para a seção de galeria/exemplos */

.gallery-section {
    background-color: #f9f9f9;
}

.image-showcase {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaçamento entre as imagens */
    flex-wrap: wrap; /* Permite que as imagens quebrem a linha em telas pequenas */
}

.image-item {
    flex: 1 1 300px; /* Define um tamanho base de 300px, mas permite que cresçam ou diminuam */
    max-width: 350px; /* Limita o tamanho máximo no desktop */
    text-align: center;
    margin-bottom: 20px;
}

.image-item img {
    width: 100%; /* Faz a imagem ocupar 100% do seu container (350px no desktop) */
    height: auto; /* Mantém a proporção da imagem */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-item p {
    margin-top: 10px;
    font-weight: bold;
    color: var(--color-secondary);
}

/* Ajuste para telas pequenas (celulares) */
@media (max-width: 768px) {
    .image-showcase {
        flex-direction: column; /* Coloca as imagens uma abaixo da outra no celular */
        align-items: center;
    }
    .image-item {
        max-width: 90%; /* Ocupa a maior parte da largura da tela */
    }
}
/* Estilização do Lightbox */
.lightbox-modal {
    display: none; /* Começa escondido */
    position: fixed; /* Fica fixo na tela */
    z-index: 999; /* Fica sobre todos os outros elementos */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Fundo preto transparente */
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 90vh; /* Para garantir que caiba na tela */
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Animação para o zoom suave ao abrir */
@keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
}

/* Botão de Fechar */
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}
/* Carrossel de Imagens */
.carousel-container {
    max-width: 900px; /* Largura máxima do carrossel */
    position: relative;
    margin: auto;
    overflow: hidden; /* Garante que as imagens não transbordem */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: none; /* Esconde todos os slides por padrão */
}

.carousel-slide img {
    width: 100%;
    height: auto;
    vertical-align: middle; /* Remove espaço extra abaixo da imagem */
    object-fit: cover; /* Garante que a imagem cubra a área, cortando se necessário */
    max-height: 450px; /* Altura máxima para os slides */
}

/* Texto de legenda sobre a imagem */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fundo semi-transparente */
    color: white;
    padding: 15px;
    text-align: center;
}

.carousel-caption h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1em;
}


/* Botões de Próximo e Anterior */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 6px 6px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.prev {
    left: 0; /* Alinha o botão "Anterior" à esquerda */
    margin-left: -50px; /* Puxa para fora do carrossel */
}

.next {
    right: 0; /* Alinha o botão "Próximo" à direita */
    margin-right: -50px; /* Puxa para fora do carrossel */
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Pontos indicadores (dots) */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: var(--color-primary); /* Usa o amarelo do seu tema */
}

/* Animação de Fade (transição) */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .prev, .next {
        font-size: 14px;
        padding: 10px;
    }
    .carousel-caption h4 {
        font-size: 1.2em;
    }
    .carousel-caption p {
        font-size: 0.9em;
    }
}