/*=====================================================
    PORTFOLIO SHOWCASE SECTION - Dark Theme
======================================================*/

.portfolio-showcase {
  position: relative;
  padding: 40px 0;
  background: var(--otto-bg-dark);
  background-image: url('../images/shapes/portfolio-one-shape-1.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top left;
  overflow: hidden;
}

/* Background Effects */
.portfolio-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  right: 15%;
  width: 550px;
  height: 550px;
  background: var(--otto-radial-blue-medium);
  opacity: 0.25;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.portfolio-showcase::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 450px;
  height: 450px;
  background: var(--otto-radial-purple-medium);
  opacity: 0.2;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* Floating Shape */
.portfolio-showcase .shape-floating {
  position: absolute;
  bottom: 15%;
  right: 8%;
  width: 140px;
  height: auto;
  opacity: 0.12;
  animation: float-smooth 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes float-smooth {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-25px, -25px) rotate(120deg);
  }
  66% {
    transform: translate(25px, 25px) rotate(240deg);
  }
}

/* Title Section */
.portfolio-showcase__title-box {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.portfolio-showcase__badge {
  font-size: 14px;
  font-weight: 400;
  color: var(--otto-color-blue);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.portfolio-showcase__title {
  font-size: 56px;
  font-weight: 700;
  color: var(--otto-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.portfolio-showcase__subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--otto-text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-showcase__highlight {
  color: #D4A853;
  font-weight: 500;
}

/* Portfolio Grid */
.portfolio-showcase__inner {
  position: relative;
  z-index: 2;
}

/* Portfolio Carousel */
.portfolio-showcase__carousel {
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}

.portfolio-showcase__carousel .swiper-slide {
  opacity: 0.6;
  transition: all 0.4s ease;
  transform: scale(0.85);
}

.portfolio-showcase__carousel .swiper-slide-active {
  opacity: 1;
  transform: scale(1.1);
}

.portfolio-showcase__carousel .swiper-slide-next,
.portfolio-showcase__carousel .swiper-slide-prev {
  opacity: 0.8;
  transform: scale(0.95);
}

/* Portfolio Item */
.portfolio-showcase__item {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 30px;
}

.portfolio-showcase__item:hover {
  transform: translateY(-8px);
  border-color: rgba(92, 176, 233, 0.3);
  box-shadow: 0 20px 60px rgba(92, 176, 233, 0.15);
}

/* Image Section */
.portfolio-showcase__image {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.portfolio-showcase__image img {
  margin-top: 25px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-showcase__item:hover .portfolio-showcase__image img {
  transform: scale(1.08);
}

/* Overlay */
.portfolio-showcase__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 11, 17, 0) 0%, rgba(6, 11, 17, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-showcase__item:hover .portfolio-showcase__overlay {
  opacity: 1;
}

.portfolio-showcase__zoom {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5CB0E9 0%, #6065D4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--otto-white);
  font-size: 20px;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.portfolio-showcase__item:hover .portfolio-showcase__zoom {
  transform: scale(1);
}

.portfolio-showcase__zoom:hover {
  transform: scale(1.15) rotate(45deg);
  box-shadow: 0 10px 30px rgba(92, 176, 233, 0.5);
}

/* Content Section */
.portfolio-showcase__content {
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

/* Tags */
.portfolio-showcase__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.portfolio-showcase__tag {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.portfolio-showcase__tag--primary {
  background: rgba(212, 168, 83, 0.15);
  color: #D4A853;
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.portfolio-showcase__tag--secondary {
  background: rgba(92, 176, 233, 0.15);
  color: #5CB0E9;
  border: 1px solid rgba(92, 176, 233, 0.3);
}

.portfolio-showcase__item:hover .portfolio-showcase__tag {
  transform: translateY(-2px);
}

/* Number */
.portfolio-showcase__number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  font-weight: 700;
  color: rgba(92, 176, 233, 0.08);
  line-height: 1;
  transition: all 0.4s ease;
}

.portfolio-showcase__item:hover .portfolio-showcase__number {
  color: rgba(92, 176, 233, 0.15);
  transform: scale(1.1);
}

/* Title */
.portfolio-showcase__item-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--otto-white);
  margin-bottom: 8px;
  margin-top: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.portfolio-showcase__item:hover .portfolio-showcase__item-title {
  color: var(--otto-color-blue);
}

/* Description */
.portfolio-showcase__item-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--otto-text-light);
  line-height: 1.6;
  margin: 0;
}

/* Navigation */
.portfolio-showcase__navigation {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.portfolio-showcase__arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-showcase__arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--otto-white);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.portfolio-showcase__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(92, 176, 233, 0.5);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(92, 176, 233, 0.2);
}

.portfolio-showcase__arrow i {
  font-size: 16px;
}

/* Progress Bar */
.portfolio-showcase__progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.portfolio-showcase__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #5CB0E9 0%, #6065D4 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
  box-shadow: 0 0 10px rgba(92, 176, 233, 0.5);
}

/* Dots Pagination */
.portfolio-showcase__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 30px;
}

.portfolio-showcase__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-showcase__pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #5CB0E9 0%, #6065D4 100%);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(92, 176, 233, 0.5);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .portfolio-showcase {
    padding: 100px 0;
  }

  .portfolio-showcase__title {
    font-size: 48px;
  }

  .portfolio-showcase__subtitle {
    font-size: 18px;
  }

  .portfolio-showcase__image {
    height: 280px;
  }
}

@media (max-width: 991px) {
  .portfolio-showcase {
    padding: 80px 0;
  }

  .portfolio-showcase__title {
    font-size: 40px;
  }

  .portfolio-showcase__subtitle {
    font-size: 17px;
  }

  .portfolio-showcase__title-box {
    margin-bottom: 50px;
  }

  .portfolio-showcase__image {
    height: 260px;
  }

  .portfolio-showcase__item-title {
    font-size: 22px;
  }

  .portfolio-showcase__arrow {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 767px) {
  .portfolio-showcase {
    padding: 60px 0;
  }

  .portfolio-showcase__title {
    font-size: 32px;
  }

  .portfolio-showcase__subtitle {
    font-size: 16px;
  }

  .portfolio-showcase__image {
    height: 240px;
  }

  .portfolio-showcase__content {
    padding: 25px;
  }

  .portfolio-showcase__item-title {
    font-size: 20px;
  }

  .portfolio-showcase__item-text {
    font-size: 14px;
  }

  .portfolio-showcase__number {
    font-size: 36px;
  }

  .portfolio-showcase::before,
  .portfolio-showcase::after {
    width: 300px;
    height: 300px;
  }

  .portfolio-showcase__arrow {
    width: 42px;
    height: 42px;
  }

  .portfolio-showcase__arrow i {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .portfolio-showcase__title {
    font-size: 28px;
  }

  .portfolio-showcase__badge {
    font-size: 13px;
  }

  .portfolio-showcase__image {
    height: 220px;
  }

  .portfolio-showcase__carousel {
    padding: 0 10px;
  }
}

