/* Otimizações para o cabeçalho e responsividade */

/* Ajustes para o cabeçalho */
header {
    padding: 10px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: font-size 0.3s ease;
}

nav ul li {
    margin-left: 15px;
}

nav ul li a {
    font-size: 0.95rem;
}

/* Melhorias para responsividade */
@media (max-width: 992px) {
    .logo {
        font-size: 1.3rem;
    }
    
    .logo span {
        display: block;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 8px 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
    
    nav ul li {
        margin: 8px 15px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .logo span {
        font-size: 0.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}


/* Estilos para o cabeçalho com scroll */
header {
    transition: transform 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

/* Estilo para o link ativo no menu */
nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Melhorias para dispositivos móveis */
@media (max-width: 768px) {
    nav ul li a.active::after {
        bottom: -2px;
    }
    
    .testimonial-item {
        transform: none !important;
    }
}

/* Otimizações para vídeos */
.video-item video {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Melhorias para acessibilidade */
.btn:focus, 
a:focus,
nav ul li a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Melhorias para o modal de imagens */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 16px 12px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

