:root {
      --color-verde: #A2C523;
      --color-azul: #29B6F6;
      --color-naranja: #FF9800;
      --color-coral: #FF5252;
      --color-azul-oscuro: #004E7C;
      --color-fondo: #f4f8fb;
      --color-blanco: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background-color: var(--color-fondo);
  color: #333;
}
header {
  background-color: var(--color-blanco);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header img {
  height: 50px;
}
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero button {
  background-color: var(--color-azul);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.hero {
position: relative;
height: 100vh;
overflow: hidden;
}
.hero .splide__slide img {
width: 100%;
height: 100vh;
object-fit: cover;
}
.hero-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
z-index: 10;
padding: 1rem;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.hero-content h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 1.5rem;
}
.section {
  padding: 1rem;
}
.section h2 {
  color: var(--color-azul-oscuro);
  margin-bottom: 1rem;
  text-align: center;
}
.attractions {
display: flex;
flex-wrap: wrap;
gap: 1rem;
    justify-content: space-evenly; /* Para dispersarlos horizontalmente */
}
.attraction {
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
overflow: hidden;
flex: 1 1 100%;  /* Móvil */
max-width: 100%;
cursor: pointer
}
.little-blue{
    background-color: #eefafd;
}
.little-blue>form>select{
    background-color: #eefafd;
    /*border: solid 0.5px #7ec2d3;*/
    border:none;
}
.btn-little-blue{
    background-color: #0098a7;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}
.hero{
margin-top: none;
}
.half-space{
    width: 47%;
}
.explorador:hover{
transition: all 0.3s; 
transform: scale(1.1) translateY(-5px);
}   
.whitelogo{
filter: brightness(0) invert(1); /* transforma logo a blanco si es PNG con fondo transparente */
height: 50px;
}
.historia-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  background-color: #f3f3f3;
  padding: 2rem;
  border-radius: 20px;
}
/* Nueva disposición horizontal de imágenes */
.historia-imagenes-row {
  display: flex;
  gap: 1rem;
  flex: 1 1 48%;
}
/* Imagen grande a la izquierda */
.img-izquierda img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
/* Dos imágenes apiladas a la derecha */
.img-derecha {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}
.img-derecha img {
  width: 100%;
  max-height: 145px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* Texto a la derecha */
.historia-texto {
  flex: 1 1 48%;
}
.historia-texto h2 {
  font-size: 1.8rem;
  color: var(--color-azul-oscuro);
  margin-bottom: 1rem;
}
.historia-texto p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
/* Botón naranja */
.btn-little-orange {
  background-color: var(--color-naranja);
  color: white;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn-little-orange:hover {
  background-color: #e86e00;
}
.eventos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.ver-todos {
  color: var(--color-naranja);
  font-weight: bold;
  text-decoration: none;
}
.evento-card {
  background: rgb(221, 236, 249);
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
}
.evento-card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 180px;
}
.evento-card .fecha {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}
.evento-card .nombre {
  font-weight: bold;
  margin-top: 0.25rem;
}
  /* Ajustes para el carrusel de eventos */
#eventos-carousel .splide__slide {
  padding: 0.5rem;
}
.evento-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.evento-card:hover {
  transform: scale(1.03);
}
.evento-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.evento-card .fecha {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}
.evento-card .nombre {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-azul-oscuro);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}
/* Botones de flecha de Splide mejorados */
#eventos-carousel .splide__arrow {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  top: 40%;
  z-index: 2;
}
#eventos-carousel .splide__arrow svg {
  fill: white;
}
#eventos-carousel .splide__arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.hero{
margin-top: 102px;
}
.attraction img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.attraction h3 {
  padding: 0.5rem;
  font-size: 1rem;
  color: var(--color-azul-oscuro);
}
.form-section, .whiterectangle {
  background-color: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}
.form-section label, .form-section input, .form-section select {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}
.scale1:hover{
  transform: scale(1.03)!important;
}
.scale05:hover{
  transform: scale(1.05);
  filter: brightness(1.05);
}
.darker:hover{
filter: brightness(0.8);
}
.darker2:hover{
background-color: rgba(0, 0, 0, 0.7);
color: white;
}
.darker2:hover h3 {
color: white;
}
.lighter:hover{
    filter: brightness(1.5);
}
@media (min-width: 1024px) {
  .attraction {
      flex: 1 1 27%;
      max-width: 27%;
  }
  header{
  width: 100%;
  height: 102px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  }
  header {
  background-color: var(--color-blanco);
  transition: background-color 0.3s ease, filter 0.3s ease;
  }
  header.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  height: 13%;
  }
  header.scrolled>nav>a{
  color: white!important;
  }
  header.scrolled>nav>a:hover{
  color: rgb(255, 188, 45)!important;
  }
  header.scrolled img {
  filter: brightness(0) invert(1); /* transforma logo a blanco si es PNG con fondo transparente */
  }
}
@media (max-width: 768px) {
.historia-container {
  flex-direction: column;
}
.historia-imagenes-row {
  flex-direction: column;
  width: 100%;
}
.img-derecha {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.img-derecha img {
  width: 48%;
  max-height: none;
}
.historia-texto {
  width: 100%;
}
.attractions {
  flex-direction: column;
}

.attraction {
  flex: 1 1 100%;
}
.hero{
  margin-top: 0;
}
  }