/* ====================================
   STANDS CAROUSEL SECTION
   Grid layout with internal image carousel
   ==================================== */

.stands-carousel-section {
  padding: 50px 0;
  background: #f8f9fa;
}

.carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.carousel-title {
  /* Open Sans Bold - Headlines */
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* Main Grid - All 5 stands visible */
.stands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Stand Card with Internal Carousel */
.stand-card-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.stand-card-carousel:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 12px 24px rgba(0, 0, 0, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(166, 89, 89, 0.2);
}

.stand-card-carousel.active {
  border-color: #a65959;
  box-shadow: 
    0 0 0 4px rgba(166, 89, 89, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Image Carousel Container */
.image-carousel {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #000;
}

/* Images Stack */
.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-image.active {
  opacity: 1;
}

/* Internal Navigation Arrows */
.carousel-nav-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  color: #333;
  z-index: 10;
  transition: all 0.3s ease;
  font-weight: bold;
}

.carousel-nav-inner:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-inner:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-inner-prev {
  left: 8px;
}

.carousel-inner-next {
  right: 8px;
}

/* Image Counter */
.carousel-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  z-index: 5;
}

/* Stand Info Section */
.stand-card-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stand-card-title {
  /* Open Sans Bold */
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stand-card-description {
  /* Open Sans Light */
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

/* CTA Button */
.stand-card-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: #a65959;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #a65959;
  cursor: pointer;
}

.stand-card-button:hover {
  background: #8b4646;
  border-color: #8b4646;
  transform: scale(1.05);
}

.stand-card-button:active {
  transform: scale(0.98);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1334px) {
  .stands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .stands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .image-carousel {
    height: 240px;
  }

  .stand-card-info {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .stands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .carousel-container {
    padding: 0 20px;
  }

  .image-carousel {
    height: 220px;
  }

  .carousel-nav-inner {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .carousel-title {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .stands-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .image-carousel {
    height: 260px;
  }

  .stand-card-info {
    padding: 18px;
  }

  .stand-card-title {
    font-size: 16px;
  }

  .stand-card-description {
    font-size: 12px;
  }
}
