body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

/* Estilo para la cabecera */
header {
    background-color: #f5f5f5;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

}
/* Asegúrate de que el logo se muestre correctamente */
.logo {
    height: 50px; /* Ajusta el tamaño según lo necesites */
    margin-right: 10px; /* Espacio entre el logo y el texto */
    vertical-align: middle; /* Alinea el logo con el texto */
    width: 50px;
}
/* Estilo responsivo */
@media (max-width: 768px) {
    .logo {
        height: 40px; /* Ajusta el tamaño según lo necesites */
        margin-right: 10px; /* Espacio entre el logo y el texto */
        vertical-align: middle; /* Alinea el logo con el texto */
    }
    .branding h1 {
        font-size: 1.45em; /* Ajusta el tamaño para pantallas pequeñas */
    }
}
.branding h1 a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5em;
}
.branding .logo {
    width: 50px; /* Ajusta el tamaño del logo */
    height: auto;
    margin-right: 10px; /* Espacio entre el logo y el título */
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 20px;
    }

    nav ul li a {
        padding: 10px 0;
    }
}
nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover, nav ul li a[aria-current="page"] {
    background-color: #1abc9c;
    border-radius: 5px;
}

h1 {
    margin: 0;
}

main {
    padding: 20px;
}

footer {
    background-color: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 7px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

.content {
    flex: 1;
    padding: 0px;
    margin-left: 250px;
    margin-right: 250px;
    text-align: center;
}
.social-links {
    width: auto;
    align-items: center;
}

/* Estilo del popup */
#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 40px 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    z-index: 1200;
}

/* Título del popup */
#popup h2 {
    font-size: 30px;
    font-family: 'Arial', sans-serif;
    color: #34495e;
    margin-bottom: 15px;
}

/* Texto del popup */
#popup p {
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    color: #555;
    margin-bottom: 15px;
}

/* Botón de cerrar */
.close-popup {
    display: inline-block;
    background: #34495e;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    margin-top: 10px;
}

/* Hover para el botón de cerrar */
.close-popup:hover {
    background: #00B0F0;
}
/* Contenedor del enlace de Instagram */
.instagram-link {
    margin-top: 20px;
}

.instagram-link a {
    text-decoration: none;
    color: #34495e;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-link img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}
/* Diseño Responsivo */
@media (max-width: 768px) {
    #popup {
        width: 90%;  /* Ajuste para pantallas pequeñas */
        padding: 15px;
    }

    #popup h2 {
        font-size: 1.4em;
    }

    #popup p {
        font-size: 0.9em;
    }

    .close-popup {
        font-size: 13px;
    }

    .instagram-link {
        font-size: 1em;
    }

    .instagram-link a {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    #popup {
        width: 95%;  /* Ajuste para pantallas muy pequeñas */
        padding: 10px;
    }

    #popup h2 {
        font-size: 1.2em;
    }

    #popup p {
        font-size: 0.8em;
    }

    .close-popup {
        font-size: 12px;
    }

    .instagram-link {
        font-size: 0.9em;
    }

    .instagram-link a {
        font-size: 0.9em;
    }

    .instagram-link img {
        width: 30px;
        height: 30px;
    }
}
/* Estilo del menú de accesibilidad */
.accessibility-menu {
    position: fixed;
    top: 2%;
    right: 0;
    z-index: 1100;
}

/* Estilo del ícono del menú */
.accessibility-icon {
    background-color: #4A69BD;
    border: none;
    padding: 10px;
    cursor: pointer;
    outline: none;
}

/* Estilo de la imagen dentro del ícono */
.accessibility-icon img {
    width: 35px;
    height: 35px;
}

/* Estilo de las opciones del menú */
.accessibility-options {
    display: none; /* Se muestra solo cuando el menú está activado */
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 10px;
    width: 200px;
    position: absolute;
    top: 0;
    right: 40px; /* Ubica las opciones al lado del ícono */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Título del menú de accesibilidad */
.accessibility-options h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Lista de opciones */
.accessibility-options ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Estilo de cada opción en la lista */
.accessibility-options ul li {
    margin: 10px 0;
}

/* Estilo de los botones dentro de la lista */
.accessibility-options button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 12px;
    width: 100%; /* Hace que los botones ocupen todo el ancho */
    text-align: left; /* Alinea el texto a la izquierda */
    cursor: pointer;
    outline: none;
    margin: 5px 0;
    border-radius: 4px; /* Bordes redondeados */
}

/* Estilo al pasar el mouse sobre los botones */
.accessibility-options button:hover {
    background-color: #00B0F0;
}

/* Estilo al enfocar los botones (cuando se hace clic o se navega con el teclado) */
.accessibility-options button:focus {
    border: 2px solid #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}


/* Estilo personalizado para el h3 del popup */
.h3 {
    font-size: 1.2em; /* Tamaño de fuente más pequeño */
    color: #333; /* Color del texto */
    text-align: center; /* Centrado */
    margin-top: 10px; /* Margen superior */
    line-height: 1.4; /* Espaciado entre líneas */
    font-weight: normal; /* Peso de fuente más ligero */
}
/* Ocultar la sidebar en pantallas pequeñas */
@media (max-width: 768px) {
    .body {
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
    }
    
    /* Estilo para la cabecera */
    .header {
        background-color: #f5f5f5;
        padding: 15px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .container {
        flex-direction: column;
        text-align: center;
    }
    .footer {
        background-color: #35424a;
        color: #ffffff;
        text-align: center;
        padding: 7px 0;
        position: relative;
        width: 100%;
        bottom: 0;
    }}

@media (max-width: 768px) {
    .accessibility-icon img {
        width: 20px;
        height: 20px;
    }
    .accessibility-menu {
        position: fixed;
        top: 10%;
        right: 0;
        z-index: 1100;
    }
}
/* Sección de portada */
.hero {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 400px;
    display: block; /* Mantiene la imagen centrada y recortada si es necesario */
}

.hero-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7); /* Fondo semitransparente para que el texto destaque */
    padding: 20px;
    border-radius: 25px;
  /* Sombra elegante */
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.accessibility-features {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap; /* Permite que los chips pasen a otra línea si no caben */
    justify-content: center;
    gap: 10px;
}

.accessibility-features span {
    background: rgba(255, 255, 255, 0.2); /* Fondo semitransparente */
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.3s;
    cursor: default;
}
/* Sección regiones */
.regionesprincipal {
    padding: 0px 20px;
    text-align: center;
}

.regiones-containerprincipal {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    gap: 2px; /* Espacio entre las imágenes */
    margin-top: 10px;
    margin-bottom: 10px;
}

.regionprincipal {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto; /* Que no se estire automáticamente */
    width: 300px;   /* Ancho fijo de cada región */
    height: 300px;
    text-align: center;
}
.region-cardprincipal {
  position: relative;
  width: 380px;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-cardprincipal:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* sombra más fuerte */
}

.region-cardprincipal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 10px;
}

.region-cardprincipal:hover img {
  transform: scale(1.1); /* zoom en la imagen */
}

/* Sección regiones */
.regiones {
    padding: 0px 20px;
    text-align: center;
}

.regiones-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    gap: 2px; /* Espacio entre las imágenes */
    margin-top: 10px;
    margin-bottom: 10px;
}

.region {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto; /* Que no se estire automáticamente */
    width: 300px;   /* Ancho fijo de cada región */
    text-align: center;
}
.region-card {
  position: relative;
  width: 380px;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* sombra más fuerte */
}

.region-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.region-card:hover img {
  transform: scale(1.1); /* zoom en la imagen */
}
.region-title {
  position: absolute;
  bottom: 50%;
  left: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  width: 100%;
  padding: 10px 0;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  font-family: 'Roboto';
}
/* Sección promo */
.promo {
    background-color: #0eebbf; /* verde estilo imagen ejemplo */
    padding: 20px;
    border-radius: 10px;
    margin: 0px auto; /* centra horizontal */
    max-width: 900px;
    align-items: center;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.promo-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    transition: opacity 0.5s ease; /* efecto suave */
}

.promo-text {
    max-width: 500px;
}

.promo-text h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.promo-text p {
    font-size: 1.1rem;
}
.accessibility-features {
  padding: 12px 16px;          /* espacio interno */
  border-radius: 8px;          /* esquinas redondeadas */
  display: flex;
  flex-wrap: wrap;             /* que los spans se acomoden en varias filas */
  gap: 8px;                    /* separación entre spans */
}

.accessibility-features span {
  background-color: #222;      /* ✅ fondo de cada etiqueta */
  color: #fff;                 /* texto blanco */
  font-size: 16px;             /* tamaño de letra */
  padding: 6px 10px;           /* relleno interno */
  border-radius: 6px;          /* esquinas suaves */
  white-space: nowrap;         /* evita que se corte en varias líneas */
}
h4 {
    text-align: center;       /* Centra el texto */
    font-size: 1.5rem;        /* Tamaño del texto, ajustable */
    font-weight: 600;         /* Grosor del texto */
    color: #333333;           /* Color del texto, ajustable */
    margin: 20px 0;           /* Separación arriba y abajo */
}
.disabled-region {
    pointer-events: none; /* Desactiva el clic */
    opacity: 0.4;         /* Más opaco pero sin oscurecer demasiado */
    cursor: not-allowed;  /* Cambia el cursor al pasar sobre la región */
    position: relative;
}
.disabled-region img{
    border-radius: 10px;
}
/* Opcional: agregar un pequeño overlay “No disponible” */
.disabled-region::after {
    content: "No disponible";
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
}
.categorias {
    width: 50%;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
}

.categorias-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
}

.categorias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
}

.categoria {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.categoria img {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2));
}

.categoria p {
    font-size: 0.95rem;
    color: #000000;
    margin: 0;
}

.categoria:hover {
    transform: translateY(-5px);
}
.categoria-disabled {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.4;            /* menos opacas = "desactivadas" */
    pointer-events: none;    /* evita interacción */
    cursor: not-allowed;     /* cursor de prohibido */
    transition: opacity 0.3s ease;
}

.categoria-disabled img {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1)); /* menos fuerte */
}

.categoria-disabled p {
    color: #666; /* texto más apagado */
}
/* Pantallas pequeñas */
@media (max-width: 768px) {
  .regiones-containerprincipal {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;           /* solo arriba y abajo */
    gap: 10px;
    margin: 0;                 /* quita márgenes extra */
    width: 95vw;              /* ✅ ancho de toda la ventana */
    max-width: 100vw;          /* ✅ asegura que no se reduzca */
    box-sizing: border-box;
    margin-left: -30px;
    margin-top: -40px;
    margin-bottom: 10px;
  }
  .regionprincipal {
    flex: 0 0 200px;              /* ancho real del item */
    width: 200px;
    height: 300px;
    margin: 0;
    padding: 0;
  }
  .region-cardprincipal {
    flex: 0 0 auto;                /* que no se estiren */
    width: 200px;                  /* ✅ ancho reducido para móvil */
    height: 300px;
  }

  .region-cardprincipal img {
    width: 200px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .disabled-region img{
    width: 200px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  /* Si tienes deshabilitadas */
  .disabled-region {
    flex: 0 0 auto;
    width: 200px;
    height: 300px;
    opacity: 0.5;
    position: relative;
  }

  .disabled-region::after {
    content: "No disponible";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -75%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 10px;
  }

    /* 🔽 Personalización del scroll */
    .regiones-containerprincipal::-webkit-scrollbar {
    height: 14px;               /* grosor del scroll horizontal */
    }

    .regiones-containerprincipal::-webkit-scrollbar-track {
    background: #e0e0e0;        /* color del fondo del track */
    border-radius: 7px;
    }

    .regiones-containerprincipal::-webkit-scrollbar-thumb {
    background: #000;           /* scroll negro */
    border-radius: 7px;
    }

    .regiones-containerprincipal::-webkit-scrollbar-thumb:hover {
    background: #333;           /* un poco más claro al pasar el mouse */
    }
}



/*Resposividad*/
@media (max-width: 768px) {

  /* Sección de portada */
  .hero {
    height: auto; /* Deja que crezca con el contenido */
    flex-direction: column;
    width: 85%;
    padding: 40px;
    margin-top: -60px;
    margin-left: -15px;
  }

  .hero-image {
    height: 300px;
    width: auto; /* Más baja en tablets */
  }

  .hero-text {
    position: absolute; /* Ya no absolute */
    top: auto;
    left: auto;
    transform: none;
    padding: 15px;
    margin-top: 0%; /* Subir un poco sobre la imagen */
    font-size: 11px;
    max-width: 90%;
  }

  .accessibility-features span {
    font-size: 0.8rem;
    padding: 4px 10px;
  } 
  /* Sección promo */
  .promo-container {
    flex-direction: column;
    text-align: center;
  }

  .promo-image img {
    max-width: 100%;
  }

  .promo-text {
    max-width: 100%;
  }

  .promo-text h2 {
    font-size: 1.5rem;
  }

  .promo-text p {
    font-size: 1rem;
  }

  /* Categorías */
  .categorias {
    width: 90%;
    padding: 20px 10px;
  }

  .categorias-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .categoria img {
    width: 45px;
    height: 45px;
  }

  .categoria p {
    font-size: 0.85rem;
  }
}
/* Sección regiones */
.destacados {
    padding: 0px 20px;
    text-align: center;
}

.destacados-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    gap: 2px; /* Espacio entre las imágenes */
    margin-top: 10px;
    margin-bottom: 10px;
}
.destacados-card {
  position: relative;
  width: 380px;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.destacados-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* sombra más fuerte */
}

.destacados-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destacados-card:hover img {
  transform: scale(1.1); /* zoom en la imagen */
}
.destacados-title {
  position: absolute;
  bottom: 50%;
  left: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  width: 100%;
  padding: 10px 0;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  font-family: 'Roboto';
}
/* ✅ Responsivo para móviles */
@media (max-width: 768px) {
  .destacados-container {
    flex-direction: column;   /* tarjetas en columna */
    align-items: center;      /* centradas */
    gap: 5px;                /* espacio entre tarjetas */
  }

  .destacados-card {
    width: 100%;               /* más anchas, casi todo el ancho */
    max-width: 500px;         /* límite de ancho */
    height: 150px;            /* altura fija para que todas iguales */
  }

  .destacados-card img {
    width: 100%;
    height: 100%;             /* todas las imágenes mismo alto */
    object-fit: cover;        /* recorta si no encaja */
  }
  .destacados-title {
    position: absolute;
    bottom: 50%;
    left: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    font-family: 'Roboto';
  }
}
