:root {
    --header-bg: #111;
    --text-light: #ffffff;
    --container-bg: #000000;
    --subtitle-color: #cfcfcf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--container-bg);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ENCABEZADO */
.header {
    width: 100%;
    background-color: var(--header-bg);
    background-image:
    linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
    url(../images/bannerws.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.header-description {
    margin-top: 16px;
    max-width: 1200px;
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* CONTENEDOR PRINCIPAL */
.main-container {
    width: 100%;
    max-width: 1280px;
    min-height: 500px;
    padding: 1px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    margin-top: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--subtitle-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* TARJETAS DE IMAGEN */
.images-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.image-card {
    width: 100%;
    /*background-color: #111;*/
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 2px 8px rgba(255,255,255,0.06);*/
}

.image-update {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.image-card img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    display: block;
    margin: auto;
    padding: 10px;
}

/* PIE DE PÁGINA */
.footer {
    width: 100%;
    padding: 15px 10px;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #222;
}

.footer p {
    font-size: 1rem;
}

/* RESPONSIVE — tablet */
@media (max-width: 768px) {
    .header          { height: auto; min-height: 160px; padding: 24px 16px; }
    .header h1       { font-size: 2rem; }
    .header-description { font-size: 1rem; margin-top: 10px; }
    .section-title   { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 24px; }
    .main-container  { padding: 16px; min-height: unset; }
    .footer p        { font-size: 1rem; }
}

/* RESPONSIVE — móvil */
@media (max-width: 480px) {
    .header          { min-height: 130px; padding: 20px 12px; }
    .header h1       { font-size: 1.4rem; }
    .header-description { font-size: 0.875rem; margin-top: 8px; }
    .section-title   { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 16px; }
    .main-container  { padding: 12px; }
    .images-container { gap: 14px; }
    .image-card      { border-radius: 8px; }
    .image-update    { font-size: 0.8rem; padding: 8px 10px; }
    .image-card img  { padding: 6px; }
    .footer          { padding: 12px 8px; margin-top: 14px; }
    .footer p        { font-size: 0.85rem; line-height: 1.5; }
}
