/* AEROSIG - estilos especificos de experiencia y carruseles */

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  background: white;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  background: white;
}

.slide-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-video {
  width: 100%;
  height: 500px;
  position: relative;
  background: #000;
}

.slide-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.slide-content {
  padding: 2rem;
  background: white;
}

.slide-content h3 {
  margin: 0 0 1rem;
  color: var(--text-main);
  font-size: 1.75rem;
}

.slide-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.carousel-btn {
  position: absolute;
  top: 250px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: white;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

.indicator:hover {
  background: var(--secondary);
}

.clients-carousel-container {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.clients-track {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  width: max-content;
  align-items: center;
  will-change: transform;
  padding: 1rem 0;
}

.client-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  min-width: 120px;
}

.client-item > div,
.client-logo {
  height: 70px;
  width: auto;
  max-width: 150px;
  min-width: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .carousel-slide {
    display: block;
  }

  .slide-image,
  .slide-video {
    height: 300px;
  }

  .slide-content {
    padding: 1.5rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: 150px;
  }

  .carousel-btn.prev {
    left: 0.5rem;
  }

  .carousel-btn.next {
    right: 0.5rem;
  }

  .clients-carousel-container {
    padding: 1.5rem 0;
  }

  .clients-track {
    gap: 2rem;
  }

  .client-item {
    min-width: 100px;
    padding: 0 0.5rem;
  }

  .client-item > div,
  .client-logo {
    height: 55px;
    max-width: 110px;
    min-width: 60px;
  }
}

@media (max-width: 576px) {
  .slide-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .slide-image,
  .slide-video {
    height: 250px;
  }

  .clients-track {
    gap: 1.5rem;
  }

  .client-item {
    min-width: 90px;
    padding: 0 0.5rem;
  }

  .client-logo {
    height: 50px;
    max-width: 100px;
    min-width: 50px;
  }
}

@media (max-width: 375px) {
  .slide-content {
    padding: 1.25rem;
  }

  .clients-track {
    gap: 1rem;
  }

  .client-item {
    min-width: 70px;
    padding: 0 0.25rem;
  }

  .client-logo {
    height: 40px;
    max-width: 80px;
    min-width: 40px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .slide-image,
  .slide-video {
    height: 200px;
  }
}
