/* tipografías
head {
font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

Titulos{
font-family: "Ramabhadra", sans-serif;
  font-weight: 400;
  font-style: normal;
}

subtitulo{
font-family: "Barlow", sans-serif;
font-weight: 500;
font-style: normal;
}

textos{
font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}
*/

:root{
    --AzulClaro: #40BFFF;
    --AzulMedio: #1D6FB8;
    --AzulOscuro: #0C2747;
    --Amarillo: #FFC300;
    --NaranjaSuave: #F58C4B;
    --BeigeClaro: #FCE3D3;
    --Blanco: #FFFFFF;
    --GrisNeuto: #D9D9D9;
    --Negro: #000;
}

*{
    margin: 0;
    padding: 0;
}

.alineacion_head {
    background-color: var(--Negro);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.imagen_head img{
    height: 10rem;
}

.panel_head{
    width: 38rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.panel_head a{
    text-decoration: none;
    color: var(--Blanco);
}

.cuadro_head{
    background-color: var(--Amarillo);
    padding: 1rem;
    border-radius: 1rem;
}

.cuadro_head a{
    color: var(--Negro);
}

nav{
    text-align: center;
    padding: 2rem;
    background-image: linear-gradient(
        to top,
        rgba(13, 58, 92, 0.6),      /* Abajo: negro con opacidad */
        rgba(0, 0, 0, 0.6)  /* Arriba: azul con opacidad */
    ),
    url(/img/galeria/supermarket-banner-with-various-items.jpg);
    background-position: center;
    background-size: cover;
}

nav h1{
    font-family: "Ramabhadra", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6rem;
  color: var(--Blanco);
}

.imagenes {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas grandes */
    gap: 1rem;
    padding: 2rem;
}

.imagenes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out;
}

.imagenes img:hover {
    transform: scale(1.05);
}

/* footer */

.fondo_footer{
    background-color: var(--Negro);
    display: flex;
    align-items: start;
    justify-content: space-evenly;
    padding: 2rem;
}

.imagen_footer img{
    height: 20rem;
}

.links h2 {
    color: var(--Blanco);
    margin: 0rem 0rem 2rem 0rem;
    font-family: "Barlow", sans-serif;
font-weight: 500;
font-style: normal;
}

.links a {
    text-decoration: none;
    color: var(--Blanco);
    margin: .2rem;
    display: flex;
    justify-content: left;
    font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.home_footer, .about_footer, .services_footer, .projects, .mail_footer{
    display: flex;
    align-items: center;
    flex-direction: row;
}

.schedule h2{
    color: var(--Blanco);
    margin: 0rem 0rem 2rem 0rem;
    text-align: center;
    font-family: "Barlow", sans-serif;
font-weight: 500;
font-style: normal;
}

.schedule p{
    text-decoration: none;
    color: var(--Blanco);
    margin: .2rem;
    display: flex;
    justify-content: center;
    font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.dias, .horas, .sunday, .closed{
    display: flex;
    align-items: center;
    flex-direction: row;
}

svg{
    margin: .5rem;
    color: var(--AzulClaro);
}

.contactinfo_footer h2{
    color: var(--Blanco);
    margin: 0rem 0rem 2rem 0rem;
    text-align: center;
    font-family: "Barlow", sans-serif;
font-weight: 500;
font-style: normal;
}

.contactinfo_footer a{
    text-decoration: none;
    color: var(--Blanco);
    margin: .2rem;
    display: flex;
    justify-content: left;
    font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.numero_footer, .ubi_footer, .correo_footer{
    display: flex;
    align-items: center;
    flex-direction: row;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .imagenes {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
        gap: 1rem;
        padding: 1.5rem;
    }

    .panel_head {
        width: 30rem;
    }

    .imagen_head img {
        height: 8rem;
    }

    nav h1 {
        font-size: 4rem;
    }

    .fondo_footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .imagen_footer img {
        height: 15rem;
        margin-bottom: 2rem;
    }

    .links, .schedule, .contactinfo_footer {
        margin-bottom: 2rem;
    }

    .links h2, .schedule h2, .contactinfo_footer h2 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .links a, .contactinfo_footer a {
        justify-content: center;
    }
}

/* Móviles medianos (481px - 767px) */
@media screen and (max-width: 767px) {
    .imagenes {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles medianos */
        gap: 0.8rem;
        padding: 1rem;
    }

    .alineacion_head {
        flex-direction: column;
        padding: 1rem;
    }

    .imagen_head {
        margin-bottom: 1rem;
    }

    .imagen_head img {
        height: 6rem;
    }

    .panel_head {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .cuadro_head {
        padding: 0.8rem;
    }

    nav {
        padding: 1.5rem;
    }

    nav h1 {
        font-size: 3rem;
    }

    .fondo_footer {
        padding: 1rem;
    }

    .imagen_footer img {
        height: 12rem;
        margin-bottom: 1.5rem;
    }

    .links, .schedule, .contactinfo_footer {
        margin-bottom: 1.5rem;
    }

    .dias, .horas, .sunday, .closed {
        flex-direction: column;
        text-align: center;
    }

    .dias svg, .horas svg, .sunday svg, .closed svg {
        margin: 0.5rem 0;
    }
}

/* Móviles pequeños (hasta 480px) */
@media screen and (max-width: 480px) {
    .imagenes {
        grid-template-columns: 1fr; /* 1 columna en móviles pequeños */
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .panel_head {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.5rem;
    }

    .panel_head a {
        font-size: 0.9rem;
    }

    .cuadro_head {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    nav {
        padding: 1rem;
    }

    nav h1 {
        font-size: 2.5rem;
    }

    .fondo_footer {
        padding: 0.8rem;
        text-align: center;
    }

    .imagen_footer img {
        height: 10rem;
        margin-bottom: 1rem;
    }

    .links h2, .schedule h2, .contactinfo_footer h2 {
        font-size: 1.2rem;
    }

    .links a, .contactinfo_footer a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .schedule p {
        font-size: 0.9rem;
    }

    .dias, .horas, .sunday, .closed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .dias p, .horas p, .sunday p, .closed p {
        font-size: 0.9rem;
    }

    svg {
        margin: 0.3rem 0;
    }
}
