/*========== GOOGLE FONTS ==========*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;700&family=Roboto:wght@100..900&family=Raleway:wght@300;400;700&family=Play&display=swap');

/*========== VARIABLES ==========*/
:root {
  --header-font: 'Bebas Neue', sans-serif;
  --menu-font: 'Raleway', sans-serif;
  --body-font: 'Roboto', sans-serif;
  --highlight-font: 'Oswald', sans-serif;

  /* Tamaños y colores */
  --normal-font-size: 1rem;
  --text-color: black;
  --background-color: #f4f4f4;
  --header-bg-color: #2c3e50;
  --primary-color-1: #e74c3c;
  --primary-color: #e74c3c;
  --new-color: #1d3340;
}

h1 {
  font-size: 2.5rem;
  font-family: var(--header-font);
  color: var(--primary-color);
  letter-spacing: 0.1rem;
}

h2 {
  font-size: 2rem;
  font-family: var(--highlight-font);
  color: var(--text-color);
}

p {
  font-size: 1rem;
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
}

/* GENERAL STYLES */
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color-1);
  padding: 0 1rem;
  z-index: 100;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__img {
  margin-right: 100px;
  width: 180px;
  border-radius: 15px;
}

.header__toggle {
  font-size: 2rem;
  color: var(--background-color);
  cursor: pointer;
}

/* Estilo para el contenedor de búsqueda */


.header__search {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.header__search h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
  font-family: 'Comic Sans MS', cursive;
  font-size: 24px;
  color: var(--background-color);
}

@media (max-width: 768px) {
  .header__search h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header__search {
    padding: 0.5rem;
  }

  .header__search h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

/*========== NAV ==========*/
.nav {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 2rem 2rem 0;
  background-color: var(--primary-color-1);
  box-shadow: 2px 0 0 rgba(22, 8, 43, 0.1);
  z-index: 100;
  transition: .4s;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none;
}

.nav__container::-webkit-scrollbar {
  display: none;
}

.nav_link {
  text-decoration: none;
}

.nav_logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--header-font);
  font-size: 55px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__list,
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 2.5rem;
}

.nav__items {
  row-gap: 1.5rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--background-color);
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
  color: var(--background-color);
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
  color: var(--background-color);
}

.nav__logout {
  margin-top: 20rem;
}

.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: var(--background-color);
  border-radius: 1rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.nav_dropdown-icon {
  color: var(--header-bg-color);
}

.nav__dropdown-item:hover {
  color: var(--header-bg-color);
}

.nav__dropdown-icon {
  margin-left: auto;
  transition: .4s;
}

.nav__dropdown:hover {
  max-height: 100rem;
}

.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.show-menu {
  left: 0;
}

.active {
  color: var(--header-bg-color);
}

/* ========== MEDIA QUERIES ==========*/
@media screen and (min-width: 768px) {
  body {
    padding: 0px 0px 0px 60px;
    margin: 0;
  }

  .header {
    padding: 0 3rem 0 6rem;
  }

  .header__toggle {
    display: none;
  }

  .header__logo {
    width: 200px;
    height: 100px;
  }

  .header__img {
    width: 100px;
    height: 50px;
  }

  .nav {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px;
  }

  .nav__items {
    row-gap: 1.7rem;
  }

  .nav__icon {
    font-size: 1.3rem;
  }

  .nav__logo-name,
  .nav__name,
  .nav__subtitle,
  .nav__dropdown-icon {
    opacity: 0;
    transition: .3s;
  }

  .nav:hover {
    width: 219px;
  }

  .nav:hover .nav__logo-name {
    opacity: 1;

  }

  .nav:hover .nav__subtitle {
    opacity: 1;
  }

  .nav:hover .nav__name {
    opacity: 1;
  }

  .nav:hover .nav__dropdown-icon {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .nav__logo-img {
    max-width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .nav__logo-img {
    max-width: 100px;
  }
}

/* Ajusta los estilos responsivos */
@media (max-width: 768px) {
  .header__container {
    height: auto;
    margin: 5px;

  }

  .header__container a span {
    font-size: 1.5rem;
  }

  .header__img {
    width: 150px;
  }
}


#carusel {
    text-align: center;
    padding: 2rem;
    margin-top: 50px;
    
  }
  
  main {
    width: min(1200px, 90vw);
    margin: auto;
  }
  
  .slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right,
        transparent,
        #000 10% 90%,
        transparent);
  }
  
  .slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
  }
  
  .slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
  }
  
  .slider .list .item .sliderimg {
    width: 100%;
  }
  
  @keyframes autoRun {
    from {
      left: 100%;
    }
  
    to {
      left: calc(var(--width) * -1);
    }
  }
  
  .slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
  }
  
  .slider .item:hover {
    filter: grayscale(0);
  }
  
  .slider[reverse="true"] .item {
    animation: reversePlay 10s linear infinite;
  }
  
  @keyframes reversePlay {
    from {
      left: calc(var(--width) * -1);
    }
  
    to {
      left: 100%;
    }
  }
  .image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.image-link .sliderimg {
    display: block;
    width: 150%;
    height: 150%;
    object-fit: cover;
}

.image-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-link:hover .image-text {
    opacity: 1;
}
.container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    width: 100%;
}
.item {
    display: flex;
    align-items: flex-start;
    margin: 10px 0;

    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}
.item img {
    width: 200px;
    height: auto;
    margin-right: 20px;
}
.info {
    display: none;
    flex: 1;
}
.info img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}
.info p {
    margin: 10px 0;
}
/* Estilo para el botón */
.redirect-btn {
  display: inline-block;
  background-color: #007bff; /* Color de fondo */
  color: white; /* Color del texto */
  padding: 10px 20px; /* Espaciado interno */
  text-decoration: none; /* Elimina el subrayado del enlace */
  border-radius: 5px; /* Bordes redondeados */
  font-size: 16px; /* Tamaño del texto */
  text-align: center;
  transition: background-color 0.3s ease; /* Transición suave */
}

.redirect-btn:hover {
  background-color: #0056b3; /* Cambio de color al pasar el ratón */
}


/* Separador-Titulos*/
.separador {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 40px;

}

/* Estilos para el título dentro de la sección separadora */
.separador h2 {
  color: #2c3e50;
  padding: 15px 20px;
  display: inline-block;
  border-radius: 50px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.separador h2:hover {
  background-color: #dc3545;
  transform: translateY(-5px);
}

/* WhatsApp-Flotante*/
.container-boton {
  background-color: #2e6329;
  border: 1px solid #fff;
  position: fixed;
  z-index: 999;
  border-radius: 100%;
  bottom: 15px;
  right: 15px;
  padding: 15px;
  transition: ease 0.3s;
  animation: efecto 1.2s infinite;
}

.container-boton:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.boton {
  width: 60px;

  transition: ease 1s;
}

@keyframes efecto {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
  }

  100% {
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
  }
}
/* Cookie-Flotante*/
.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #222;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: none;
  width: 300px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner img.cookie-image {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  border-radius: 5px;
}

.cookie-banner p {
  margin-bottom: 15px;
  flex: 1;
}

.cookie-banner a {
  color: #00f;
  text-decoration: underline;
}

.cookie-banner button {
  padding: 10px 20px;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
}

#accept-cookies {
  background-color: #28a745;
}
#reject-cookies {
  background-color: #dc3545;
}

@media (max-width: 480px) {
  .cookie-banner {
    width: 90%;
    padding: 15px;
    flex-direction: column;
    text-align: left;
  }

  .cookie-banner img.cookie-image {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px auto;
  }

  .cookie-banner p {
    margin-bottom: 10px;
    text-align: center;
  }

  .cookie-banner button {
    width: 100%;
    margin: 5px 0;
  }
}

/* Estilo para el fondo semitransparente que bloquea la página-cookie */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

@media (max-width: 768px) {
  .container-boton {
    padding: 12px;
  }
  .boton {
    width: 50px;
  }
}
@media (max-width: 480px) {
  .container-boton {
    padding: 10px;
  }
  .boton {
    width: 40px;
  }
}

/* FOOTER GENERAL */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 5px solid #e74c3c;
}

/* TÍTULOS */
.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #e74c3c;
  font-family:"Yatra One", system-ui; 
}

/* SECCIÓN CONTACT INFO */
.contact-info {
  width: 48%;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid white;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info hr {
  border: 1px solid #fff;
  margin: 10px 0;
}

/* SECCIÓN REDES SOCIALES */
.social-media {
  width: 48%;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.social-media .separator {
  width: 60px;
  height: 2px;
  background-color: #e74c3c;
  margin-bottom: 15px;
}

.social-media p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ITEMS DE REDES SOCIALES */
.social-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.social-item a {
  color: #ecf0f1;
  font-size: 1.8rem;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-item a:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

.description {
  font-size: 1rem;
  color: #bdc3c7;
}

/* SECCIÓN SUGERENCIAS */
.sugerencias {
  margin-top: 20px;
}

.sugerencias h3 {
  font-size: 1.2rem;
  color: #e74c3c;
  margin-bottom: 10px;
}

.sugerencias form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.sugerencias input,
.sugerencias textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #e74c3c;
  border-radius: 5px;
  background-color: white;
  color: black;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.sugerencias input:focus,
.sugerencias textarea:focus {
  border-color: #e74c3c;
  background-color: white;
  outline: none;
}

.sugerencias textarea {
  resize: none;
  height: 100px;
}

.sugerencias button {
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #ecf0f1;
  background-color: #e74c3c;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sugerencias button:hover {
  background-color: #e74c3c;
  transform: scale(1.05);
}

.sugerencias button:active {
  transform: scale(1);
}

/* MEDIA QUERY PARA RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .social-media {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
    border: none;
  }

  .contact-info h3,
  .social-media h3 {
    text-align: center;
  }

  .social-item {
    justify-content: center;
  }
}