/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #333;
    line-height: 1.6;
}

.header {
    text-align: center;
    padding: 15px 0;
    background-color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.logo h1 {
    color: #28a745;
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.logo img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

.banner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.banner-row.top-banners {
    justify-content: center;
}

.banner-row.bottom-banners {
    justify-content: center;
}

.banner {
    background-color: #28A745;
    color: white;
    padding: 0; /* Removed padding to make images flush */
    text-align: center;
    font-weight: bold;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 0;
}

.banner img {
    width: 100%;
    height: auto;
    display: block; /* Ensures no extra space below images */
}

.main {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
}

#image-view {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Desktop: banners full edge-to-edge in two columns */
@media (min-width: 769px) {
    .banner-row {
        width: 100%;
        justify-content: stretch;
    }

    .banner {
        border-radius: 0;
        box-shadow: none;
    }

    .banner:first-child {
        border-right: 1px solid #ffffff; /* Kept if you want a separator; remove if not needed */
    }

    .top-banners {
        margin-bottom: 0;
    }

    .bottom-banners {
        padding-top: 0;
    }
}
.header {
    text-align: center;
    padding: 0px 0;
}

/* Mobile/Tablet: banners full width stacked */
@media (max-width: 768px) {
    .banner-row {
        flex-direction: column;
        max-width: 100%;
        margin: 0;
    }

    .banner {
        width: 100%;
        border-radius: 0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .top-banners {
        margin-bottom: 0;
    }

    .bottom-banners {
        margin-top: 0;
    }

    .main {
        height: 70vh;
    }
   
    .header {
    padding: 0px 0;
}

    /* Logo siempre centrado y responsive */
.logo {
    width: 100%;
    max-width: 400px;          /* ajusta este valor según el tamaño máximo que quieras para desktop */
    margin: 0 auto;            /* centra horizontalmente */
    text-align: center;        /* por si hay texto dentro */
    padding: 10px 0;           /* espacio arriba/abajo si lo necesitas */
}

.logo img {
    max-width: 100%;           /* nunca se desborda */
    height: auto;              /* mantiene proporciones */
    display: block;            /* elimina espacio inferior fantasma */
    margin: 0 auto;            /* centra la imagen dentro del contenedor .logo */
}
}

@media (max-width: 480px) {
    .main {
        height: 60vh;
    }

    .banner {
        font-size: 0.9rem;
    }

     .logo {
        width: 60%;
        height: 60%
    }
}
/* NUEVO FOOTER */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    padding: 20px 20px;
    text-align: center;
    color: #000000;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    margin-bottom: 10px;
}

.h1 h1{
    font-size: 0.9rem;
}

.legal-links {
    color: #000000;
}

.legal-links a {
    color: #000000;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    text-decoration: underline;
    color: #525252;
}

.legal-links span {
    color: #000000;
    margin: 0 5px;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 15px 10px;
        font-size: 0.85rem;
    }
    
    .legal-links a {
        display: block;
        margin: 5px 0;
    }
    
    .legal-links span {
        display: none;
    }
}

@media (max-width: 1024px) {
    .main {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    #image-view {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain;   /* o cover si quieres que corte bordes y llene más */
    }

    /* Opcional: si hay espacio por el body o contenedores padres */
    body {
        margin: 0;   /* ← puedes mover esto fuera de la media query si quieres aplicarlo siempre */
    }
}