#hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 18s infinite ease-in-out;
    will-change: opacity, transform;
}

.bg1 {
    background-image: url("../images/hero1.png");
    animation-delay: 0s;
}

.bg2 {
    background-image: url("../images/hero2.png");
    animation-delay: 6s;
}

.bg3 {
    background-image: url("../images/hero3.png");
    animation-delay: 12s;
}

.logo-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.85) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.logo-container img {
    width: 45%;
    max-width: 600px;
    min-width: 280px;
    animation: fadeIn 1.5s ease-out;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--color-text);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@media (max-width: 768px) {
    #hero {
        height: 70vh;
        min-height: 450px;
    }

    .logo-container img {
        width: 80%;
    }
    
    .scroll-indicator {
        bottom: 25px;
    }
    
    .scroll-indicator::after {
        height: 25px;
    }
}
