/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
}

header {
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container img {
    height: 60px;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

/* Navegación */
nav {
    background-color: #333;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 10px 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bcd4;
}

.nav-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

/* Sección */
section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Presentación */
.presentacion h1 {
    color: #00bcd4;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.presentacion p {
    margin-bottom: 20px;
    color: #000000;
}

/* Imágenes de acceso rápido */
.imagenes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 50px; /* separación visual con redes sociales */
}

.imagen img {
    width: 100%;
    max-width: 180px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.imagen img:hover {
    transform: scale(1.05);
}

/* Redes sociales */
.social_media {
    text-align: center;
    margin: 20px;
    flex: 1 1 120px;
}

.social_media i {
    transition: transform 0.3s;
}

.social_media i:hover {
    transform: scale(1.1);
}

.social_media p {
    margin-top: 5px;
    color: #bbb;
}

/* Agrupar redes por separado */
.redes_sociales {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Footer horizontal */
footer {
    background-color: #1f1f1f;
    color: #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 10px;
    border-top: 1px solid #333;
}

.footer_links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

footer a.button {
    background-color: #00bcd4;
    color: #000;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}

footer a.button:hover {
    background-color: #008c9e;
}

.jumbotron {
    background-color: #1e1e1e;
    color: #000000;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 40px 20px;
    padding: 50px 20px;
}

.btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
}

.personalizado {
    background-color: #1e1e1e;
    color: #f1f1f1;
    padding: 30px 20px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 40px;
}

.personalizado img {
    margin-top: 15px;
    width: 180px;
    height: auto;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .jumbotron h2 {
        font-size: 1.8rem;
    }

    .jumbotron p,
    .personalizado h5 {
        font-size: 1rem;
    }

    .footer_buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .imagenes {
        flex-direction: column;
        align-items: center;
    }

    .redes_sociales {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer_links, .footer_direccion {
        width: 100%;
    }
}

