
/* Variáveis */
:root {
    --cor-primaria: #2c3e50;
    --cor-secundaria: #3498db;
    --cor-destaque: #e74c3c;
}

/* Reset e Configurações Gerais */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

/* Cabeçalho */
.navbar {
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    color: #6b6565 !important;
    font-weight: 500;
    margin: 0 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #25D366 !important;
}

.whatsapp-btn {
    background: #25D366;
    color: white !important;
    border-radius: 25px;
    padding: 8px 25px !important;
    margin-left: 15px;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.logo-nav {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
}

/* Hero Section */
/* Hero Section - improve text readability */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    padding: 100px 0;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Social Links - enhance hover effects */
.social-links a {
    font-size: 24px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--cor-secundaria) !important;
}

/* Contact Form - improve focus states */
.contact-form .form-control:focus {
    border-color: var(--cor-secundaria);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    transform: translateY(-2px);
}

.hero h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Seção Sobre */
.about-section img {
    max-height: 400px;
    object-fit: cover;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Serviços */
.services-section {
    position: relative;
    z-index: 1;
}

/* Serviços */
.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Remove duplicate service-card hover rule */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Remove the second duplicate hover rule that was here */
.service-card:hover .service-img {
    transform: scale(1.05);
}

/* Performance Optimizations */
img {
    will-change: transform;
    content-visibility: auto;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    loading: lazy;
}

.map-iframe {
    loading: lazy;
}

.service-body {
    padding: 1.5rem;
    color: #333;
}

.service-body h3 {
    margin-bottom: 1rem;
    color: var(--cor-primaria);
}

.service-body p {
    color: #666;
    margin-bottom: 0;
}

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

/* Formulário de Contato */
.contact-form .form-control {
    border: 2px solid #e3e3e3;
    padding: 12px 15px;
    border-radius: 8px;
}

.contact-form .form-control:focus {
    border-color: var(--cor-secundaria);
    box-shadow: none;
}

/* Informações de Contato */
.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--cor-secundaria);
    min-width: 40px;
    text-align: center;
}

/* Mapa */
.map-iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    margin-top: 5rem;
}

.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Responsivo */
@media (max-width: 768px) {
    .navbar-collapse {
        display: none;
    }
    .navbar-collapse.show {
        display: block;
    }
    .hero {
        padding: 80px 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .service-card {
        margin-bottom: 1.5rem;
    }
    .info-item {
        flex-direction: column;
        text-align: center;
    }
}
/* Adicione para compatibilidade */
.service-card {
    display: -moz-flex;
    display: flex;
    -moz-gap: 1rem;
    gap: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--cor-secundaria);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--cor-primaria);
    color: white;
    transform: translateY(-3px);
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s;
}
.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}


