/* Estilos generales */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin:0px auto;
  padding: 0;
  color: #333;
  background-color: #f8f5f3;
}

/* Encabezado */
.header {
  background-color: #611232; /* Burdeos oscuro */
  color: #fff;
  padding: 1rem 0;
  border-bottom: 5px solid #a8843c; /* Línea dorada */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logos en extremos opuestos */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo img {
  width: 100px; /* Ajusta el tamaño según sea necesario */
  height: auto;
}

.logo-left img {
  width: 130px; /* Ajusta el tamaño según sea necesario */
  height: auto;
}

.header-title {
  text-align: center;
  flex: 1; /* Ocupa todo el espacio disponible entre los logos */
}

.header-title h1 {
  font-size: 1.8rem;
  margin: 0;
}

.header-title p {
  font-size: 1rem;
  margin: 0.5rem 0 0;
  font-weight: bold;
}

.header h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.header p {
  font-size: 1rem;
  font-weight: bold;
}

/* Menú de navegación */
.navbar {
  background-color: #a8843c; /* Dorado */
  padding: 0.5rem 0;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.navbar a {
  text-decoration: none;
  color: #fff; /* Blanco para contraste */
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.navbar a:hover {
  background-color: #611232; /* Burdeos oscuro al pasar el ratón */
}

/* Sección de bienvenida */
.welcome-section {
  text-align: center;
  padding: 1rem 1rem;
  background-color: #fff;
  color: #611232; /* Texto en burdeos oscuro */
  border-top: 5px solid #a8843c; /* Línea dorada */
}

.welcome-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.welcome-section p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

/* Galeria */
.slider-container {
  position: relative;
  overflow: hidden;
  width: 80%;
  max-width: 720px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px; /* Apply border-radius to images for consistent rounded corners */
}

.progress-bar {
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 4px;
}

.progress-segment {
  flex: 1;
  height: 100%;
  background-color: rgb(255 255 255 / 22%);
  border-radius: 6px; /* Ensure segments have a rounded appearance */
  position: relative;
  margin: 0 2px;
  overflow: hidden;
}

.progress-segment .fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #ffffff;
  transition: width 5s linear;
}

.completed .fill {
  width: 100%;
}

/* Sección importante */
.important-note {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fff;
  border-top: 5px solid #611232;
}

.important-note h3 {
  color: #611232;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.important-note p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.important-note .note {
  font-style: italic;
  color: #a8843c;
}

.important-note .btn {
  background-color: #611232;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.important-note .btn:hover {
  background-color: #a8843c;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .slider-btn {
    font-size: 1.5rem;
  }

  .welcome-section h2 {
    font-size: 2rem;
  }

  .welcome-section h3 {
    font-size: 1.5rem;
  }
}
/* Footer */
.footer {
  background-color: #611232; /* Burdeos oscuro */
  color: white;
  padding: 2rem 0;
  border-top: 5px solid #a8843c; /* Línea dorada decorativa */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Ajuste para dispositivos pequeños */
}

/* Menú del Footer */
.footer-menu {
  display: flex;
  gap: 2rem;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #ffdd91; /* Color de hover */
}

/* Redes Sociales */
.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-link img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-link img:hover {
  transform: scale(1.1); /* Zoom suave en hover */
}
/* Sección de Preguntas Frecuentes */
.faq-section {
  background-color: #fff;
  padding: 2rem 1rem;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
  max-width: 1200px;
  margin: 2rem auto;
}

.faq-section h2 {
  text-align: center;
  color: #611232;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #a8843c;
  padding-bottom: 1rem;
}

.faq-question {
  width: 100%;
  background-color: #a8843c;
  color: #fff;
  border: none;
  padding: 0.75rem;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #611232;
}

.faq-answer {
  display: none;
  padding: 0.5rem 1rem;
  color: #333;
  font-size: 1rem;
  border-left: 5px solid #a8843c;
  background-color: #f8f5f3;
}

.faq-answer a {
  color: #611232;
  text-decoration: underline;
}

/* Sección de Gaceta */
.gaceta-blog {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  background-color: #f8f5f3;
}

.gaceta-blog h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #611232;
  margin-bottom: 2rem;
  border-bottom: 2px solid #a8843c;
  padding-bottom: 0.5rem;
}

.gaceta-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gaceta-article {
  background-color: #fff;
  border: 1px solid #a8843c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gaceta-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gaceta-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gaceta-content {
  padding: 1rem;
}

.gaceta-content h3 {
  font-size: 1.8rem;
  color: #611232;
  margin-bottom: 0.5rem;
}

.gaceta-date {
  font-size: 0.9rem;
  color: #a8843c;
  margin-bottom: 1rem;
  font-style: italic;
}

.gaceta-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.gaceta-content .btn {
  display: inline-block;
  background-color: #611232;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.gaceta-content .btn:hover {
  background-color: #a8843c;
}

.loading-text {
  text-align: center;
  font-size: 1.2rem;
  color: #a8843c;
  margin: 2rem 0;
  font-style: italic;
}



/* Texto de carga */
.loading-text {
  text-align: center;
  font-size: 1.2rem;
  color: #a8843c;
  margin: 2rem 0;
  font-style: italic;
}

/* Contenedor de filtros */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Input de búsqueda */
.filter-input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #a8843c;
  border-radius: 5px;
  width: 300px;
  max-width: 100%;
}

/* Menú desplegable */
.filter-select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #a8843c;
  border-radius: 5px;
  background-color: #fff;
  color: #611232;
}
/* Sección de Contacto */
.contact-section {
  background-color: #f8f5f3;
  padding: 2rem 1rem;
  border-top: 5px solid #611232;
  border-bottom: 5px solid #a8843c;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  color: #611232;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-item {
  background-color: #fff;
  border: 1px solid #a8843c;
  border-radius: 10px;
  padding: 1rem;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-item h3 {
  font-size: 1.5rem;
  color: #611232;
  margin-bottom: 0.5rem;
}

.contact-item p {
  font-size: 1rem;
  color: #333;
}

.contact-item a {
  color: #611232;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-map {
  margin-top: 2rem;
}

.contact-address {
  text-align: left;
  background-color: #fff;
  border: 1px solid #a8843c;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Sección de Galería */
.gallery-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fff;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
}

.gallery-section h2 {
  font-size: 2.5rem;
  color: #611232;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.close-lightbox:hover {
  color: #a8843c;
}
/* Sección de Servicios */
.services-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fff;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
}

.services-section h2 {
  font-size: 2.5rem;
  color: #611232;
  margin-bottom: 1rem;
}

.services-section p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.service-card {
  background-color: #f8f5f3;
  border: 1px solid #a8843c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 600px;
  text-align: left;
  padding: 1.5rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-content h3 {
  font-size: 1.8rem;
  color: #611232;
  margin-bottom: 0.5rem;
}

.service-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.available-dates ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0.5rem 0;
}

.available-dates li {
  font-size: 1rem;
  color: #611232;
  margin-bottom: 0.5rem;
}

.note {
  font-style: italic;
  color: #a8843c;
}

.service-card .btn {
  display: inline-block;
  background-color: #611232;
  color: white;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-card .btn:hover {
  background-color: #a8843c;
}

.availability-status {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

#roco-status {
  font-weight: bold;
  color: #611232; /* Burdeos oscuro */
}

#roco-status.unavailable {
  color: #a8843c; /* Dorado */
}

#roco-status.available {
  color: #228B22; /* Verde */
}

/*--------------*/
/* Sección de Especialidades */
.categories-section {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f8f5f3;
  border-top: 5px solid #611232;
}

.categories-section h2 {
  font-size: 2.5rem;
  color: #611232;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.categories-container .course-card {
  background-color: #fff;
  border: 1px solid #a8843c;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.categories-container .course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.categories-container .course-content {
  padding: 1.5rem;
  text-align: center;
}

.categories-container .course-content h3 {
  font-size: 1.0rem;
  color: #611232;
  margin-bottom: 1rem;
}

.categories-container .btn {
  background-color: #611232;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.categories-container .btn:hover {
  background-color: #a8843c;
  transform: scale(1.05);
}
/* Sección de Cursos */
.courses-section {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #fff;
  border-top: 5px solid #611232;
}

.courses-section h2 {
  font-size: 2.5rem;
  color: #611232;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.courses-section .btn {
  background-color: #611232;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.courses-section .btn:hover {
  background-color: #a8843c;
}

.courses-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.courses-container .course-card {
  background-color: #f8f5f3;
  border: 1px solid #a8843c;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.courses-container .course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.courses-container .course-content {
  padding: 1.5rem;
  text-align: left;
}

.courses-container .course-content h3 {
  font-size: 1.5rem;
  color: #611232;
  margin-bottom: 0.5rem;
}

.courses-container .course-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.courses-container .btn {
  background-color: #611232;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.courses-container .btn:hover {
  background-color: #a8843c;
}

#backToCategories {
  margin: 1rem auto;
  display: block;
  background-color: #611232;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#backToCategories:hover {
  background-color: #a8843c;
}

@media (max-width: 768px) {
  .categories-container,
  .courses-container {
    grid-template-columns: 1fr; /* Una columna para pantallas pequeñas */
  }

  .categories-section h2,
  .courses-section h2 {
    font-size: 0.25rem;
  }

  .categories-container .course-content h3,
  .courses-container .course-content h3 {
    font-size: 1.25rem;
  }
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  position: relative;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  color: #444;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

/* Layout por columnas */
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.modal-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-right {
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 5px;
}

.modal-right ul {
  list-style: disc;
  padding-left: 20px;
}

.modal-right ul li {
  margin-bottom: 0.5rem;
}

/* Galeria */
.modal-images {
  display: flex;
  gap: 0.5rem;
}

.modal-images img {
  width: 200px;
  height: 200px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-images img:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Botón */
.modal-content .btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.modal-content .btn:hover {
  background-color: #0056b3;
}

/* Sección de ¿Quiénes Somos? */
.about-section {
  background-color: #fff;
  color: #611232;
  padding: 3rem 2rem;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Sección de Misión y Visión */
.mission-vision-section {
  background-color: #f8f5f3;
  padding: 3rem 2rem;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
  text-align: center;
}

.mission-vision-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #611232;
  font-weight: bold;
}

.mission-vision-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}

/* Sección de Oferta Educativa */
.educational-offer {
  background-color: #fff;
  padding: 3rem 2rem;
  text-align: left;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
}

.educational-offer h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #611232;
  font-weight: bold;
}

.educational-offer ul {
  list-style-type: square;
  padding-left: 2rem;
  line-height: 1.8;
  color: #333;
}

.educational-offer ul li {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

/* Sección de Beneficios */
.benefits-section {
  background-color: #f8f5f3;
  padding: 3rem 2rem;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
  text-align: center;
}

.benefits-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #611232;
  font-weight: bold;
}

.benefits-section ul {
  list-style-type: disc;
  padding-left: 2rem;
  line-height: 1.8;
}

.benefits-section ul li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #444;
}

/* Sección de Contacto */
.contact-section {
  background-color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 5px solid #a8843c;
  border-bottom: 5px solid #611232;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #611232;
  font-weight: bold;
}

.contact-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #444;
}

.contact-section a {
  color: #611232;
  text-decoration: none;
  font-weight: bold;
}

.contact-section a:hover {
  color: #a8843c;
}

.tabs {
  margin: 1rem 0;
  text-align: center;
}

.tab-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-list li {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  cursor: pointer;
  border: 1px solid #611232;
  border-radius: 5px;
  background-color: #fff;
  color: #611232;
  transition: all 0.3s;
}

.tab-list li.active {
  background-color: #611232;
  color: #fff;
}

.tab-list li:hover {
  background-color: #a8843c;
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Contenedor de la galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.tab-list li.active {
  background-color: #611232; /* Color activo */
  color: white;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  color: #611232;
  border-radius: 5px;
}

#prev-btn {
  left: 20px;
}

#next-btn {
  right: 20px;
}

.lightbox-btn:hover {
  background-color: #a8843c;
}
/* Lightbox Video */
.lightbox-video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}
.directory-section {
  background-color: #f8f5f3;
  padding: 2rem 1rem;
  border-top: 5px solid #611232;
  border-bottom: 5px solid #a8843c;
  text-align: center;
}

.directory-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.directory-item {
  background-color: #fff;
  border: 1px solid #a8843c;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.directory-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.directory-item h3 {
  font-size: 1.5rem;
  color: #611232;
  margin-bottom: 0.5rem;
}

.directory-item p {
  font-size: 1rem;
  color: #333;
}

.directory-item a {
  color: #611232;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
}

.directory-item a:hover {
  text-decoration: underline;
}

/*-----------*/
