@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

/* Nueva sección visual estilo imagen de fondo */
.visual-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1551818255-e6e10975cd17?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.visual-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin: 0;
  animation: fadeInUp 1.2s ease-out;
}

/* Efectos adicionales */
.visual-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 212, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .visual-section {
    min-height: 60vh;
    padding: 60px 15px;
    background-attachment: scroll;
  }
  
  .visual-text {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .visual-section {
    min-height: 50vh;
    padding: 40px 15px;
  }
  
  .visual-text {
    font-size: 1.8rem;
    line-height: 1.3;
  }
}

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

/* Efecto de paralaje sutil */
@media (min-width: 769px) {
  .visual-section {
    background-attachment: fixed;
  }
}

/* Sección de Infografía */
.infografia-section {
  padding: 80px 20px;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../media/imagen_dron.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infografia-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 2;
  position: relative;
}

@media (max-width: 768px) {
  .infografia-section {
    padding: 60px 15px;
  }
  
  .infografia-text {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .infografia-section {
    padding: 40px 15px;
  }
  
  .infografia-text {
    font-size: 1.6rem;
    line-height: 1.4;
  }
}