/* Titan Project Gallery Widget Styles */
.titan-project-gallery {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.titan-project-gallery .swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.titan-project-gallery .swiper-wrapper {
  display: flex;
  width: 100%;
}

.titan-project-gallery .swiper-slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.titan-project-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Navigation buttons container */
.titan-project-gallery .titan-swiper-button-container {
  position: absolute;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Navigation buttons */
.titan-project-gallery .swiper-button-prev.titan-nav-btn,
.titan-project-gallery .swiper-button-next.titan-nav-btn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ec5e2a;
  padding: 8px 25px;
  width: 80px;
  height: 30px;
  border: 1px solid #ec5e2a;
  border-radius: 2px;
  transition: background 0.25s ease;
  cursor: pointer;
}

/* Remove default Swiper button content */
.titan-project-gallery .swiper-button-prev.titan-nav-btn::after,
.titan-project-gallery .swiper-button-next.titan-nav-btn::after {
  content: none;
}

/* Button hover states */
.titan-project-gallery .swiper-button-prev.titan-nav-btn:hover,
.titan-project-gallery .swiper-button-next.titan-nav-btn:hover {
  background: #373737;
}

/* SVG icon styles */
.titan-project-gallery .swiper-button-prev.titan-nav-btn svg,
.titan-project-gallery .swiper-button-next.titan-nav-btn svg {
  width: 100%;
  color: #fff;
  transition: color 0.3s ease;
}

.titan-project-gallery .swiper-button-prev.titan-nav-btn:hover svg,
.titan-project-gallery .swiper-button-next.titan-nav-btn:hover svg {
  color: #ddd;
}

/* Pagination */
.titan-project-gallery .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
