/* Import all CSS dependencies */
@import './bootstrap.min.css';
@import './font-awesome.min.css';
@import './owl.carousel.min.css';
@import './magnific-popup.css';
@import './animate.css';
@import './meanmenu.min.css';
@import './main.css';
@import './responsive.css';

/* Custom CSS */
body {
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}



/* Layout styles */
/*.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.colab-layout {
    min-height: 100vh;
    background-color: #f8f9fa;
}*/



/********  Cabecalho *******/


/* Customizações para navbar Bootstrap */

.navbar-brand img {
    transition: transform 0.3s ease;
    height: 50px;
}

    .navbar-brand img:hover {
        transform: scale(1.05);
    }

.nav-link {
    color: #020e2a !important;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px !important;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.4s ease 0s;
    position: relative;
    transition: color 0.3s ease !important;
}

    .nav-link:hover,
    .nav-link.active {
        color: #fab909 !important;
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 8px;
}

.dropdown-item {
    color: #333 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #fab909 !important;
        color: #000 !important;
    }

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #fab909;
}

.btn-outline-warning {
    border-color: #fab909;
    color: #fab909;
}

    .btn-outline-warning:hover {
        background-color: #fab909;
        border-color: #fab909;
        color: #000;
    }

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 51, 51, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.form-control {
    border-color: #fab909;
}

    .form-control:focus {
        border-color: #fab909;
        box-shadow: 0 0 0 0.2rem rgba(250, 185, 9, 0.25);
    }

/* Responsividade */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }

        .navbar-nav .nav-link {
            padding: 0.75rem 0 !important;
            border-bottom: 1px solid #eee;
        }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown-item {
        padding-left: 2rem !important;
        font-size: 0.9rem;
    }

    .d-flex {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }
}

/* Integração com o header existente */
.mnmenu-sec {
    padding: 0;
}

    .mnmenu-sec .container {
        padding: 0;
    }





    /********************* Home ******************/


/* Media Query para tablets e dispositivos médios */
@media only screen and (max-width: 991px) {
    .about-countup {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 30px;
    }

    .counting-inner {
        margin-bottom: 20px;
    }

    .about-us-img {
        text-align: center;
        margin-top: 40px;
    }

    .why-choose-item {
        margin-bottom: 30px;
    }

    .service2-inner {
        margin-bottom: 30px;
    }

    /* .service2-details{
  width: 80% ;
  float: left;
} */

    .team-member {
        margin-bottom: 40px;
    }
}

/* Media Query para dispositivos móveis */
@media only screen and (max-width: 767px) {
    /* Seção About */
    .about-desc {
        text-align: center;
        margin-bottom: 30px;
    }

    .about-countup {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
    }

    .counting-inner {
        text-align: center;
        padding: 15px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
    }

        .counting-inner .countup-text h2 {
            font-size: 28px;
            margin-bottom: 5px;
        }

        .counting-inner .countup-text h4 {
            font-size: 14px;
        }

    /* Seção Why Choose */
    .why-choose.why-choos-bg {
        background: none !important;
    }

    .why-choose-us-before {
        background: rgba(0,0,0,0.8);
        padding: 40px 20px;
        border-radius: 10px;
        margin-top: 30px;
    }

    .why-choose-item {
        margin-bottom: 25px;
        text-align: center;
    }

        .why-choose-item .media {
            display: block;
        }

        .why-choose-item .media-left {
            margin-bottom: 15px;
        }

    .why-choose-icon {
        text-align: center;
    }

    /* Seção de Serviços */


    .service2-inner .media {
        display: block;
        text-align: center;
    }

    .service2-inner .media-left {
        margin-bottom: 15px;
        width: 25%;
        float: left;
    }


    .service2-inner .media-body {
        width: 75%;
        float: left;
        margin-bottom: 25px;
    }


    .service2-icon {
        text-align: center;
    }

    /* Galeria de Fotos */
    .project-sec .col-xs-6 {
        width: 50%;
        padding: 5px;
    }

    .project-thumb img {
        width: 100%;
        height: auto;
    }

    /* Seção de Depoimentos */
    .testimonial-sec {
        padding: 50px 0;
    }

    .testimonial-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .all-testimonial2 {
        padding: 0 15px;
    }

    .single-testimonial2 {
        text-align: center;
        padding: 20px;
    }

    .testimonial2 {
        flex-direction: column;
        align-items: center;
    }

    .testimonial2-client-img {
        margin-top: 20px;
    }

        .testimonial2-client-img img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
        }

    /* Seção de Equipe */
    .team-member {
        margin-bottom: 30px;
        text-align: center;
    }

    .team-thumb {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

        .team-thumb img {
            width: 100%;
            height: auto;
        }

    /* Seção de FAQ/Orçamento */
    .appoitment-area {
        padding: 50px 0;
    }

    .faq-sec {
        margin-bottom: 40px;
    }


    .appointment-form {
        padding: 30px 20px;
        background: rgba(255,255,255,0.95);
        border-radius: 10px;
    }

        .appointment-form h2 {
            text-align: center;
            margin-bottom: 25px;
        }

    .sngl-field {
        margin-bottom: 15px;
    }

        .sngl-field input,
        .sngl-field textarea,
        .sngl-field select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
        }

    .filed-submitbtn input {
        width: 100%;
        padding: 12px;
        background: #ffc720;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
    }

    /* Seção de Blog */
    .blog-sec .single-post {
        margin-bottom: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    .blog-thumb img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .single-post-desc {
        padding: 20px;
    }

    .post-date ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .post-date li {
        margin: 0;
    }

        .post-date li a {
            font-size: 12px;
            color: #666;
        }
}

/* Media Query para dispositivos muito pequenos */
@media only screen and (max-width: 480px) {
    .counting-inner {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }

    .why-choose-us-before {
        padding: 30px 15px;
    }


    .appointment-form {
        padding: 20px 15px;
    }

    .slider-text {
        padding: 40px 20px !important;
    }

    .sec-title h1 {
        font-size: 24px !important;
    }

    .sec-title p {
        font-size: 14px;
    }

    .project-sec .col-xs-6 {
        width: 100%;
        padding: 5px 0;
    }
}

/* Correções específicas para elementos problemáticos */
.about-countup .counting-inner {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .about-countup .counting-inner {
        display: block;
        margin: 10px auto;
    }

        .about-countup .counting-inner:nth-child(odd) {
            clear: left;
        }
}

/* Correção para o carousel de depoimentos */
.owl-carousel .owl-item {
    display: table-cell;
    float: none;
    vertical-align: top;
}

@media (max-width: 767px) {
    .owl-carousel .owl-item {
        display: block;
        float: none;
    }
}

/* Garantir que imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Correção para botões e formulários */
.btn, input[type="submit"] {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .btn, input[type="submit"] {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Correções adicionais para elementos específicos */

/* Correção para seção de serviços */
.service2-sec {
    overflow-x: hidden;
}

.service2-item .row {
    margin: 0 -10px;
}

    .service2-item .row > [class*="col-"] {
        padding: 0 10px;
    }

/* Correção para carousel de depoimentos */
.all-testimonial2 {
    overflow: hidden;
}

.testimonial2 {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 767px) {
    .testimonial2 {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Correção para imagens da equipe */
.team-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .team-thumb img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .team-thumb:hover img {
        transform: scale(1.05);
    }

@media (max-width: 767px) {
    .team-thumb img {
        height: 200px;
    }
}

/* Correção para overlay da equipe */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-thumb:hover .team-overlay {
    opacity: 1;
}

.team-overlay ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .team-overlay ul li a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.2);
        color: white;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        .team-overlay ul li a:hover {
            background: white;
            color: #e74c3c;
        }

/* Correção para títulos das seções */
.sec-title {
    text-align: center;
    margin-bottom: 50px;
}

    .sec-title h1 {
        position: relative;
        margin-bottom: 20px;
    }

        .sec-title h1 span {
            color: #c7a02a;
        }

    .sec-title p {
        max-width: 600px;
        margin: 0 auto;
        color: #666;
        line-height: 1.6;
    }

@media (max-width: 767px) {
    .sec-title {
        margin-bottom: 30px;
    }

        .sec-title h1 {
            font-size: 24px !important;
            line-height: 30px;
        }

        .sec-title p {
            font-size: 14px;
            padding: 0 15px;
        }
}

/* Correção para container fluid em dispositivos móveis */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Correção para espaçamentos */
@media (max-width: 767px) {
    .pt-100 {
        padding-top: 50px !important;
    }

    .pb-100 {
        padding-bottom: 50px !important;
    }

    .pt-50 {
        padding-top: 30px !important;
    }

    .pb-50 {
        padding-bottom: 30px !important;
    }

    .pb-70 {
        padding-bottom: 40px !important;
    }

    .pb-80 {
        padding-bottom: 45px !important;
    }
}

/* Correção para overflow horizontal */
body {
    overflow-x: hidden;
}



/* Correção para textos longos */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    hyphens: auto;
}

p {
    word-wrap: break-word;
    hyphens: auto;
}

/* Correção para links e botões em dispositivos touch */
@media (hover: none) and (pointer: coarse) {
    a, button, .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Correção para formulário de orçamento */
@media (max-width: 767px) {
    .appointment-form {
        margin: 20px 0;
    }

    .sngl-field input,
    .sngl-field textarea,
    .sngl-field select {
        height: 45px;
        font-size: 16px; /* Evita zoom no iOS */
    }

    .sngl-field textarea {
        height: 120px;
        resize: vertical;
    }
}

/* Melhoria da acessibilidade */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Correção para loading das imagens */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scroll para navegação */
html {
    scroll-behavior: smooth;
}

/* Correção final para garantir responsividade */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

    .row > [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }



    /******* Carrosel ********/

.carousel-container {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 25px;
}

.carousel-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
}

.partner-logo {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

    .partner-logo:hover {
        filter: grayscale(0%);
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}