/* Main container */
.detail-gallery {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 20px;
}

.single-image img {
  aspect-ratio: 16/9;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 820px) {
  .single-image img {
    height: 500px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
}

@media (max-width: 540px) {
  .single-image img {
    height: 240px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
}

/* ===== FUTURISTIC PROCESS SECTION ===== */
.process-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(118, 75, 162, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(64, 224, 208, 0.05) 0%,
      transparent 50%
    );
  animation: processBgPulse 8s ease-in-out infinite;
}

@keyframes processBgPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.process-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.process-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.process-timeline {
  position: relative;
  z-index: 2;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #667eea 20%,
    #764ba2 50%,
    #f093fb 80%,
    transparent 100%
  );
  transform: translateX(-50%);
  animation: timelineGlow 3s ease-in-out infinite;
}

@keyframes timelineGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
  }
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.process-step:nth-child(odd) {
  flex-direction: row;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: stepPulse 4s ease-in-out infinite;
}

@keyframes stepPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(102, 126, 234, 0.8),
      inset 0 0 30px rgba(255, 255, 255, 0.2);
  }
}

.step-content {
  flex: 1;
  max-width: 500px;
  margin: 0 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.step-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
}

.step-content:hover::before {
  left: 100%;
}

.step-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.5);
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.step-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: iconShine 3s ease-in-out infinite;
}

@keyframes iconShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.step-icon i {
  font-size: 1.8rem;
  color: white;
  z-index: 2;
  position: relative;
}

.step-content h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.step-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2) 0%,
    rgba(118, 75, 162, 0.2) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-tag:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.4) 0%,
    rgba(118, 75, 162, 0.4) 100%
  );
  border-color: rgba(102, 126, 234, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Process Section */
@media (max-width: 768px) {
  .process-section {
    padding: 60px 0;
  }

  .process-title {
    font-size: 2.5rem;
  }

  .process-subtitle {
    font-size: 1.1rem;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-step {
    flex-direction: column !important;
    margin-bottom: 60px;
  }

  .step-content {
    margin: 20px 0 0 0;
    max-width: 100%;
    padding: 30px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .step-icon {
    width: 50px;
    height: 50px;
  }

  .step-icon i {
    font-size: 1.5rem;
  }

  .step-content h3 {
    font-size: 1.5rem;
  }

  .step-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .process-title {
    font-size: 2rem;
  }

  .step-content {
    padding: 25px;
  }

  .step-features {
    gap: 8px;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* ===== CUSTOM CAROUSEL STYLES ===== */

.custom-carousel-container {
  width: 100%;
  max-width: 100%;
  margin: 30px 0;
  position: relative;
}

.custom-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
}

.carousel-slide:hover .slide-overlay {
  opacity: 1;
}

.slide-info {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.slide-counter {
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.view-full-btn {
  background: linear-gradient(135deg, var(--accent-color), #667eea);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.view-full-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.carousel-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail-item {
  width: 120px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.thumbnail-item.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3),
    rgba(102, 126, 234, 0.1)
  );
  pointer-events: none;
}

/* Service Lightbox Modal */
.service-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.service-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.service-lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.service-lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.service-lightbox-close:hover {
  background: rgba(255, 0, 0, 0.8);
  transform: scale(1.1);
}

.service-lightbox-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Responsive Design for Custom Carousel */
@media (max-width: 768px) {
  .custom-carousel {
    height: 350px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .slide-overlay {
    padding: 15px;
  }

  .slide-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .view-full-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .carousel-thumbnails {
    gap: 8px;
    margin-top: 15px;
  }

  .thumbnail-item {
    width: 90px;
    height: 68px;
  }
}

@media (max-width: 480px) {
  .custom-carousel {
    height: 250px;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .slide-overlay {
    padding: 10px;
  }

  .slide-counter {
    padding: 6px 10px;
    font-size: 12px;
  }

  .view-full-btn {
    padding: 6px 12px;
    font-size: 11px;
  }

  .carousel-thumbnails {
    gap: 6px;
    margin-top: 10px;
  }

  .thumbnail-item {
    width: 70px;
    height: 53px;
  }
}
