/* Estilos para Botones de Redes Sociales */
.social-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 100;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.social-btn:hover::before {
  transform: translateX(100%);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.whatsapp {
  background: #25d366;
}

.social-tooltip {
  position: absolute;
  right: 60px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.social-btn:hover .social-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Animaciones */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.social-btn {
  animation: float 3s ease-in-out infinite;
}

.social-btn:nth-child(2) {
  animation-delay: 0.2s;
}

.social-btn:nth-child(3) {
  animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
  .social-container {
    right: 0.8rem;
    bottom: 0.8rem;
    gap: 0.6rem;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .social-tooltip {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 360px) {
  .social-container {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .social-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Galería de Miniaturas */
.mini-gallery {
  padding: 2.5rem 1rem;
  background: #f7f7f7;
  text-align: center;
}
.mini-gallery h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color, #e53935);
}
.mini-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}
.mini-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  background: #e0e0e0;
}
.mini-gallery-grid img:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* Lightbox */
.mini-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.mini-lightbox.active {
  display: flex;
}
.mini-lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  background: #fff;
  animation: zoomIn 0.3s;
}
.mini-lightbox-close {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.mini-lightbox-close:hover {
  color: var(--primary-color, #e53935);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
  .mini-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .mini-lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}

.dojo-map-section {
  padding: 2.5rem 1rem 2rem 1rem;
  background: linear-gradient(135deg, #ececec 60%, #fff 100%);
  text-align: center;
  animation: fadeIn 1s;
}
.dojo-map-section h2 {
  color: var(--primary-color, #e53935);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.dojo-map-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #fff;
}
.dojo-map-container iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}
.btn-maps {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--primary-color, #e53935);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.btn-maps:hover {
  background: #c62828;
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .dojo-map-container iframe {
    height: 220px;
  }
  .btn-maps {
    bottom: 10px;
    right: 10px;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
}

.dojo-logo-badge {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  animation: pulse 2.5s infinite;
}
.dojo-logo-badge img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  border: 3px solid #fff;
  display: block;
  transition: transform 0.2s;
}
.dojo-logo-badge img:hover {
  transform: scale(1.08) rotate(-8deg);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@media (max-width: 600px) {
  .dojo-logo-badge {
    left: 0.5rem;
    bottom: 0.5rem;
  }
  .dojo-logo-badge img {
    width: 48px;
    height: 48px;
  }
} 