/* 
* Estilos responsivos para o site Sandro Vales
* Autor: Manus
* Data: Abril 2025
*/

/* ===== MEDIA QUERIES ===== */

/* Tablets e dispositivos médios (até 1024px) */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .destaque-content,
    .bio-preview-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .destaque-image,
    .bio-preview-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-date {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        flex-direction: column;
    }
    
    .timeline-image {
        margin-bottom: 20px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
}

/* Dispositivos móveis (até 768px) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        height: calc(100vh - var(--header-height));
        padding: 30px 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .carousel-slide img {
        height: 350px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .lightbox-content {
        max-width: 90%;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: -45px;
    }
    
    .lightbox-next {
        right: -45px;
    }
}

/* Dispositivos móveis pequenos (até 480px) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .carousel-slide img {
        height: 250px;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-button.prev {
        left: 10px;
    }
    
    .carousel-button.next {
        right: 10px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Ajustes para telas muito grandes (acima de 1400px) */
@media screen and (min-width: 1400px) {
    :root {
        --container-width: 1320px;
    }
    
    body {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 6rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .carousel-slide img {
        height: 600px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
