/* ====================================================== */
/* --- Fuente general para todo el sitio --- */
/* ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    color: #224;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* ====================================================== */
/* --- Franja superior y menú --- */
/* ====================================================== */
.encabezado-superior {
    background-color: #224;
    color: #ac9763;
    padding: 20px 0 10px 0;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu-superior {
    background-color: #224;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
}

.menu-superior a {
    position: relative;
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.menu-superior a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.menu-superior a:hover::after {
    width: 100%;
}

.menu-superior a:hover {
    color: #ac9763;
}

/* ====================================================== */
/* --- Encabezados --- */
/* ====================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    color: #224;
}

/* ====================================================== */
/* --- Galería --- */
/* ====================================================== */
.galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
}

.galeria .item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    gap: 20px;
}

/* Alternar imágenes a izquierda/derecha */
.galeria .item:nth-child(odd) {
    flex-direction: row; /* imagen izquierda, texto derecha */
}

.galeria .item:nth-child(even) {
    flex-direction: row-reverse; /* imagen derecha, texto izquierda */
}

.galeria img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}

.galeria p {
    flex: 1;
    font-size: 16px;
    color: #224;
    line-height: 1.4;
    text-align: justify;
}

/* ====================================================== */
/* --- Pie de página --- */
/* ====================================================== */
footer {
    background-color: #224;
    color: #ac9763;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}
