/* Estilos Globais */
:root {
    --primary-color: #0b4d42;
    --accent-yellow: #ffff64;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

.logo{
    width: 250px;
    height: 80px;
    padding-top:10px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(11, 77, 66, 0.2);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.bg-yellow{
    background-color: var(--accent-yellow);
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-title {
    position: relative;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-5 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.justify-content-center {
    justify-content: center;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    padding: 0 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Navbar */
.navbar {
    background-color: rgba(11, 77, 66, 0.9) !important;
    padding: 15px 0 !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 1000 !important;
    transition: var(--transition) !important;
}

.navbar.scrolled {
    padding: 10px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.navbar-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 24px !important;
    color: var(--white) !important;
    text-decoration: none !important;
}

.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    background-color: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important; 
    betw
}

.nav-item {
    margin-right: 20px !important;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    transition: var(--transition) !important;
}

.nav-link:hover {
    color: var(--accent-yellow) !important;
}

/* Hero Section */
.hero-section {
    background: url('/assets/imagens/bg_hero.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Custom Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.custom-btn {
    background-color: var(--primary-color);
    color: var(--white);
    text-transform: uppercase;
}

.custom-btn:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-color);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    padding: 10px 25px;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-color);
}

/* Custom Section */
.custom-section {
    padding: 40px 0;
}

.bg-primary-color {
    background-color: var(--primary-color);
}

.bg-light {
    background-color: #f8f9fa;
}

.text-white {
    color: var(--white);
}

.text-primary-color {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-yellow);
}

/* Team Members */
.team-member {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: var(--white);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.team-member img {
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Services */
.service-card {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Work Gallery */
.work-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
    text-decoration: none;
}

.gallery-item img {
    transition: var(--transition);
    border-radius: 5px;
    width: 100%;
    height: auto;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Modal */
.gallery-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-modal-content {
    animation: zoomIn 0.3s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Testimonials */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    transition: opacity 0.3s ease;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--white);
}

.testimonial-content h5 {
    color: var(--accent-yellow);
    font-weight: 600;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Partners */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.partner-logos img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    margin: 15px;
}

.partner-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contact Form */
.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--accent-yellow);
    outline: none;
}

textarea.form-control {
    resize: vertical;
}

/* Map */
.map-container {
    height: 350px;
    border-radius: 5px;
    overflow: hidden;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-color);
}

/* Mix text colors for primary color sections */
.bg-primary-color h2 {
    color: var(--accent-yellow);
}

.bg-primary-color p {
    color: var(--white);
}

/* Animation Classes */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__delay-1s {
    animation-delay: 1s;
}

.animate__delay-2s {
    animation-delay: 2s;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background-color: var(--primary-color) !important;
        padding: 15px !important;
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
    }
    
    .nav-item {
        margin-left: 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* Ajustes para as colunas quando Bootstrap está presente */
    .row > div[class^="col-"] {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .team-member {
        text-align: center;
    }
    
    .team-member img {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
    }
    
    .service-card {
        margin-bottom: 15px;
    }
    
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}