
/* Tipografía principal */
* {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
a {
  text-decoration: none;  /* quita el subrayado */
  color: inherit;         /* usa el color del elemento padre */
}
/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  background: url('../IMG/crane-2654996.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay con degradado azul oscuro */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,62,80,0.6) 0%, rgba(44,62,80,0.9) 100%);
  z-index: 1;
}

/* Contenido centrado */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
}

/* Fondo detrás del texto */
.hero-text-bg {
  background-color: rgba(44,62,80,0.7);
  padding: 30px 25px;
  border-radius: 12px;
  display: inline-block;
}

/* Título principal */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #6288ba; /* Azul institucional */
  text-shadow: 0 6px 15px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Subtítulo */
.hero-titlee {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  
}

/* Botón principal */
.btn-hero {
  background-color: #6288ba; /* Azul institucional */
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.btn-hero:hover {
  background-color: #9bb7d9; /* Azul grisáceo suave */
  color: #2c3e50; /* Azul oscuro */
  border-color: #2c3e50;
  transform: translateY(-2px);
}

/* Ancla decorativa */
.hero-anchor {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.hero-anchor:hover {
  transform: scale(1.1) rotate(-10deg);
}

/* Ola decorativa inferior */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* Animación de entrada */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn-hero {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

.contanclasprin{
    padding-top: 30px;
}

.spanstay{
    color: #528ED4;
    font-size: 1.1rem;
}
.nostay{
    color: #000000;
    font-size: 1rem;
}
.nostay:hover{
    color: #528ED4;
}
/* == BODY Tipografía y fondo general ==*/
body {
  font-family: "Segoe UI", Arial, sans-serif;
   background-color: var(--blanco);
      color: var(--negro);
      background: linear-gradient(180deg, var(--claro, #e9f1f8) 0%, var(--blanco, #ffffff) 100%);
}

/* === COLORES BASE === */
    :root {
      --principal: #6288ba;       /* Azul institucional */
      --oscuro: #2c3e50;          /* Azul oscuro / gris marino */
      --claro: #9bb7d9;           /* Azul grisáceo suave */
      --blanco: #ffffff;
      --negro: #000000;
      --gris: #e0e0e0;
    }



    /* === FONDO CON DOS COLORES: TITULO Y CONTENIDO DE NOTICIAS === */
.fondo2colores { 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  padding: 2rem;
  background: linear-gradient(180deg, var(--claro) 0%, var(--blanco) 100%);
}





/* === TITULO DOBLE: NOTICIAS === */

.titulo-doble {
  position: relative;
  text-align: center;
  margin: 40px 0 0px/*60*/ 0;
}

.titulo-doble .back-text {
  display: block;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.07);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: -35px;
}

.titulo-doble .front-text {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #003f8c, #3ac6ff);
  -webkit-background-clip: text;
  color: transparent;
}


/* buscador y modal */

    /* banner principal */

/* Animación de cambio de imagen */
/* @keyframes cambioFondo {
  0%, 33.3% {
    background-image: url('../../img/index/turismo-hotel vistamar.jpg');
  }
  33.4%, 66.6% {
    background-image: url('../../img/index/coriscoturismo.JPG');
  }
  66.7%, 100% {
    background-image: url('../../img/index/turismo-granndjibloho.jpg');
  }
} */

.baner_principal {
  width: 100%;
  height: 100%;
  position: relative;
  /* background-color: rgba(0, 0, 0, 0.4);  */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  gap: 0px;
  padding: 0px;
}

.baner_principal h1 {
  font-size: 4rem;
  margin-top: 25px;
}
/* Banner RESPONSIVE DESIGN === */

/* Tablets (pantallas medianas) */
/* @media (max-width: 992px) {
  .baner_carrusel {
    height: 400px;
  }

  .baner_principal h1 {
    font-size: 3rem;
  }

  .baner_principal {
    gap: 20px;
    padding: 15px;
  }
} */

/* Móviles (pantallas pequeñas) */
/* @media (max-width: 768px) {
  .baner_carrusel {
    height: auto;
  }

  .baner_principal h1 {
    font-size: 2.2rem;
    margin-top: 10px;
  }

  .baner_principal {
    padding: 10px;
    gap: 15px;
  }

  .baner_principal .buscador {
    flex-direction: column;
    width: 90%;
  }

  .baner_principal .botones-menu {
    flex-direction: column;
    gap: 10px;
  } 

  .baner_principal .boton-menu {
    width: 100%;
    font-size: 0.9rem;
  }
}*/

/* Pantallas muy pequeñas (teléfonos antiguos o reducidos) */
/* @media (max-width: 480px) {
  .baner_carrusel {
    height: auto;
  }

  .baner_principal h1 {
    font-size: 1.8rem;
  }

  .baner_principal {
    gap: 10px;
  }
} */

  /*Buscador*/
    .buscador {
    position: relative;
    width: 100vh;
    }

    .buscador input[type="text"] {
    width: 100%;
    padding: 15px 45px 15px 30px;
    border: 1px solid #ccc;
    border-radius: 50px;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, border-color 0.3s;
    font-size: 1.8rem;
    background: #fff;
    }

    .buscador input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
    }

  /* Icono del buscador (FontAwesome) */
.buscador .icono{
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 22px;
color: #007bff;
pointer-events: none;
}
   /* botones del menu(banner)  */
  .botones-menu {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .boton-menu {
    background: none;
    border: none;
    padding: 10px;
    font-size: 26px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
    color: white;
    font-weight: bold;
  }
  .boton-menu:hover {
    border-bottom: 2px solid #fff;
  }
  .boton-menu.activo {
    border-bottom: 2px solid #fff;
  }
/* === Buscador y botones Responsive Design === */

/* Tablets */
@media (max-width: 992px) {
  .buscador {
    width: 80vw; /* más flexible */
    margin-top: 30px;
  }

  .buscador input[type="text"] {
    padding: 12px 40px 12px 25px;
    font-size: 1.5rem;
  }

  .buscador svg {
    width: 30px;
    height: 25px;
    margin-right: 20px;
  }

  .botones-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .boton-menu {
    font-size: 22px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .buscador {
    width: 90vw;
    margin-top: 25px;
  }

  .buscador input[type="text"] {
    font-size: 1.2rem;
    padding: 12px 40px 12px 20px;
  }

  .buscador svg {
    width: 26px;
    height: 22px;
    margin-right: 15px;
  }

  .botones-menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .boton-menu {
    font-size: 20px;
    padding: 8px;
    border-bottom: none;
    border: 1px solid white;
    border-radius: 8px;
  }

  .boton-menu.activo {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
  .buscador {
    width: 95vw;
    margin-top: 20px;
  }

  .buscador input[type="text"] {
    font-size: 1rem;
    padding: 10px 38px 10px 18px;
  }

  .buscador svg {
    width: 22px;
    height: 20px;
    margin-right: 12px;
  }

  .boton-menu {
    font-size: 18px;
    width: 100%;
    text-align: center;
  }
}

  /*secciones de las cajas con modales*/
  .textoPrincipal{
    margin-top: 60px;
    margin-bottom: 20px;
  }
  .seccion-contenido {
    display: none;
  }
  .seccion-contenido.activa {
    display: block;
  }
  .contenedor-cajas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 50px 100px 0px 100px; 
  }
  .caja {
    border: none;
    /*border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background: #fff;
    /* padding: 50px 50px 0px 50px; */
  }
  .caja img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .caja .contenido {
    padding: 15px;
  }
  .caja h4 {
    margin: 0 0 10px;
  }
  .caja p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
  }
  .caja button {
    background-color: cornflowerblue;/*#0077cc*/
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }
  /* === Cajas principales Responsive Design === */

/* Tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .contenedor-cajas {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 60px 0px 60px;
    gap: 20px;
  }

  .caja img {
    height: 140px;
  }
}

/* Móviles grandes y pantallas pequeñas */
@media (max-width: 768px) {
  .textoPrincipal {
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
  }

  .contenedor-cajas {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 30px 0px 30px;
    gap: 16px;
  }

  .caja img {
    height: 130px;
  }

  .caja .contenido {
    padding: 12px;
  }

  .caja h4 {
    font-size: 18px;
  }

  .caja p {
    font-size: 13px;
  }

  .caja button {
    font-size: 13px;
    padding: 7px 10px;
  }
}

/* Móviles muy pequeños (menos de 480px) */
@media (max-width: 480px) {
  .contenedor-cajas {
    padding: 20px;
    gap: 14px;
  }

  .caja img {
    height: 120px;
  }

  .caja h4 {
    font-size: 16px;
  }

  .caja p {
    font-size: 12px;
  }

  .caja button {
    font-size: 12px;
    padding: 6px 9px;
  }
}

  /* lo que debes probar */
  .lo-que-debes-probar {
  padding: 30px 20px;
  background-color: #fafafa;
  border-radius: 10px;
  margin-top: 40px;
  width: auto;
  padding: 50px 100px 50px 100px; 
}
.lo-que-debes-probar h2 {
  font-size: 44px;
  margin-bottom: 10px;
  color: #222;
}
.lo-que-debes-probar p {
  color: #555;
  margin-bottom: 25px;
  font-size: 2rem;
}
.galeria-platos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  
}
.plato {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  /* transition: transform 0.2s ease, box-shadow 0.2s ease;  padding: 50px 50px 0px 50px; */
}
.plato:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.plato img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.plato h3 {
  font-size: 18px;
  margin: 10px 15px 5px;
}
.plato p {
  font-size: 14px;
  color: #666;
  margin: 0 15px 15px;
}
/* ===Lo que debes probar Responsive Design === */

/* Pantallas medianas (Tablets) */
@media (max-width: 1024px) {
  .lo-que-debes-probar {
    padding: 40px 60px;
  }

  .lo-que-debes-probar h2 {
    font-size: 36px;
  }

  .lo-que-debes-probar p {
    font-size: 1.6rem;
  }

  .plato h3 {
    font-size: 17px;
  }

  .plato p {
    font-size: 13px;
  }

  .plato img {
    height: 130px;
  }
}

/* Móviles grandes y pequeños */
@media (max-width: 768px) {
  .lo-que-debes-probar {
    padding: 30px 30px;
    text-align: center;
  }

  .lo-que-debes-probar h2 {
    font-size: 30px;
  }

  .lo-que-debes-probar p {
    font-size: 1.4rem;
  }

  .plato h3 {
    font-size: 16px;
  }

  .plato p {
    font-size: 13px;
  }

  .plato img {
    height: 120px;
  }
}

/* Móviles muy pequeños (menos de 480px) */
@media (max-width: 480px) {
  .lo-que-debes-probar {
    padding: 20px;
  }

  .lo-que-debes-probar h2 {
    font-size: 26px;
  }

  .lo-que-debes-probar p {
    font-size: 1.2rem;
  }

  .plato h3 {
    font-size: 15px;
  }

  .plato p {
    font-size: 12px;
  }

  .plato img {
    height: 110px;
  }
}
/* fin lo que debes probar */

/*carusel destinos destacados*/
  /* Caja de título y descripción      */
.destinos-header {
  /* max-width: 1000px; */
  margin: auto;
  /* padding-bottom: 50px; */
  /* text-align: center; */
  margin-top: 40px;
  width: 100%;
  height: 40vh;
  background-color: white;
  
  padding: 0px 100px 0px 100px; 
}
.destinos-header h2 {
  font-size:44px; /* 4.2rem*/
  color: black;/*333*/
  margin-bottom: 10px;
}
.destinos-header p {
  font-size: 2rem;
  color:#555;
  line-height: 1.6;
  max-width: 100%;
  margin: auto;
}
    .carousel-container {
      position: relative;
      max-width: 1500px;
      margin: auto;
      overflow: hidden;
      margin-top:10px;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.4s ease;
    }

    .card {
      min-width: 250px;
      max-width: 250px;
      background: white;
      border-radius: 15px;
      margin: 0 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      text-align: center;
      flex-shrink: 0;  border: none !important;
      
    }

    .card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .card h3 {
      padding: 15px;
      font-size: 1.1rem;
      color: #333;
    }

    .carousel-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
    }

    .carousel-buttons button {
      padding: 20px ;
      background-color:0;
      color: black;
      border: none;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: bold;
      width: 20px;
      height: 20px;
      cursor: pointer;
      transition: background 0.3s ease;
        display:  flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-buttons button:hover {
        background-color:cornflowerblue ; /*274ecf */
        color: white;
    }

    @media (max-width: 600px) {
      .card {
        min-width: 200px;
        max-width: 200px;
      }
      
    }
/* ===== Responsive Design para carrusel de destinos ===== */

/* Tablets y pantallas medianas (≤1024px) */
@media (max-width: 1024px) {
  .destinos-header {
    padding: 0 60px;
    height: auto;
    text-align: center;
  }

  .destinos-header h2 {
    font-size: 36px;
  }

  .destinos-header p {
    font-size: 1.6rem;
  }

  .card {
    min-width: 220px;
    max-width: 220px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card img {
    height: 150px;
  }
}

/* Móviles grandes (≤768px) */
@media (max-width: 768px) {
  .destinos-header {
    padding: 0 30px;
    height: auto;
    text-align: center;
  }

  .destinos-header h2 {
    font-size: 30px;
  }

  .destinos-header p {
    font-size: 1.4rem;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .card {
    min-width: 200px;
    max-width: 200px;
    margin: 0 8px;
  }

  .card img {
    height: 140px;
  }

  .carousel-buttons {
    margin-top: 15px;
  }

  .carousel-buttons button {
    width: 40px;
    height: 40px;
  }
}

/* Móviles pequeños (≤480px) */
@media (max-width: 480px) {
  .destinos-header {
    padding: 40px 40px;
  }

  .destinos-header h2 {
    font-size: 26px;
  }

  .destinos-header p {
    font-size: 1.2rem;
  }

  .card {
    min-width: 180px;
    max-width: 180px;
    margin: 0 6px;
  }

  .card img {
    height: 130px;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .carousel-buttons button {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}