
/* Stiluri specifice pentru 2 carduri pe rând */
.transport-portfolio {
  padding: 100px 0;
  background: #f8faff; /* Un alb-albăstrui foarte deschis pentru 2026 vibe */
}

.project-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 450px; /* Înălțime fixă pentru aliniere perfectă */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.swiper-slide:hover .project-img {
  transform: scale(1.1);
}

/* Glassmorphism Info Box */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 20, 50, 0.5) 0%, transparent 30%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.project-info {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.swiper-slide:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  font-size: 1.4rem;
  margin: 5px 0 15px 0;
  font-weight: 700;
 color: #ffffff;
}

.route {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: yellow; /* Alb curat */
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.8); /* Umbră pentru contrast */
}



.project-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  border-top: 1px dotted rgba(255,255,255,0.3);
  padding-top: 10px;
}

/* Navigația de sub slider */
.swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.swiper-button-prev, .swiper-button-next {
  position: relative !important;
  inset: auto !important;
  width: 45px !important;
  height: 45px !important;
  background: #fff !important;
  border: 1px solid #ddd;
  color: #0056b3 !important;
  border-radius: 50%;
}

.swiper-button-prev:after, .swiper-button-next:after {
  font-size: 16px !important;
}

.swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
  width: auto !important;
}
