/* -------------------- RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  --primary: #FF5000;
  --secondary: #59B336;
  --text: #000;

}

html{
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -------------------- HERO -------------------- */
.hero {
  background: #f12711;
  background: -webkit-linear-gradient(to right, hsla(41, 92%, 53%, hsla(6, 89%, 51%, 0.637) #f12711)), url(../img/imaport2.jpg);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, hsla(41, 92%, 53%, 0.658), hsla(6, 89%, 51%, 0.637)), url(../img/imaport2.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background-size: cover;
  background-attachment: fixed;
  height: 780px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* oscurece la imagen para mayor legibilidad */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero img{
  padding-top: 0;
  max-width: 100%;
  max-height: 100%;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #FF5000;
  color: #fff;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #bb1503;
}

/* -------------------- TIENDAS DEL MALL -------------------- */

.titulo{
  color: var(--primary);
  font-size: 30px;
  text-align: center;
  margin-bottom: 60px;
  padding-top: 30px;
  font-weight: 900;
}

.tiendas{
  padding-left: 20px;
  padding-right: 20px;
}

#tiendas {
  text-align: center;
}

#tiendas .subtitulo {
  color: #555;
  margin-bottom: 1.5rem;
}

.categorias {
  max-width: 900px;
  margin: auto;
}

.img-tienda {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.img-tienda img{
  width: 100%;
  height: 100%;
}

/* Ocultar radios */
.categorias input {
  display: none;
}

/* Botones categorías */
.categorias label {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  background: #0d1b2a;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.categorias label:hover {
  background: #e0a800;
  color: #fff;
}

/* Contenido de categorías */
.contenido {
  margin-top: 2rem;
}

.opcion {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.opcion .card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px #FF5000;
  transition: transform 0.3s;
  
}

.opcion .card:hover {
  transform: scale(1.05);
}

/* Mostrar opción seleccionada */
#todo:checked ~ .contenido .todo,
#moda:checked ~ .contenido .moda,
#luxury:checked ~ .contenido .luxury,
#gastronomia:checked ~ .contenido .gastronomia,
#saludybelleza:checked ~ .contenido .saludybelleza,
#mascotas:checked ~ .contenido .mascotas {
  display: grid;
}

/* -------------------- SERVICIOS -------------------- */
#servicios {
  text-align: center;
  padding: 2rem 1rem;
}

#servicios h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#servicios .subtitulo {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* GRID RESPONSIVE */
.grid-servicios {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
  margin: auto;
}

/* TARJETAS DE SERVICIO */
.servicio-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.servicio-card:hover {
  transform: scale(1.05);
}

.servicio-card img {
  max-width: 100px;
  margin-bottom: 1rem;
}

.servicio-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.servicio-card p {
  font-size: 0.95rem;
  color: #555;
}

/* -------------------- VIDEOS -------------------- */
#videos {
  text-align: center;
  padding: 2rem 1rem;
}

#videos h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#videos .subtitulo {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* -------------------- EVENTOS -------------------- */
#eventos {
  text-align: center;
  padding: 2rem 1rem;
}

#eventos h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#eventos .subtitulo {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Mensaje Próximamente */
.proximamente {
  background: #f8f9fa;
  border: 2px dashed #0d1b2a;
  border-radius: 15px;
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d1b2a;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* -------------------- UBICACIÓN -------------------- */
.ubicacion{
  padding-bottom: 50px;
}

.mapas1{
  width: 80%;
  height: 400px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
  text-align: center;
  margin: auto;
}

.mapas1 iframe{
  width: 100%;
  height: 100%;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.2rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero img{
    width: 350px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .evento-card {
    flex-direction: column;
    text-align: center;
  }

  .evento-card .detalles {
    text-align: center;
  }
}

