* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.dashboard-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.dashboard-section:last-child {
    border-bottom: none;
}

.section-title {
    margin-bottom: 15px;
    color: #3498db;
    font-size: 1.8rem;
}

.section-description {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1rem;
}

/* Workflow ETL - Imagen horizontal extensa */
.workflow-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.workflow-container:hover {
    transform: translateY(-3px);
}

.workflow-image {
    width: 100%;
    height: auto;
    display: block;
}

/* MongoDB - Logo clickeable */
.mongodb-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.mongodb-link {
    display: inline-block;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mongodb-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mongodb-logo {
    width: 120px;
    height: auto;
}

/* Estructura RDB - Dos imágenes horizontales */
.rdb-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.rdb-container {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rdb-container:hover {
    transform: translateY(-3px);
}

.rdb-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Código Python ETL - Tres contenedores horizontales */
.python-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.python-container {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.python-container:hover {
    transform: translateY(-3px);
}

.python-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.python-description {
    padding: 12px 15px;
    background-color: #f8f9fa;
    text-align: center;
    font-weight: 500;
    color: #495057;
}

/* Consulta extra - Un contenedor */
.extra-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.extra-container:hover {
    transform: translateY(-3px);
}

.extra-image {
    width: 100%;
    height: auto;
    display: block;
}

.extra-description {
    padding: 15px;
    background-color: #f8f9fa;
    color: #495057;
}

/* Consultas SQL - 3 contenedores en cascada */
.sql-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 50px;
}

.sql-container:hover {
    transform: translateY(-3px);
}

.sql-image {
    width: 100%;
    height: auto;
    display: block;
}

.sql-description {
    padding: 12px 15px;
    background-color: #f8f9fa;
    color: #495057;
}

/* GitHub - Logo clickeable */
.github-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.github-link {
    display: inline-block;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.github-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #e9ecef;
}

.github-logo {
    width: 80px;
    height: auto;
}


.footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .rdb-gallery, .python-gallery {
        flex-direction: column;
    }
    
    .rdb-container, .python-container {
        margin-bottom: 20px;
    }
    
    .mongodb-logo {
        width: 100px;
    }
    
    .github-logo {
        width: 60px;
    }
}