/* Estilos para o efeito parallax na home */
.parallax-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: fixed;  /* Alterado de absolute para fixed para criar o verdadeiro efeito parallax */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);  /* Aumentado a opacidade para melhorar o contraste */
    z-index: -1;
}

.parallax-content {
    text-align: center;
    color: #fff;
    padding: 30px;
    max-width: 800px;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);  /* Adicionado fundo semi-transparente */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.parallax-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);  /* Sombra mais forte */
    color: #ffffff;  /* Garantindo que a cor seja branca */
}

.parallax-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);  /* Sombra mais forte */
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);  /* Adicionado sombra para melhor visibilidade */
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

/* Estilos para os carrosséis na bio */
.bio-carousel {
    margin: 30px 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: auto; /* Alterado de altura fixa para auto */
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    height: auto; /* Alterado de altura fixa para auto */
}

.carousel-slide {
    min-width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Proporção 16:9 para manter consistência */
    position: relative;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Alterado de cover para contain para evitar cortes */
    background-color: #f5f5f5; /* Fundo leve para imagens com transparência */
}

.carousel-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 5;
}

.carousel-arrow {
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 6;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 6;
}

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

.carousel-dot.active {
    background-color: #fff;
}

/* Estilos para a nova estrutura da biografia */
.timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.timeline-content {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-text {
    margin-bottom: 20px;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .parallax-content h1 {
        font-size: 2.5rem;
    }
    
    .parallax-content p {
        font-size: 1.2rem;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
}
