/* Estilos generales para los botones de iconos sociales */
#whatsapp-button, #github-button, #linkedin-button, #email-button, #file-button {
    color: aqua;
    padding: 10px;
    border-radius: 10%;
    font-size: 175%;
    text-align: center;
    text-decoration: none; /* Elimina el subrayado predeterminado */
    margin-right: 10px;
    display: inline-block;
    position: relative; /* Necesario para el subrayado animado */
}

/* Estilo específico para el botón de WhatsApp */
#whatsapp-button {
    font-size: 175%;
}

/* Estilo específico para el botón de LinkedIn */
#linkedin-button {
    font-size: 175%;
}

/* Estilo específico para el botón de Email */
#email-button {
    font-size: 175%;
}

/* Estilo específico para el botón de Archivo */
#file-button {
    font-size: 175%;
}

/* Estilos al pasar el cursor sobre los botones */
#email-button:hover, #github-button:hover, #file-button:hover, #whatsapp-button:hover, #linkedin-button:hover {
    color: rgb(140, 247, 247);
    transition: 0.6s;
    padding: 1%;
}

/* Subrayado animado al pasar el cursor */
#email-button::after, #github-button::after, #file-button::after, #whatsapp-button::after, #linkedin-button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right , rgb(156, 255, 255),aqua);
    left: 0;
    bottom: 0;
    transition: width 0.5s;
}

#email-button:hover::after, #github-button:hover::after, #file-button:hover::after, #whatsapp-button:hover::after, #linkedin-button:hover::after {
    width: 100%;
}

#chat-button {
    color: aqua;
}

:root {
    --primary-dark: #121212;
    --secondary-dark: #1e1e1e;
    --accent-orange: #ff6b00;
    --accent-orange-hover: #ff8c3f;
    --text-white: #fff;
    --text-light: #f0f0f0;
    --text-gray: #aaa;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --shadow-normal: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 15px 30px rgba(0, 0, 0, 0.3);
}


/* === SECCIÓN GALERÍA === */
.gallery-section {
    background-color: var(--primary-dark);
    font-family: "Chakra Petch", sans-serif;
    color: aliceblue;

}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-normal);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

.gallery-item-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-item-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}