body {
  margin: 0;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  background: url("images/Argelia/B-Argelia.jpg") no-repeat center center fixed,
    linear-gradient(135deg, #e0f7fa 0%, #fffde4 100%);
  background-size: cover;
  color: #222;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure all elements use border-box */
* {
  box-sizing: border-box;
}

/* Prevent horizontal overflow */
html {
  overflow-x: hidden;
  width: 100%;
}

.hero {
  background: rgba(17, 17, 17, 0.397);
  color: #fff;
  text-align: center;
  padding: 1rem 1rem 1.5rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Hero móvil separado */
.hero-mobile {
  background: rgba(17, 17, 17, 0.397);
  color: #fff;
  text-align: center;
  padding: 1rem 1rem 1.5rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.hero2 {
  background: rgba(64, 66, 79, 0.407);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  font-weight: 700;
}
.hero p {
  font-size: 1.1rem;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  opacity: 0.95;
}

/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}

/* Animaciones para las secciones */
.historia,
.cultura,
.destinos {
  opacity: 1;
  transform: none;
  transition: none;
}

.historia.visible,
.cultura.visible,
.destinos.visible {
  opacity: 1;
  transform: none;
}

/* Animación solo para el contenido de las secciones */
.historia .content-row,
.cultura .content-row,
.destinos .cards-container,
.historia h2,
.cultura h2,
.destinos h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.historia.visible .content-row,
.cultura.visible .content-row,
.destinos.visible .cards-container,
.historia.visible h2,
.cultura.visible h2,
.destinos.visible h2 {
  opacity: 1;
  transform: translateY(0);
}

/* Animación para las cards */
.card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación para el hero section */
.hero-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero section centrado en la mitad de la pantalla */
.hero-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4rem;
  /* font-family: cursive; */
  margin-bottom: 1rem;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-section p {
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 1);
  font-weight: bold;
  opacity: 0.95;
  max-width: 600px;
  line-height: 1.6;
}

/* Menú hamburguesa para hero2 */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1001;
  margin: 0 auto;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Menú móvil */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

/* Sección de Historia mejorada */
.historia {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #000000;
  padding: 1rem 2rem 1rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  margin-top: 0;
  overflow: hidden;
}

.historia h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}

.historia .content-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 2rem 0;
}

.historia .main-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.historia .main-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: justify;
  width: 100%;
}

.historia .main-content .park-carousel {
  width: 100%;
  max-width: 500px;
  height: 300px;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin: 1rem 0;
}

.historia .main-content .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.historia .main-content .carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.historia .main-content .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #4b4545;
  border: none;
  border-radius: 25%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.historia .main-content .carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.historia .main-content .carousel-btn.prev {
  left: 15px;
}

.historia .main-content .carousel-btn.next {
  right: 15px;
}

.historia .founder-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  min-width: 400px;
  height: auto;
}

.historia .founder-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 700;
  text-align: center;
}

.historia .founder-section img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 1rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 4px solid #fff;
}

.historia .founder-section p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin: 1rem 0;
  color: #333;
}

.historia .park-image {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cultura {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #000000;
  padding: 2rem 2rem 3rem 2rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 248, 255, 0.95) 100%
  );
  margin-top: 0;
}

.cultura h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Introducción mejorada */
.cultura-intro {
  max-width: 1000px;
  width: 100%;
  margin: 2rem 0 4rem 0;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-content h3 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}

.intro-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a5568;
  text-align: justify;
  margin-bottom: 1.5rem;
}

/* Sección de Festividades */
.festividades-section {
  max-width: 1200px;
  width: 100%;
  margin: 3rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #718096;
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.fiestas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.fiesta-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.fiesta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2196f3 0%, #64c869 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.fiesta-card:hover::before {
  transform: scaleX(1);
}

.fiesta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.fiesta-card.featured {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid rgba(33, 150, 243, 0.2);
}

.fiesta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(33, 150, 243, 0.1);
}

.fiesta-header h4 {
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
  margin: 0;
}

.fiesta-badge {
  background: linear-gradient(135deg, #2196f3 0%, #64c869 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fiesta-content {
  text-align: left;
}

.fiesta-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.fiesta-actividades h5 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
}

.fiesta-actividades ul {
  list-style: none;
  padding: 0;
}

.fiesta-actividades li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  text-align: justify;
}

.fiesta-actividades li::before {
  content: "•";
  color: #2196f3;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Galería Cultural */
.cultura-gallery-section {
  max-width: 1200px;
  width: 100%;
  margin: 4rem 0 2rem 0;
}

.cultura .cultura-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 250px 200px 200px 250px 200px;
  gap: 15px;
  max-width: 100%;
  width: 100%;
  margin: 2rem 0;
  position: relative;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cultura .cultura-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cultura .cultura-gallery img:hover {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.1);
  z-index: 3;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Posicionamiento específico de cada imagen */
.cultura .cultura-gallery img:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  border-radius: 20px 8px 8px 20px;
}

.cultura .cultura-gallery img:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  border-radius: 8px 20px 20px 8px;
}

.cultura .cultura-gallery img:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  border-radius: 20px 8px 8px 20px;
}

.cultura .cultura-gallery img:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  border-radius: 15px;
}

.cultura .cultura-gallery img:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 3 / 4;
  border-radius: 8px 8px 20px 20px;
}

/* Posicionamiento de imágenes 6-10 (mismo diseño que las primeras 5, pero debajo) */
.cultura .cultura-gallery img:nth-child(6) {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
  border-radius: 20px 8px 8px 20px;
}

.cultura .cultura-gallery img:nth-child(7) {
  grid-column: 3 / 4;
  grid-row: 4 / 6;
  border-radius: 8px 20px 20px 8px;
}

.cultura .cultura-gallery img:nth-child(8) {
  grid-column: 1 / 2;
  grid-row: 5 / 7;
  border-radius: 20px 8px 8px 20px;
}

.cultura .cultura-gallery img:nth-child(9) {
  grid-column: 2 / 3;
  grid-row: 5 / 6;
  border-radius: 15px;
}

.cultura .cultura-gallery img:nth-child(10) {
  grid-column: 2 / 4;
  grid-row: 6 / 7;
  border-radius: 8px 8px 20px 20px;
}

/* Efectos de superposición y sombras */
.cultura .cultura-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 20px;
}

/* Sección de destinos */
.destinos {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  margin-top: 0;
}

.destinos h2 {
  text-align: center;
  /* font-family: cursive; */
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(34, 139, 34, 0.1);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(135deg, #f8fafc 70%, #e0f7fa 100%);
  box-shadow: 0 4px 24px rgba(33, 150, 243, 0.1),
    0 2px 8px rgba(34, 139, 34, 0.1);
  width: 315px;
  min-height: 420px;
  max-height: 480px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.28s;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 18px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 32px rgba(33, 150, 243, 0.16),
    0 6px 18px rgba(34, 139, 34, 0.13);
}

.card h3 {
  margin: 0 0 0.7rem 0;
  color: #000000;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1.2rem 1rem 0.3rem 1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
  line-height: 1.3;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
  hyphens: auto;
}

.card:hover h3::after {
  width: 60%;
}

.card .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0 0 18px 18px;
  width: 100%;
  padding: 1.1rem 1rem 1rem 1rem;
  box-shadow: 0 1px 6px rgba(33, 150, 243, 0.04);
  position: relative;
  z-index: 1;
  min-height: 160px;
  justify-content: space-between;
}

.card .price {
  font-size: 1.08rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, #2196f3 60%, #64c869 100%);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.card .price:hover {
  background: linear-gradient(90deg, #64c869 60%, #2196f3 100%);
}

.card .info > button {
  background: linear-gradient(90deg, #2196f3 60%, #64c869 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 0.5rem 1.3rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.5rem;
  margin-top: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
  display: block;
  letter-spacing: 0.5px;
}

.card .info > button:hover {
  background: linear-gradient(90deg, #64c869 60%, #2196f3 100%);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.13);
}

.card .info > .viajar-btn {
  background: linear-gradient(90deg, #2196f3 60%, #64c869 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 0.5rem 1.3rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.5rem;
  margin-top: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
  display: block;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}

.card .info > .viajar-btn:hover {
  background: linear-gradient(90deg, #64c869 60%, #2196f3 100%);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.13);
  text-decoration: none;
  color: #fff;
}

.card .desc {
  margin: 0.7rem 0 0 0;
  padding: 4px 0 0 0;
  font-size: 0.98rem;
  color: #444;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
  min-height: 48px;
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel {
  width: 100%;
  max-width: 315px;
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #e0f7fa;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.06);
  cursor: pointer;
  z-index: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.carousel-track img,
.carousel-track video {
  width: 315px;
  height: 250px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  background: #b2ebf2;
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1);
}

.carousel-track img:hover,
.carousel-track video:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(255, 255, 255);
  color: #4b4545;
  border: none;
  border-radius: 25%;
  width: 33px;
  height: 33px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

/* Responsive para botones del carrusel */
@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1.3rem;
  }

  .destinos h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }

  .map-frame {
    height: 250px;
  }

  .modal-image,
  .modal-video {
    max-width: 95%;
    max-height: 80%;
  }

  /* Ocultar navegación normal y mostrar hamburguesa centrado */
  .hero {
    display: none;
  }

  .hero-mobile {
    display: flex;
  }

  .hamburger-menu {
    display: flex;
    position: relative;
    margin: 0 auto;
    padding: 8px;
  }

  .hamburger-menu span {
    width: 22px;
    height: 2.5px;
  }

  .historia,
  .cultura,
  .destinos {
    padding: 1.5rem 0.5rem;
    min-height: auto;
  }

  .historia h2,
  .cultura h2,
  .destinos h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .cultura p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .cultura .fiestas-carousel {
    padding: 1rem;
    margin: 2rem 0;
  }

  .cultura .fiesta-card {
    padding: 1rem;
  }

  .cultura .fiesta-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .cultura .fiesta-card p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .cultura .fiestas-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .cultura .cultura-gallery {
    margin: 2rem 0;
  }

  .historia .content-row {
    gap: 1.5rem;
    align-items: stretch;
  }

  .historia .main-content {
    justify-content: flex-start;
  }

  .historia .main-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .historia .main-content .park-carousel {
    max-width: 100%;
    height: 200px;
  }

  .historia .founder-section {
    max-width: 100%;
    padding: 1rem;
    margin: 0;
    justify-content: flex-start;
  }

  .historia .founder-section h3 {
    font-size: 1.8rem;
  }

  .historia .founder-section img {
    width: 120px;
    height: 120px;
  }

  .historia .founder-section p {
    font-size: 1.1rem;
  }

  .historia .park-image {
    max-width: 100%;
    height: 200px;
  }

  /* Cards container adjustments */
  .cards-container {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  /* Carousel button adjustments */
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .historia .main-content .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  /* WhatsApp button adjustments */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  /* Navegación responsive */
  .hero-nav {
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .hero-nav a {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .historia,
  .cultura,
  .destinos {
    padding: 1rem 0.3rem;
  }

  .historia h2,
  .cultura h2,
  .destinos h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .cards-container {
    gap: 1rem;
    padding: 0 0.3rem;
  }

  .card {
    width: 100%;
    max-width: 100%;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .historia .main-content .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .map-frame {
    height: 200px;
  }

  .modal-content {
    width: 95%;
    height: 95%;
    margin: 1% auto;
    padding: 10px;
  }

  .modal-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .close {
    font-size: 2rem;
    top: 10px;
    right: 15px;
  }

  /* WhatsApp button adjustments */
  .whatsapp-float {
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  /* Footer adjustments */
  footer {
    padding: 1.5rem 0.5rem;
    font-size: 1rem;
  }

  /* Additional mobile optimizations */
  .historia .content-row {
    gap: 1rem;
  }

  .historia .main-content p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .historia .founder-section {
    padding: 0.8rem;
  }

  .historia .founder-section h3 {
    font-size: 1.6rem;
  }

  .historia .founder-section img {
    width: 100px;
    height: 100px;
  }

  .historia .founder-section p {
    font-size: 1rem;
  }

  .cultura-intro {
    padding: 0.8rem;
    margin: 1rem 0 2rem 0;
  }

  .intro-content h3 {
    font-size: 1.4rem;
  }

  .intro-content p {
    font-size: 1rem;
  }

  .fiesta-card {
    padding: 0.8rem;
  }

  .fiesta-header h4 {
    font-size: 1.2rem;
  }

  .fiesta-description {
    font-size: 1rem;
  }

  .fiesta-actividades li {
    font-size: 0.9rem;
  }

  .card h3 {
    font-size: 1.3rem;
    padding: 1rem 0.8rem 0.3rem 0.8rem;
    min-height: 2.8rem;
    line-height: 1.2;
  }

  .card .price {
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
  }

  .card .info > .viajar-btn {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .historia h2,
  .cultura h2,
  .destinos h2 {
    font-size: 1.8rem;
  }

  .cards-container {
    gap: 0.8rem;
    padding: 0 0.2rem;
  }

  .card {
    min-height: 380px;
  }

  .carousel-track img,
  .carousel-track video {
    height: 200px;
  }

  .whatsapp-float {
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-float svg {
    width: 20px;
    height: 20px;
  }

  footer {
    padding: 1rem 0.3rem;
    font-size: 0.9rem;
  }
}

.info {
  width: 100%;
  text-align: center;
  margin-top: 0;
  padding: 1.5rem;
}

.price {
  display: inline-block;
  background-color: #3d7a40;
  /* background: linear-gradient(135deg, #FDB913, #006A44, #C1272D); */
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.price:hover::before {
  left: 100%;
}

.price:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 139, 34, 0.4);
}

.desc {
  margin: 0.8rem 0 0 0;
  padding: 5px;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  /* font-family: cursive; */
  /* text-align: justify; */
}

.map-container {
  background: rgba(64, 66, 79, 0.407);
  margin-top: 5px;
  padding: 0 1rem;
}

.map-frame {
  width: 100%;
  height: 400px;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.899);
  color: #000000;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 0;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(34, 139, 34, 0.2);
}

/* Modal para pantalla completa */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.modal-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.close:hover {
  color: #dc143c;
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(255, 255, 255);
  color: #4b4545;
  border: none;
  border-radius: 25%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-nav:hover {
  /* background: #dc143c; */
  transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
  left: 20px;
}
.modal-nav.next {
  right: 20px;
}

/* Estilos para la navegación en la sección hero */
.hero-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.hero-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.hero-nav a:hover {
  text-decoration: underline;
}

/* Animaciones de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}
.card:nth-child(2) {
  animation-delay: 0.2s;
}
.card:nth-child(3) {
  animation-delay: 0.3s;
}
.card:nth-child(4) {
  animation-delay: 0.4s;
}
.card:nth-child(5) {
  animation-delay: 0.5s;
}

/* Responsive Design Mejorado */
@media (max-width: 1200px) {
  .historia h2,
  .cultura h2,
  .destinos h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
  }

  .historia .content-row {
    gap: 2rem;
  }

  .historia .founder-section {
    min-width: 350px;
  }

  .cards-container {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .card {
    flex: 1 1 320px;
    max-width: 380px;
  }

  .hero-section h1 {
    font-size: 3.5rem;
  }

  .hero-section p {
    font-size: 1.3rem;
  }
}

@media (max-width: 900px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-section p {
    font-size: 1.2rem;
  }
  .destinos h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
  }
  .card {
    width: 100%;
    max-width: 450px;
    min-width: auto;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .map-frame {
    height: 300px;
  }
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .close {
    font-size: 2.5rem;
    top: 15px;
    right: 20px;
  }

  /* Mostrar hero móvil y ocultar hero normal en tablets */
  .hero {
    display: none;
  }

  .hero-mobile {
    display: flex;
  }

  .hamburger-menu {
    display: flex;
    position: relative;
    margin: 0 auto;
  }

  /* Ajustes para historia y cultura en tablets */
  .historia,
  .cultura,
  .destinos {
    padding: 2rem 1rem;
    min-height: auto;
  }

  .historia h2,
  .cultura h2,
  .destinos h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .cultura p {
    font-size: 1rem;
    max-width: 700px;
  }

  .cultura .fiestas-carousel {
    padding: 1.5rem;
  }

  .cultura .fiesta-card {
    padding: 1.2rem;
  }

  .cultura .fiesta-card h3 {
    font-size: 1.1rem;
  }

  .cultura .fiesta-card p {
    font-size: 0.9rem;
  }

  .historia .content-row {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .historia .main-content {
    justify-content: flex-start;
  }

  .historia .main-content .park-carousel {
    max-width: 100%;
    height: 250px;
  }

  .historia .founder-section {
    max-width: 100%;
    min-width: auto;
    padding: 1.5rem;
    justify-content: flex-start;
  }

  .historia .founder-section img {
    width: 150px;
    height: 150px;
  }

  /* WhatsApp button adjustments */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1200;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  display: block;
}

/* Responsive para la nueva estructura de cultura */
@media (max-width: 1200px) {
  .cultura h2 {
    font-size: 3rem;
  }

  .cultura-intro {
    max-width: 900px;
    padding: 1.5rem;
  }

  .intro-content h3 {
    font-size: 2rem;
  }

  .fiestas-grid {
    gap: 1.5rem;
  }

  .fiesta-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 900px) {
  .cultura {
    padding: 1.5rem 1rem 2rem 1rem;
  }

  .cultura h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .cultura-intro {
    max-width: 100%;
    padding: 1.5rem;
    margin: 1.5rem 0 3rem 0;
  }

  .intro-content h3 {
    font-size: 1.8rem;
  }

  .intro-content p {
    font-size: 1.1rem;
  }

  .festividades-section {
    margin: 2rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .fiestas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fiesta-card {
    padding: 1.5rem;
  }

  .fiesta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .fiesta-header h4 {
    font-size: 1.3rem;
  }

  .cultura .cultura-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px 200px 200px 200px;
    gap: 10px;
  }

  .cultura .cultura-gallery img:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .cultura .cultura-gallery img:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .cultura .cultura-gallery img:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .cultura .cultura-gallery img:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .cultura .cultura-gallery img:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .cultura .cultura-gallery img:nth-child(6) {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
  }

  .cultura .cultura-gallery img:nth-child(7) {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
  }

  .cultura .cultura-gallery img:nth-child(8) {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
  }

  .cultura .cultura-gallery img:nth-child(9) {
    grid-column: 1 / 2;
    grid-row: 6 / 7;
  }

  .cultura .cultura-gallery img:nth-child(10) {
    grid-column: 2 / 3;
    grid-row: 6 / 7;
  }
}

@media (max-width: 600px) {
  .cultura {
    padding: 1rem 0.5rem 1.5rem 0.5rem;
  }

  .cultura h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .cultura-intro {
    padding: 1rem;
    margin: 1rem 0 2rem 0;
  }

  .intro-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .intro-content p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .festividades-section {
    margin: 1.5rem 0;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .fiestas-grid {
    gap: 1rem;
    margin-top: 1rem;
  }

  .fiesta-card {
    padding: 1rem;
  }

  .fiesta-card:hover {
    transform: translateY(-4px);
  }

  .fiesta-header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }

  .fiesta-header h4 {
    font-size: 1.4rem;
  }

  .fiesta-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .fiesta-description {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .fiesta-actividades h5 {
    font-size: 1.2rem;
  }

  .fiesta-actividades li {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
  }

  .cultura .cultura-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 150px);
    gap: 8px;
    margin: 1.5rem 0;
  }

  .cultura .cultura-gallery img:nth-child(1),
  .cultura .cultura-gallery img:nth-child(2),
  .cultura .cultura-gallery img:nth-child(3),
  .cultura .cultura-gallery img:nth-child(4),
  .cultura .cultura-gallery img:nth-child(5),
  .cultura .cultura-gallery img:nth-child(6),
  .cultura .cultura-gallery img:nth-child(7),
  .cultura .cultura-gallery img:nth-child(8),
  .cultura .cultura-gallery img:nth-child(9),
  .cultura .cultura-gallery img:nth-child(10) {
    grid-column: 1 / 2;
    grid-row: auto;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .cultura h2 {
    font-size: 2.2rem;
  }

  .intro-content h3 {
    font-size: 1.6rem;
  }

  .intro-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .fiesta-card {
    padding: 0.8rem;
  }

  .fiesta-header h4 {
    font-size: 1.3rem;
  }

  .fiesta-description {
    font-size: 1rem;
  }

  .fiesta-actividades li {
    font-size: 0.95rem;
  }

  .cultura .cultura-gallery {
    grid-template-rows: repeat(10, 120px);
    gap: 6px;
  }
}
