img.main_menu_logo {
  max-width: 150px;
  max-height: 50px;
}

swiper-container {
  width: 100%;
  /*padding-top: 50px;*/
  padding-bottom: 50px;
}

swiper-slide {
  background-position: center;
  background-size: cover;
  width: 450px;
  height: 450px;
}

swiper-slide img {
  display: block;
  width: 100%;
}

model-viewer {
  display: block;
  width: 100%;
}

.swiper {
  height: 50%;
}

.button-container {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-container button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/*MODAL*/
/* Variables de diseño */

/* Estilos base */
.modern-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modern-btn.primary {
  background-color: var(--primary-color);
  color: white;
}

.modern-btn.secondary {
  background-color: var(--light-color);
  border: 1px solid #ddd;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #1570E6;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: var(--transition);
  animation: fadeInUp 0.4s ease forwards;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  width: 100%;
  font-size: 40px;
  color: white;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--danger-color);
  transform: rotate(90deg);
}

.modal-content {
  padding: 20px;
  line-height: 1.6;
  color: white;
}

.modal-image {
  margin: 20px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-footer {
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-footer button {
  color: white;
  border-radius: 5px;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#vectores-parallax {
  top: 250%;
  position: absolute;
  pointer-events: none;
}


/* Responsive */
@media (max-width: 600px) {
  .modal-container {
    width: 95%;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modern-btn {
    width: 100%;
  }

  #vectores-parallax {
    top: 150%;
    position: absolute;
    pointer-events: none;
  }
}

/* Por defecto, mostramos el botón móvil y ocultamos el de escritorio */
.button-desktop {
  display: none;
}

.button-mobile {
  display: inline-block;
}

/* En pantallas grandes (escritorio), mostramos el de escritorio y ocultamos el móvil */
@media (min-width: 768px) {
  .button-desktop {
    display: inline-block;
  }

  .button-mobile {
    display: none;
  }
}
