/* 
   Prolog Projetos - Estilos Principais
   Autor: Trae AI
   Versão: 1.0
*/

/* Variáveis de Cores */
:root {
    --primary-color: #145CA2; /* Azul Escuro */
    --primary-dark: #2C445F; /* Azul Acinzentado para fundos */
    --primary-light: #00A2E3; /* Azul Claro para textos */
    --secondary-color: #B1835E; /* Dourado escuro */
    --accent-color: #FCD29B; /* Dourado Claro */
    --dark-color: #2C445F; /* Azul Acinzentado */
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #FCD29B; /* Dourado Claro */
    --info-color: #00A2E3; /* Azul Claro */
    --white: #ffffff;
    --black: #000000;
    --cs-orange: #fb850E;
    --cs-w-orange: #ffab57;
}

/* Estilos Gerais */
body {
    font-family: "Open Sans", sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: white;
    text-decoration: none;
}

a.whatsapp-float:hover {
    color: white;
}

.btn {
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--cs-orange);
    border-color: var(--cs-orange);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--cs-orange);
    font-family: "Open Sans", sans-serif;
    font-weight: bolder;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--cs-orange); /* Dourado claro para detalhes */
    margin-top: 0.8rem;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.lead
{
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
}

.highlight
{
    color: var(--cs-orange);
}

.justified
{
    text-align: justify!important;
}

/* Animação de Flutuação */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: RGBA(1, 7, 52, 0.9);
    background: -webkit-linear-gradient(180deg,rgba(1, 7, 52, .9) 78%, rgba(0, 0, 0, 0) 100%);
    background: -moz-linear-gradient(180deg,rgba(1, 7, 52, .9) 78%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(180deg,rgba(1, 7, 52, .9) 78%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr="#010734BF",
        endColorstr="#00000000",
        GradientType=0
    );
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
        transition: all 0.3s ease;
        background: RGBA(1, 7, 52, 0.9);
        background: -webkit-linear-gradient(180deg,rgba(1, 7, 52, .9) 95%, rgba(0, 0, 0, 0) 100%);
        background: -moz-linear-gradient(180deg,rgba(1, 7, 52, .9) 95%, rgba(0, 0, 0, 0) 100%);
        background: linear-gradient(180deg,rgba(1, 7, 52, .9) 95%, rgba(0, 0, 0, 0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#010734BF",
            endColorstr="#00000000",
            GradientType=0
        );
        /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-brand .text-primary {
    color: var(--cs-orange) !important; /* Dourado claro para o nome PROLOG */
}

.navbar-brand .text-secondary {
    color: var(--white) !important; /* Branco para o texto Projetos */
}

.navbar-light .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--cs-orange); /* Dourado claro para links ativos */
}

.navbar-light .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--cs-orange);
}

.navbar-light .navbar-nav .nav-link.btn-link:hover
{
    color: white;;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: white;
}

.navbar-brand img, .navbar-brand p
{
    margin-left: 2rem;
}

.sub-logo
{
    font-size: small;
}

.btns-circle:last-child a
{
    margin: 0 2rem;
}

.btn-link
{
    border: 2px solid var(--cs-orange);
    border-radius: 5px;
    color: var(--cs-orange);
}

.btn-link:hover
{
    border: 2px solid var(--cs-orange);
    border-radius: 5px;
    background: var(--cs-orange);
    color: white;
}

a.btn-link
{
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Serviços */
.service-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-color);
    color: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--cs-orange); /* Dourado claro para fundo de ícones */
    color: white; /* Dourado escuro para ícones */
    font-size: 1.8rem;
    margin: 0 auto;
}

/* Pilares */
.pillar-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--cs-orange); /* Dourado claro para fundo de ícones */
    color: white; /* Dourado escuro para ícones */
    font-size: 2rem;
    margin: 0 auto;
}

/* Contato */
.contact-info {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    height: 100%;
}

.contact-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--cs-orange); /* Dourado claro para fundo de ícones */
    color: white; /* Dourado escuro para ícones */
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) rotate(360deg);
    transition: transform 0.5s ease;
}

/* Footer */
footer {
    background-color: #042433; /* Azul Acinzentado para fundo */
}

footer a {
    color: var(--light-color);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--cs-orange)!important;
    text-decoration: none;
}

footer .footer-col-links, footer .footer-col-contato
{
    margin-top: 3rem;
}

/* Carousel de Clientes */
.clients-carousel {
    padding: 2rem 0;
    /* Removido o fundo cinza */
}

.client-carousel-container {
    max-height: 150px;
    overflow: hidden;
    padding: 1rem 0;
}

.client-logo {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Ocultar setas de navegação do carousel de clientes */
#clientsCarousel .carousel-control-prev,
#clientsCarousel .carousel-control-next {
    display: none;
}

/* Ajustes para o carousel de clientes mostrar 4 itens no desktop e 2 no mobile */

#clientsCarousel .carousel-inner {
    display: flex;
}

#clientsCarousel .carousel-item {
    transition: transform 0.6s ease;
}

#clientsCarousel .carousel-item.active {
    display: flex;
}

@media (max-width: 768px) {
    #clientsCarousel .carousel-item.active {
        display: block;
        text-align: center;
        transition: transform 0.6s ease;
    }
}

/* Hero Carousel */
.carousel-caption {
    bottom: 20%;
    z-index: 10;
    padding: 0 100px;
    text-align: left;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.25rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.carousel-caption .btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

#heroCarousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

#heroCarousel .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--cs-orange);
    color: white;
    transform: translateY(-3px);
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 992px) {
    .navbar {
        padding: 0.5rem;
        
    }

    .btns-circle:last-child a
    {
        margin: 0.5rem 0;
    }

    .hero-section {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .service-card, .pillar-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* CUSTOM */
.contact-info, .contact-form
{
    transition: all 0.3s ease;
    box-shadow: #0000002e 0px 0px 10px;
    height: 380px;
}

.contact-info:hover, .contact-form:hover
{
    transform: translateY(-15px) scale(1.03);
}

.card
{
    transition: all 0.3s ease;
}

.card:hover
{
    transform: translateY(-15px);
}

.card.bg-dark .bg-danger, .card.bg-white .bg-success
{
    min-height: 188.78px;
}

.breadcrumb li a, .breadcrumb li
{
    color: var(--cs-orange)!important;
    font-weight: bold;
}

.breadcrumb li::before
{
    color: var(--primary-light)!important;
}

.gold-icon
{
    color: var(--secondary-color);
}

.orange-icon
{
    color: var(--cs-orange);
}

.underline
{
    content: '';
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--cs-orange);
    font-weight: bold;
}

.gold-text
{
    color: var(--accent-color);
}

.orange-text
{
    color: var(--cs-orange);
}

.service-card .card-body
{
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

/* Desgrudando Botões e deixando centralizados no Mobile */
@media (max-width: 768px)
{
    .servico-btns
    {
        text-align: center;
    }

    .servico-btns > a:first-child
    {
        margin: 0.5rem;
    }
}


/* Efeito Parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax h1, .parallax h2, .parallax h3, .parallax h4, .parallax h5, .parallax h6, .parallax p, .parallax span, .parallax li  {
  font-weight: bold; 
}

.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.parallax .container
{
    z-index: 3;
}

/* Responsividade para Parallax */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll; /* Desativa o efeito fixo em telas menores para melhor desempenho */
        min-height: 300px;
    }

    .carousel-caption
    {
        padding: 0;
        text-align: center;
    }

    .carousel-caption h1
    {
        font-size: 2rem;
    }

    .carousel-caption p
    {
        font-size: 1rem;
    }

   .navbar-toggler
   {
        border-width: 2px;
        border-color: var(--cs-orange);
        background: whitesmoke;
   }
}

.page-header .container
{
    z-index: 3;
}

.rounded-circle i
{
    padding: 0 5px;
}

.p-index
{
    background-image: url('../img/index/parallax.webp');
}

@media (max-width: 768px) {
    .fix-mob-exp
    {
        flex-direction: column
    }
}