/* -------------------- */
/* FUENTES PERSONALIZADAS */
/* -------------------- */
@font-face {
  font-family: 'Mistrully';
  src: url('../fonts/Mistrully.ttf') format('truetype');
}
/* -------------------- */
/* VARIABLES CSS */
/* -------------------- */
:root {
  --color-principal: #a52a2a;
}

/* -------------------- */
/* BASE */
/* -------------------- */
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f3e7d9;
  color: #5b352e;
}

/* -------------------- */
/* ANIMACIONES */
/* -------------------- */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------- */
/* ENCABEZADO */
/* -------------------- */
.encabezado {
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
  text-align: center;
  background: transparent;
  z-index: 1;
}

.encabezado::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/estrellas.gif') repeat;
  background-size: cover;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 2;
  width: 250px !important;
  max-width: 90%;
  border-radius: 5%;
  margin: 0 auto;
  display: block;
}

/* Botón catálogo arriba a la derecha */
.btn-catalogo {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  font-size: 1.5rem;
  background: rgba(255,255,255,0.2);
  padding: 5px 10px;
  border-radius: 8px;
  color: rgb(213, 200, 200);
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-catalogo:hover {
  background: rgba(255,255,255,0.4);
}

/* -------------------- */
/* NAVEGACIÓN */
/* -------------------- */
nav {
  background-color: #e2c3a4;
  padding: 1rem;
  text-align: center;
  font-size: 14px;
  letter-spacing: 3px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #5b352e;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #6e443d;
  text-decoration: underline;
}

.menu a.activo {
  color: var(--color-principal);
}

/* -------------------- */
/* CATÁLOGO */
/* -------------------- */
.catalogo {
  text-align: center;
  margin: 3rem auto;
  animation: fade-in 1s ease-out;
}

.catalogo a {
  display: inline-block;
  background-color: #808080;
  color: #5b352e;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.catalogo a:hover {
  background-color: #6e443d;
  color: #f3e7d9;
}

/* -------------------- */
/* TEMPORADA */
/* -------------------- */
.slider-temporada {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.temporada {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Mistrully', 'Pacifico', cursive;
  font-size: 3em;
  color: #7e2222;
  padding: 1rem 2rem;
  background-color: rgba(151, 145, 145, 0.7);
  border-radius: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.slider-temporada .prev,
.slider-temporada .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}

.slider-temporada .prev { left: 10px; }
.slider-temporada .next { right: 10px; }

.slider-temporada .prev:hover,
.slider-temporada .next:hover {
  background-color: rgba(0,0,0,0.6);
}

.slider-temporada {
  position: relative;
  width: 100%;
  height: 400px; /* o el alto que tú uses */
  overflow: hidden;
}

.descarga {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(165, 42, 42, 0.9);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  z-index: 10;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
}
/* -------------------- */
/* BOTÓN VOLVER */
/* -------------------- */
.btn-volver {
  display: inline-block;
  margin: 2rem auto;
  padding: 0.8rem 1.8rem;
  background-color: #6e443d;
  color: #f3e7d9;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-volver i {
  margin-right: 0.5rem;
}

.btn-volver:hover {
  background-color: #805544;
  transform: translateY(-2px);
}

/* -------------------- */
/* PIE DE PÁGINA */
/* -------------------- */
.footer {
  background-color: #f4ecea;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #5b352e;
  position: relative;
  margin-top: 3rem;
}

.redes-sociales {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.redes-sociales a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  color: #5b352e;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, color 0.3s;
}

.redes-sociales a:hover {
  background-color: #b45f5f;
  color: white;
}

/* -------------------- */
/* FORMULARIO */
/* -------------------- */
.formulario-consultas {
  max-width: 500px;
  margin: 3rem auto;
  font-family: 'Segoe UI', sans-serif;
  color: #5b352e;
  padding: 1rem;
  background-color: #f3e7d9;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.formulario-consultas h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Mistrully', 'Pacifico', cursive;
  color: #6e443d;
  font-size: 2.5rem;
}

.formulario-consultas label {
  font-weight: 600;
}

.formulario-consultas input[type="text"],
.formulario-consultas input[type="email"],
.formulario-consultas textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.formulario-consultas textarea {
  resize: vertical;
}

.formulario-consultas button {
  background-color: #6e443d;
  color: #f3e7d9;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.formulario-consultas button:hover {
  background-color: #805544;
}

.formulario-consultas button[type="reset"] {
  background-color: #999;
  color: #fff;
}

.formulario-consultas button[type="reset"]:hover {
  background-color: #777;
}

/* -------------------- */
/* SECCIÓN QR */
/* -------------------- */
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #6e443d;
  padding: 3rem 1rem;
  color: #fff;
  animation: fade-in 2s ease-out;
}

.qr-section img {
  width: 200px;
  margin-top: 1rem;
  border-radius: 10px;
  background: white;
  padding: 10px;
}

.qr-text {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
  color: #f3e7d9;
  margin-bottom: 1rem;
}

.qr-text span {
  display: block;
  margin: 0.2rem 0;
}

/* Flecha icon */
.arrow-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

@media (max-width: 600px) {
  .arrow-icon {
    transform: rotate(90deg);
  }
}

/* Responsive para QR y temporada */
@media (min-width: 768px) {
  .qr-section {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  .temporada {
    font-size: 3.5em;
  }

  .qr-contenedor {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .qr-contenedor.invertido {
    flex-direction: row-reverse;
  }
}

/* QR container base */
.qr-contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin: 2rem 0;
}

.qr-contenedor img {
  width: 150px;
  height: auto;
  border-radius: 10px;
}

/* -------------------- */
/* EN CONSTRUCCIÓN */
/* -------------------- */
.construccion {
  text-align: center;
  margin: 5rem auto;
  font-family: 'Segoe UI', sans-serif;
  color: #5b352e;
}

.construccion h1 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 1rem;
}

.construccion p {
  font-size: 1.2em;
  margin-bottom: 1rem;
}

.construccion a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #6e443d;
  color: #f3e7d9;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.construccion a:hover {
  background-color: #805544;
}
/* -------------------- */
/* SLIDER: BOTONES CON ICONOS */
/* -------------------- */
.slider-temporada .prev,
.slider-temporada .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.2s;
  z-index: 1;
}

.slider-temporada .prev {
  left: 20px;
}

.slider-temporada .next {
  right: 20px;
}

.slider-temporada .prev:hover,
.slider-temporada .next:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transform: scale(1.1);
}
@media (max-width: 600px) {
  .descarga {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.8rem !important;
    width: auto !important;
  }

  .descarga i {
    margin-right: 5px !important;
  }
}
