/* 
    Créditos: Cristhian Yalle 
    Descripción: Estilos responsivos para el sitio web de la comunidad de desarrolladores Grupo Yalle.
    Fecha: 2025-06-15
    Licencia: MIT License
    Este archivo contiene estilos CSS para hacer que el sitio web sea responsivo y se adapte a diferentes tamaños de pantalla.
*/

/* Sección hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 50px;
    padding: 40px;
}

.hero-text {
    flex: 1;
    max-width: 400px;
    text-align: right;
}

.hero-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #430099;
}

.hero-text h5 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #430099;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff8eff;
}

.hero-text h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #430099;
}

.hero-text .float {
    width: 100%;
    border-radius: 10px;
    /*box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);*/
    animation: float 3s ease-in-out infinite;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    /*box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);*/
    animation: float 3s ease-in-out infinite;
}




@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Galería */
.gallery-section {
    padding: 80px 40px;
    /*background-color: rgba(0, 0, 0, 0.7);*/
    /*background-color: rgb(172 255 250 / 70%);*/
    background: linear-gradient(140deg, #ff8eff 30%, #9cf5ff 74%);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #ff8eff;
}

.section-title-inv {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #fff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    transition: all 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }

    .mega-menu.active {
        left: 60px;
    }

    .main-content {
        margin-left: 60px;
    }

    .hero-text {
        padding: 0px 15px
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero {
        padding: 10px;
    }

    .event {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        justify-content: space-around;
        padding: 10px;
    }

    .event-day,
    .event-month {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }
}