:root {
  --color-primary: #c46b43; /* Terracota */
  --color-secondary: #e2a76f; /* Durazno */
  --color-accent: #e98a48; /* Naranja cálido */
  --color-light: #f8f3e9; /* Crema claro */
  --color-dark: #3d3125; /* Marrón oscuro */
  --color-beige: #f5e0c2; /* Beige cálido */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-light);
}

a {
  text-decoration: none;
  color: var(--color-primary);
}

a:hover {
  color: var(--color-accent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("/api/placeholder/1200/500") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 150px 0;
  position: relative;
}

.logo {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.logo span {
  font-weight: 600;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Secciones */
section {
  padding: 80px 0;
}

section:nth-child(odd) {
  background-color: white;
}

section:nth-child(even) {
  background-color: var(--color-beige);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-primary);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 15px auto;
}

/* Sobre nosotros */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Instalaciones */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

/* Normas */
.rules {
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rule-category {
  margin-bottom: 30px;
}

.rule-heading {
  color: var(--color-primary);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 10px;
}

.rule-list {
  list-style: none;
}

.rule-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.rule-list li::before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--color-accent);
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Ubicación */
.location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.map {
  flex: 2;
  min-width: 300px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-info {
  flex: 1;
  min-width: 300px;
}

.poi-list {
  list-style: none;
  margin-top: 20px;
}

.poi-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.poi-list li::before {
  content: "📍";
  position: absolute;
  left: 0;
}

/* Contacto */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-submit {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 100px 0;
  }

  .logo {
    font-size: 2rem;
  }

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

  section {
    padding: 60px 0;
  }
}

.calendar-container {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.calendar-container h3 {
  padding: 15px;
  background-color: var(--color-primary);
  color: white;
  margin: 0;
}

/* Estilos para el selector de fechas */
#daterange {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Animación al hacer hover */
#daterange:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.fc-event-occupied {
  background-color: rgba(231, 76, 60, 0.8);
  color: white;
  text-align: center;
  padding: 2px 0;
  font-size: 0.8rem;
  border-radius: 3px;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(240, 230, 215, 0.5);
}

.occupied-day {
  background-color: #ffcccb !important;
  opacity: 0.8 !important;
}

.occupied-label {
  color: #e74c3c;
  font-weight: bold;
  font-size: 10px;
  text-align: center;
  margin-top: 2px;
  padding: 2px 4px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}

/* Estilos adicionales para asegurar que el calendario se muestre correctamente */
.fc-daygrid-day-frame {
  min-height: 70px;
  position: relative;
}

.no-disponible {
  color: white;
  background-color: #eb311c;
  padding: 2px 4px;
  margin-top: 40px;
  border-radius: 3px;
  font-size: 10px;
  text-align: center;
}

.fc-day-today {
  background-color: rgba(255, 248, 220, 0.4) !important;
}

.fc-event-title {
  white-space: normal !important;
}

/* Asegurar que el fondo del evento se muestre correctamente */
.fc-daygrid-event-harness {
  margin-top: 0 !important;
}

.fc-h-event {
  border: none !important;
  background-color: transparent !important;
}

.fc-daygrid-day.fc-day-future {
  cursor: default !important;
}

header {
  position: relative;
  height: 56.25vw; /* 16:9 aspect ratio */
  max-height: 100vh;
  overflow: hidden;
}

#headerCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#headerCarousel .carousel-item {
  height: 100%;
}

#headerCarousel .carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: white;
}

.header-content .container {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.header-content .logo {
  font-size: 3rem;
  margin-bottom: 10px;
}

.header-content .tagline {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.header-content .btn {
  font-size: 1.2rem;
  padding: 10px 20px;
}

/* Estilos para el selector de fechas */
#daterange {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Animación al hacer hover */
#daterange:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Estilos para los mensajes de error en el selector de fechas */
.date-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: bold;
}

.date-instructions {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Estilos para Litepicker */
.litepicker {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.litepicker .container__days .day-item.is-in-range {
  background-color: var(--color-beige);
  color: var(--color-dark);
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
  background-color: var(--color-primary);
  color: white;
}

.litepicker .container__days .day-item:hover {
  background-color: var(--color-secondary);
  color: white;
}

.litepicker .container__days .day-item.is-locked {
  background-color: #ffcccb !important;
  color: #666 !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
}

.litepicker .button-apply {
  background-color: var(--color-primary);
  color: white;
}

.litepicker .button-apply:hover {
  background-color: var(--color-accent);
}

.inline-calendar {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.inline-calendar .litepicker {
  box-shadow: none;
  border-radius: 0;
  position: static;
  display: block;
  width: 100%;
}

.inline-calendar .litepicker .container__months {
  width: 100%;
  box-shadow: none;
  background-color: transparent;
}

.inline-calendar .litepicker .container__months .month-item {
  padding: 5px;
}

/* Responsive design para el calendario */
@media (max-width: 768px) {
  .inline-calendar .litepicker .container__months {
    display: block;
  }

  .inline-calendar .litepicker .container__months .month-item {
    width: 100%;
  }
}

/* Estilos para el selector de fechas */
#daterange {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Animación al hacer hover */
#daterange:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Estilos para los mensajes de error en el selector de fechas */
.date-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: bold;
}

.date-instructions {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Estilos para Litepicker */
.litepicker {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.litepicker .container__days .day-item.is-in-range {
  background-color: var(--color-beige);
  color: var(--color-dark);
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
  background-color: var(--color-primary);
  color: white;
}

.litepicker .container__days .day-item:hover {
  background-color: var(--color-secondary);
  color: white;
}

.litepicker .container__days .day-item.is-locked {
  background-color: #ffcccb !important;
  color: #666 !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
}

.litepicker .button-apply {
  background-color: var(--color-primary);
  color: white;
}

.litepicker .button-apply:hover {
  background-color: var(--color-accent);
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 5px;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}


/* Estilos para el carrusel del header */
header {
  position: relative;
  height: 56.25vw; /* Aspecto 16:9 */
  max-height: 100vh;
  overflow: hidden;
}

/* Contenedor principal del carrusel */
.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Estilos para cada diapositiva */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.3); /* Overlay oscuro para mejorar la legibilidad del texto */
}

/* Diapositiva activa */
.carousel-slide.active {
  opacity: 1;
}

/* Estilo para las imágenes dentro de las diapositivas */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8); /* Oscurecer un poco la imagen para facilitar la lectura del texto */
}

/* Asegurar que el contenido del header esté por encima del carrusel */
.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: white;
}

.header-content .container {
  background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para el contenido */
  padding: 20px;
  border-radius: 10px;
}

/* Garantizar que el botón es completamente visible e interactivo */
.header-content .btn {
  position: relative;
  z-index: 3;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Sombra para hacer destacar el botón */
  background-color: var(--color-primary);
}

.header-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
  header {
      height: 70vh; /* Altura fija para móviles */
  }
  
  .header-content .container {
      padding: 15px;
      width: 90%;
  }
  
  .header-content .logo {
      font-size: 2rem;
  }
  
  .header-content .tagline {
      font-size: 1.2rem;
  }
}


/* Estilos para la sección de Precios y Condiciones */

/* Contenedor principal de precios */
.pricing-container {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pricing-container h3 {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.pricing-container h3 i {
  margin-right: 10px;
  color: var(--color-accent);
}

/* Tabla de precios */
.table-responsive {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.pricing-table th {
  background-color: var(--color-beige);
  color: var(--color-dark);
  font-weight: bold;
  text-align: left;
  padding: 12px 15px;
}

.pricing-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background-color: #f9f4ea;
}

.pricing-table td:last-child {
  font-weight: bold;
  color: var(--color-primary);
}

/* Contenedor de condiciones */
.conditions-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Tarjetas de condiciones */
.condition-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.condition-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  text-align: center;
}

.condition-card h3 {
  color: var(--color-primary);
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.2rem;
}

.condition-list {
  list-style: none;
}

.condition-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.4;
}

.condition-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* CTA de precios */
.pricing-cta {
  text-align: center;
  margin: 30px 0;
  padding: 30px;
  background-color: var(--color-beige);
  border-radius: 10px;
}

.pricing-cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .conditions-container {
      grid-template-columns: 1fr;
  }
  
  .pricing-table th, 
  .pricing-table td {
      padding: 10px;
  }
  
  .pricing-container,
  .condition-card {
      padding: 15px;
  }
}

/* Estilos para la sección FAQ */

/* Contenedor general */
#faq {
  background-color: white;
}

.faq-container {
  margin-top: 30px;
}

/* Categorías de preguntas */
.faq-categories {
  margin-bottom: 30px;
  text-align: center;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.category-btn {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background-color: var(--color-beige);
}

.category-btn.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Estilo para cada pregunta y respuesta */
.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-color: white;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.faq-question {
  padding: 20px;
  margin: 0;
  background-color: var(--color-light);
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--color-beige);
}

.faq-question i {
  margin-right: 12px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.faq-question::after {
  content: '\f107'; /* Icono de flecha hacia abajo en Font Awesome */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px; /* Valor alto para permitir contenido extenso */
}

.faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* Categorías ocultas */
.faq-item.hidden {
  display: none;
}

/* Responsivo */
@media (max-width: 768px) {
  .category-buttons {
      flex-direction: column;
      gap: 8px;
  }
  
  .category-btn {
      width: 100%;
  }
  
  .faq-question {
      font-size: 1rem;
      padding: 15px;
  }
  
  .faq-item.active .faq-answer {
      padding: 15px;
  }
}

/* Estilos para el selector de idiomas prominente con banderas */

/* Barra de idiomas principal */
.prominent-language-bar {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
}

/* Etiqueta de idioma */
.language-label {
  display: flex;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  gap: 5px;
}

.language-label i {
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* Contenedor de banderas */
.language-flags {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Estilos para cada bandera */
.language-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border-radius: 5px;
  padding: 5px 10px;
}

.language-flag-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.language-flag-item.active {
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
}

.language-flag-item.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.flag-icon {
  font-size: 1.5rem;
  margin-bottom: 3px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.flag-name {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Botón de más idiomas */
.more-languages-dropdown {
  position: relative;
}

.more-languages-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.more-languages-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.more-languages-button i {
  font-size: 1rem;
  margin-bottom: 3px;
}

.more-languages-button span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Contenido desplegable de más idiomas */
.more-languages-content {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 180px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
}

.more-languages-dropdown.open .more-languages-content {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
}

/* Opciones dentro del desplegable */
.language-option {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--color-dark);
  transition: background-color 0.2s ease;
}

.language-option:hover {
  background-color: var(--color-beige);
  color: var(--color-primary);
}

.language-mini-flag {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Ajustes para diferentes tamaños de pantalla */
@media (max-width: 768px) {
  .language-container {
      justify-content: center;
  }
  
  .language-label span {
      display: none; /* Ocultar el texto en pantallas pequeñas */
  }
  
  .flag-name {
      display: none; /* Ocultar nombres de banderas en móvil */
  }
  
  .language-flag-item {
      padding: 5px;
  }
}

@media (max-width: 480px) {
  .prominent-language-bar {
      padding: 8px;
  }
  
  .language-flags {
      gap: 5px;
  }
  
  .flag-icon {
      font-size: 1.2rem;
  }
  
  .language-label i {
      display: none;
  }
}

/* Ajustes para el header para dejar espacio a la barra de idiomas */
header {
  padding-top: 50px; /* Ajustar según la altura de la barra de idiomas */
}

@media (max-width: 768px) {
  header {
      padding-top: 45px;
  }
}


/* Estilos mejorados para responsive design en móviles */

/* Barra de idiomas para dispositivos móviles */
@media (max-width: 768px) {
  .prominent-language-bar {
      padding: 8px 10px;
  }

  .language-container {
      justify-content: space-between;
  }
  
  .language-label {
      font-size: 0.8rem;
  }
  
  .language-label span {
      display: none; /* Ocultar el texto en pantallas pequeñas */
  }
  
  .language-flags {
      gap: 5px;
      flex-wrap: wrap;
      justify-content: flex-end;
  }
  
  .language-flag-item {
      padding: 4px;
  }
  
  .flag-icon {
      font-size: 1.2rem;
      margin-bottom: 0;
  }
  
  .flag-name {
      display: none; /* Ocultar nombres de banderas en móvil */
  }
  
  .more-languages-button {
      padding: 4px;
  }
  
  .more-languages-button span {
      display: none;
  }
  
  .more-languages-content {
      right: -50px; /* Ajustar la posición para que no se salga de la pantalla */
      width: 160px;
  }
}

@media (max-width: 480px) {
  .prominent-language-bar {
      padding: 5px;
  }
  
  .language-label i {
      font-size: 0.9rem;
  }
  
  .flag-icon {
      font-size: 1.1rem;
  }
  
  /* Ajustar header para dejar espacio a la barra de idiomas */
  header {
      padding-top: 40px;
  }
  
  /* Contenido del header para móviles pequeños */
  .header-content .container {
      padding: 10px;
      width: 95%;
  }
  
  .header-content .logo {
      font-size: 1.8rem;
      margin-bottom: 8px;
  }
  
  .header-content .tagline {
      font-size: 1rem;
      margin-bottom: 15px;
  }
  
  .header-content .btn {
      font-size: 0.9rem;
      padding: 8px 16px;
  }
}

/* Mejoras en el diseño responsivo para section y containers */
@media (max-width: 768px) {
  section {
      padding: 50px 0;
  }
  
  .container {
      padding: 0 15px;
  }
  
  .section-title {
      font-size: 1.6rem;
      margin-bottom: 30px;
  }
  
  /* Ajustes para la sección de características */
  .features {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
  }
  
  .feature-item {
      padding: 20px;
  }
  
  /* Ajustes para la sección de contacto */
  .contact-form {
      padding: 25px;
  }
  
  /* Calendario más pequeño en móviles */
  .calendar-container {
      height: auto;
  }
  
  /* Ajustes para la galería en móviles */
  .gallery-container {
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      grid-auto-rows: 140px;
      gap: 10px;
  }
  
  .gallery-filters {
      flex-wrap: nowrap;
      overflow-x: auto;
      padding-bottom: 10px;
      justify-content: flex-start;
      margin-bottom: 20px;
  }
  
  .filter-btn {
      flex: 0 0 auto;
      font-size: 0.8rem;
      padding: 6px 12px;
      white-space: nowrap;
  }
}

/* Específicos para móviles muy pequeños */
@media (max-width: 360px) {
  .header-content .logo {
      font-size: 1.6rem;
  }
  
  .header-content .tagline {
      font-size: 0.9rem;
  }
  
  .header-content .btn {
      font-size: 0.8rem;
      padding: 6px 12px;
  }
  
  .section-title {
      font-size: 1.4rem;
  }
  
  .contact-form {
      padding: 15px;
  }
  
  /* Galería aún más compacta */
  .gallery-container {
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      grid-auto-rows: 120px;
  }
}

/* Optimizaciones para el carrusel del header en móviles */
@media (max-width: 768px) {
  header {
      height: 80vh; /* Altura fija para móviles que funciona mejor */
      max-height: 500px;
  }
  
  .carousel-slide img {
      object-fit: cover;
      object-position: center;
  }
}

/* Mejoras específicas para tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .features {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .contact-form {
      max-width: 90%;
  }
  
  .header-content .container {
      max-width: 80%;
  }
}

/* Arreglos para el modal de la galería en móviles */
@media (max-width: 768px) {
  .gallery-modal {
      padding-top: 60px;
  }
  
  .modal-content {
      max-width: 90%;
      max-height: 70vh;
  }
  
  .modal-close {
      top: 10px;
      right: 15px;
      font-size: 30px;
  }
  
  .modal-prev,
  .modal-next {
      padding: 10px;
      font-size: 24px;
  }
  
  .modal-caption {
      width: 90%;
      font-size: 0.9rem;
  }
}