/* Estilos customizados para LF Serviços */

/* Navegação */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Seção Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('src/123.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Animações suaves */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorias de hover para cards de serviços */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Estilo para botões */
.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Melhorias de acessibilidade */
.focus\:ring-custom:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading state para imagens */
img {
    transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
    opacity: 0.5;
}

img[data-loaded="true"] {
    opacity: 1;
}
