/* 
   Atlantida DMC - Main Stylesheet
   Author: Cascade
   Version: 1.0
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

body {
       

  font-family: 'General Sans', sans-serif;



    font-size: 15px;
    line-height: 1.6;
    color: black;
    background-color: #fff;
    position: relative;
    touch-action: pan-y pinch-zoom;
}

a {
    text-decoration: none;
    
    transition: all 0.3s ease;
}


/*
img {
    max-width: 100%;
    height: auto;
}
*/
ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ajuste para o header fixo */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   /* margin-bottom: 0;*/
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    position: relative;
}
/*
.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 80px;
    width: auto;
}*/

nav {
    flex: 1;
  /*  margin: 0 30px;*/
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #AB0000;
}

.pacote-button:hover {
            background-color: white !important;
            color: #b5141b !important;
        }

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

.phone {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone i {
    color: #D71921;
}

.language-selector {
    position: relative;
    z-index: 1000;
    margin-left: 20px;
}

.lang-select {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.lang-select:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    min-width: 120px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-option {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.lang-option:hover {
    background-color: #f5f5f5;
    color: #D71921;
}

.lang-option.active {
    color: #D71921;
    font-weight: 500;
}

@media (max-width: 991px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    header .container {
        padding: 10px 15px;
        display: flex;
        align-items: center;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        height: 45px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }

    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        display: block !important;
    }

    .main-menu {
        flex-direction: column;
        padding: 20px;
        margin: 0;
    }

    .main-menu li {
        margin: 10px 0;
        width: 100%;
    }

    .main-menu a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }

    .contact-info {
        display: none;
    }

    .mobile-controls {
        display: flex;
        align-items: center;
    }
}

.mobile-menu-toggle {
    display: none; /* Oculto por padrão em todas as telas */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    margin-right: 10px;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block; /* Mostrar apenas em telas pequenas */
    }
    
    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav.active {
        display: block !important;
    }
    
    .main-menu {
        flex-direction: column;
        padding: 20px;
        margin: 0;
    }
    
    .main-menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }
    
    .contact-info {
        display: none;
    }
}

/* Em telas grandes, garantir que o menu principal seja visível */
@media (min-width: 992px) {
    nav {
        display: block !important;
    }
    
    .main-menu {
        display: flex;
        flex-direction: row;
    }
}

/* Ajuste para o conteúdo principal */

/* Ajustes responsivos */
@media (max-width: 768px) {
    .mobile-logo {
        max-width: 120px;
        height: auto;
        display: block;
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        height: 60px;
    }
    
    header .container {
        height: 100%;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        height: 50px;
        width: auto;
        display: flex;
        align-items: center;
        margin-left: 5px;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        max-width: none;
        object-fit: contain;
        
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav {
        order: 2;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
    }
    
    .main-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-menu.active {
        left: 0;
        display: flex;
    }
    
    .main-menu li {
        margin: 15px 0;
    }
    
    .contact-info {
        display: none;
    }
}

/* Estilos para os logotipos desktop e mobile */
.desktop-logo {
    display: block;
    height: 100%;
    width: auto;
}

.mobile-logo {
    display: none;
}

@media (max-width: 768px) {
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: block;
        max-width: 120px;
        height: auto;
    }
}


@media (max-width: 768px) {
    .banner-flash-news {
        height: 450px !important;
    }
}

@media (max-width: 768px) {
    .pacote-hero {
        height: 450px !important;
    }
}


.hero {
    position: relative;
    width: 100%;
    height: 95vh;
    overflow: hidden;
    padding-top: 0;
    margin-top: 70px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 98%;
    background-size: cover;
    background-position: center;
    display: none;
}

.slide.active {
    display: block;
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-content {
    position: absolute;
    bottom: 40%;
    transform: translateY(50%);
    left: 0;
    width: 50%;
    color: #fff;
    z-index: 3;
}

.slide-banner {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    overflow: hidden;
}

.slide-banner h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
   
    padding: 15px 30px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.btn-slide {
    display: inline-block;
    background-color: #D71921;
    color: #fff;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    padding-left: 40px;
    z-index: 2;
}

.btn-slide:hover {
    background-color: #b5141b;
    color: #fff;
}

.slide-info {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px;
    padding: 10px 30px;
    width: 100%;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 18px;
    pointer-events: auto;
    outline: none;
}

.slider-controls button:hover {
    background-color: rgba(215, 25, 33, 0.9);
    transform: scale(1.1);
}

.slider-controls button:focus {
    outline: none;
}

.prev-slide, .next-slide {
    z-index: 100;
}

.slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #D71921;
}

@media (max-width: 768px) {
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tagline {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

/* ===== TEAM SECTION ===== */
.team {
    padding: 80px 0;
}

.team h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-member {
    display: block;
    color: #333;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 14px;
    color: #666;
}

.team-link {
    text-align: center;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #666;
   
}

.services .btn {
    display: block;
    margin: 0 auto 50px;
    max-width: 350px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: 800;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    display: block;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilos para as seções de serviço e destinos */
.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding-top: 20px; /* Espaço adicional no topo */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.service-category h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #D71921;
    margin: 15px 0 0;
}

/* Estilo para todas as páginas (serviços e destinos) */
.service-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 1100px;
    margin: 0 auto;
    min-height: 350px;
}

.service-content-reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 0 0 50%;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.service-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-text li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

.service-image {
    width: 100%;
    height: 250px;
    background-color: #f5f5f5;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    transition: background-color 0.5s ease;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

/* Removido o pseudo-elemento ::before para evitar conflitos de aspect ratio */


.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    border-radius: 0;
}

.service-image img.lazy {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.service-image img.lazy.loaded {
    opacity: 1;
    transform: scale(1);
}

.service-image.loaded {
    background-color: transparent;
}

.service-image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D71921;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.service-image.loaded::after {
    opacity: 0;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.service-image img.error {
    opacity: 0.7;
    filter: grayscale(50%);
}

@media (max-width: 767px) {
    .service-image::before {
        padding-top: 75%; /* Proporção mais alta para dispositivos móveis */
    }
    
    .service-image::after {
        width: 24px;
        height: 24px;
        border-width: 2px;
    }

    .services {
    padding: 0px !important;
    background-color: #f9f9f9;
}

}

.service-item h3 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}



.service-item p {
    text-align: center;
    padding: 0 15px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .service-text, .service-image {
        flex: 0 0 100%;
    }
    
    .service-content, .service-content-reverse {
        flex-direction: column;
    }
    
    .service-image {
        min-height: 300px;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    padding: 80px 0;
    background-color: #D71921;
    color: #fff;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
}

#newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.newsletter .btn {
    background-color: #fff;
    color: #D71921;
    padding: 15px;
   
}

.newsletter .btn:hover {
    background-color: #f0f0f0;
}

/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: #fff;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col.contacts {
    min-width: 400px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
}

.footer-logo img {
    height: 100%;
}

.footer-contact a {
    color: #fff;
    font-size: 18px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #D71921;
}

.footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-bottom: 30px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav li {
    margin: 0 20px;
}

.footer-nav a {
    color: #fff;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Ajustes para o footer */
footer h3 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer ul li {
    margin-bottom: 10px !important;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

footer ul li a:hover {
    color: #fff !important;
}

@media (max-width: 768px) {
    footer .col {
        padding: 0 15px !important;
        margin-bottom: 30px !important;
    }
    
    footer h3 {
        text-align: left !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 767px) {
    footer h3 {
        padding-left: 15px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-col {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .footer-col h3 {
        margin-left: 0;
    }
    
    .footer-col ul {
        padding-left: 0;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h1 {
        font-size: 40px;
    }
    
    .slide-content p {
        font-size: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        height: 60px;
    }
    
    .logo {
        height: 50px;
        width: auto;
        display: flex;
        align-items: center;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav {
        order: 2;
        width: 100%;
    }
    
    .main-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-menu.active {
        left: 0;
        display: flex;
    }
    
    .main-menu li {
        margin: 15px 0;
    }
    
    .contact-info {
        display: none;
    }
    
    .hero {
        margin-top: 60px;
        height: 80vh;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .tagline {
        font-size: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav li {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Otimizações para imagens */
.service-image, .about-image, .slide {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5; /* Cor de fundo enquanto a imagem carrega */
}

.service-image img.lazy, .about-image img.lazy, .slide img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-image img.loaded, .about-image img.loaded, .slide img.loaded {
    opacity: 1;
}

.placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    z-index: 1;
}

img.lazy {
    z-index: 2;
}

/* Efeito de blur-up para imagens */
.blur-up {
    filter: blur(5px);
    transition: filter 0.5s ease;
}

.blur-up.loaded {
    filter: blur(0);
}

/* Otimizações para dispositivos móveis */
@media (max-width: 768px) {
    img.lazy {
        transform: scale(0.95);
        transition: transform 0.3s ease, opacity 0.5s ease;
    }
    
    img.lazy.loaded {
        transform: scale(1);
    }
    
    /* Reduz a qualidade das imagens de fundo em mobile para melhor desempenho */
    .hero-slider .slide {
        background-size: cover;
        background-position: center;
        background-attachment: scroll !important; /* Evita parallax em mobile */
    }
}

/* Loading spinner para imagens */
.service-image {
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D71921;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.service-image.loaded::before {
    opacity: 0;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.service-image img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-image img.loaded {
    opacity: 1;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    margin-top: 80px;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 36px;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-box {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
}

.contact-info-box h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: #D71921;
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-item p {
    color: #666;
    line-height: 1.5;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #D71921;
}

.contact-form-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D71921;
}

.submit-btn {
    background-color: #D71921;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #b5141b;
}

.map-section {
    padding: 0 0 80px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */


@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section h1 {
        font-size: 30px;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 30px;
    }
    
    .contact-section h1 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .map-section {
        padding: 0 20px 60px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 20px;
    }
    
    .contact-item i {
        font-size: 20px;
    }
    
    .contact-item h3 {
        font-size: 16px;
    }
}
