﻿/* Hero Thumbnails Carousel */
.hero-thumbnails {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.thumbnails-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.thumbnails-track-container {
  overflow: hidden;
  width: 100%;
}

.thumbnails-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-thumbnail-item {
  position: relative;
  flex: 0 0 calc(20%);
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all var(--transition-base);
  border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-thumbnail-item:last-child {
  border-right: none;
}

.hero-thumbnail-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 57, 136, 0.8), rgba(0, 57, 136, 0.3));
  transition: all var(--transition-base);
}

.hero-thumbnail-item:hover::before {
  background: linear-gradient(to top, rgba(228, 44, 59, 0.8), rgba(228, 44, 59, 0.3));
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all var(--transition-base);
  z-index: 2;
}

.thumbnail-content {
  text-align: center;
  color: var(--color-white);
  transform: translateY(0);
  transition: all var(--transition-base);
}

.thumbnail-content i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.thumbnail-content span {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.hero-thumbnail-item:hover .thumbnail-content {
  transform: translateY(-5px);
}

.hero-thumbnail-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.thumbnail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

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

.thumbnail-nav-left {
  left: 10px;
}

.thumbnail-nav-right {
  right: 10px;
}

.thumbnail-nav i {
  font-size: 1.2rem;
  color: var(--color-primary-blue);
}

.thumbnail-nav:hover i {
  color: var(--color-white);
}

.thumbnails-progress {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.thumbnails-progress-bar {
  height: 100%;
  background: var(--gradient-red);
  width: 0%;
  transition: width 0.1s linear;
}