/* Variáveis de Cores Baseadas na Logo */
:root {
    --color-blue: #004d85; /* Azul da Logo */
    --color-orange: #f37021; /* Laranja da Logo */
    --color-light: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Utilitários de Texto e Cor */
.text-blue { color: var(--color-blue) !important; }
.text-orange { color: var(--color-orange) !important; }
.bg-blue { background-color: var(--color-blue) !important; }
.bg-orange { background-color: var(--color-orange) !important; }

/* Navbar Customizada */
.custom-navbar {
    background-color: #ffffff;
    border-bottom: 2px solid var(--color-orange);
    transition: all 0.3s ease;
}

.logo-img {
    height: 60px;
    object-fit: contain;
}

.navbar-center-text h1 {
    font-size: 1.5rem;
    color: var(--color-blue);
    letter-spacing: 2px;
}

.btn-outline-orange {
    color: #25D366;
    border-color: #25D366;
}

.btn-outline-orange:hover {
    background-color: #25D366;
    color: #fff;
    border-color: #25D366;
}

.btn-primary-custom {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-primary-custom:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

/* Espaçamento para o cabeçalho fixo */
.mt-custom {
    margin-top: 120px;
}

/* Lista de Vantagens */
.feature-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Carrossel Customizado */
.carrossel-img {
    height: 450px;
    object-fit: cover; /* Faz as fotos quadradas preencherem bem o espaço */
    transition: transform 0.5s ease;
}

/* Efeito de Zoom leve na imagem do carrossel */
.carousel-item.active .carrossel-img {
    transform: scale(1.03); 
}

.bg-dark-overlay {
    background-color: rgba(0, 77, 133, 0.8) !important; /* Azul com transparência */
    padding: 10px;
}

/* Cards de Produtos e Serviços */
.product-card {
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: default;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-bottom: 4px solid var(--color-orange) !important;
}

.icon-box {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.product-card:hover .icon-box {
    transform: rotateY(180deg); /* Efeito 3D divertido no ícone ao passar o mouse */
}

/* Botão Flutuante WhatsApp */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background-color: #1ebe57;
    color: #FFF;
    transform: scale(1.1);
}

/* Classes para Animação JavaScript (Scroll Reveal) */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }

.reveal-left.active, .reveal-right.active, .reveal-up.active {
    opacity: 1;
    transform: translate(0);
}

/* --- NOVAS REGRAS: MENU LATERAL, CARDS HOME E MODAIS --- */

/* Botão Hambúrguer Customizado */
.btn-menu-custom {
    border: none;
    background: transparent;
    padding: 0;
}
.btn-menu-custom:hover i {
    color: var(--color-orange) !important;
    transform: scale(1.1);
    transition: 0.2s;
}

/* Cards da Página Inicial (Serviços) */
.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}
.service-card:hover {
    background-color: var(--color-blue);
    transform: translateY(-5px);
}
.service-card:hover * {
    color: white !important;
}

/* Cursor Pointer para itens clicáveis */
.cursor-pointer {
    cursor: pointer !important;
}

/* Padronização do tamanho das imagens dentro dos Modais */
.modal-img-custom {
    width: 100%;
    height: 180px; /* Você pode aumentar ou diminuir esse valor se quiser as fotos mais altas ou mais baixinhas */
    object-fit: cover;
}

/* --- EFEITO LIGHTBOX (FOTO EM TELA CHEIA) --- */
#lightbox {
    display: none;
    position: fixed;
    z-index: 99999; /* Fica por cima de absolutamente tudo, inclusive do Modal */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Fundo preto transparente */
    backdrop-filter: blur(8px); /* Desfoca o fundo */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    object-fit: contain; /* Garante que a foto não corte na tela cheia */
}

#lightbox.active img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close-lightbox:hover {
    color: var(--color-orange);
    transform: scale(1.1);
}

/* Deixa claro para o usuário que a foto do modal é clicável (vira uma lupinha) */
.modal-img-custom {
    cursor: zoom-in !important;
}