/* Hero Mobile Fix - Asegura que la imagen de fondo cubra toda la pantalla */

/* Ajustar el hero para que cubra toda la pantalla */
.hero {
    position: relative;
    overflow: hidden;
    background-image: url('../img/Portfolio/GOOGLE/Fiesta Google-2-compressed.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 50px !important;
    min-height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Eliminar cualquier margen o padding que pueda estar causando el espacio */
body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Ajustar el contenido del hero */
.hero-content {
    position: relative !important;
    z-index: 2 !important; /* Mayor que la capa de opacidad para que esté por encima */
}

/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px !important; /* Espacio suficiente para evitar superposición con el header */
        margin-top: 60px !important;
    }
    
    /* Animación sutil con GSAP para el contenido del hero */
    .hero-content {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease forwards 0.5s;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Asegurar que el hero tenga suficiente altura en móviles */
    .hero {
        min-height: 100vh !important;
        padding-top: 80px !important;
    }
}

/* Overlay unificado con degradado suave - Versión más oscura */
.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.85) 0%, /* Mucho más oscuro arriba para mejor contraste */
        rgba(0, 0, 0, 0.8) 20%,
        rgba(0, 0, 0, 0.75) 40%,
        rgba(15, 15, 15, 0.8) 60%,
        rgba(15, 15, 15, 0.9) 80%,
        rgba(15, 15, 15, 1) 100%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Asegurar que el header esté por encima del hero pero sin fondo */
.header {
 
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: transparent !important;
}

/* Estilos para el contenedor de partículas */
.particles-container {
    z-index: -3 !important;
    opacity: 0.5 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
