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

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/fondo1.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

.background-overlay {
  background: url('fondo.jpg') no-repeat center center/cover;
  min-height: 100vh;
  position: relative;
  overflow: visible;
}

.background-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 5% 10%;
  animation: fadeIn 1.2s ease-in-out;
}

h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  animation: slideDown 1s ease forwards;
}

p {
  font-size: 1.2em;
  margin-bottom: 30px;
  animation: fadeIn 2s ease-in-out;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ff3366;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #e6005c;
  transform: scale(1.05);
}

.gallery {
  margin: 40px auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.gallery img:active {
  transform: scale(1.2);
}

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

.social-btn {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-btn:hover {
  transform: scale(1.1);
}

.instagram {
  background-color: #e1306c;
}

.instagram:hover {
  background-color: #c91f5e;
}

.facebook {
  background-color: #3b5998;
}

.facebook:hover {
  background-color: #2d4373;
}

.whatsapp {
  background-color: #25D366;
}

.whatsapp:hover {
  background-color: #1ebc59;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.animate-fade { animation: fadeIn 1s ease-in-out; }
.animate-fade-delay { animation: fadeIn 1.5s ease-in-out; }
.animate-slide { animation: slideDown 1.2s ease-in-out; }
.animate-zoom { animation: zoomIn 1s ease-in-out; }
.animate-img { animation: zoomIn 1s ease-in-out; }

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .social-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .gallery img {
    max-width: 90%;
  }
}

/* Elementos ocultos inicialmente */
.animate-fade,
.animate-slide,
.animate-zoom,
.animate-img {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

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

.img-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.img-col img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

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

/* Modal de imagen */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.img-modal-content {
  display: block;
  margin: auto;
  max-width: 90vw;
  max-height: 85vh;
  animation: zoomIn 0.4s ease;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  object-fit: contain;
}

.img-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.img-close:hover {
  color: #ccc;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- Acordeón --- */
.accordion-wrapper {
  margin: 30px auto;
  width: 95%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.accordion-toggle {
  background-color: #ff69b4;
  color: white;
  border: none;
  padding: 15px 20px;
  width: 100%;
  font-size: 1.1em;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.accordion-toggle:hover {
  background-color: #e055a4;
}

.accordion-content {
  display: none;
  padding: 20px 30px;
  background-color: white;
  color: #333;
  font-size: 1em;
  animation: fadeIn 0.5s ease-in-out;
  text-align: left;
}

.accordion-content ul {
  padding-left: 18px;  /* Reduce la separación izquierda */
  margin: 10px 0;
  list-style-type: disc;
}

.accordion-content li {
  padding-left: 4px;    /* Acerca el texto al punto */
  margin-bottom: 6px;
  line-height: 1.4;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Permitir scroll si se bloqueó en otra parte */
body {
  overflow-x: hidden;
  overflow-y: auto;
}