#serviceDetails {}

#serviceDetails .content {
  padding: 64px 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

#serviceDetails .content .infos {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

#serviceDetails .content .infos i {
  color: var(--color-secondary);
}

#serviceDetails .content .infos .texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#serviceDetails .content .infos .texts strong {
  font-size: 32px;
  color: var(--color-primary);
}

#serviceDetails .content .infos .texts p {
  color: var(--color-secondary);
  font-size: 18px;
}

#serviceDetails .content .infos small {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

#serviceDetails .content .infos .editorContent {
  color: var(--color-secondary);
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 500px;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image-container:hover img {
  transform: scale(1.02);
}

.zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.main-image-container:hover .zoom-hint {
  opacity: 1;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumbnails::-webkit-scrollbar {
  height: 6px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnails img:hover {
  opacity: 0.9;
}

.thumbnails img.active {
  opacity: 1;
  border-color: #007BFF;
}


.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #ff4d4d;
}

.lightbox-btn {
  background: transparent;
  color: white;
  border: none;
  font-size: 50px;
  cursor: pointer;
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s;
}

.lightbox-btn:hover {
  color: #bbb;
}

.lightbox-btn.prev {
  left: 20px;
}

.lightbox-btn.next {
  right: 20px;
}

@media (max-width: 768px) {
  #serviceDetails .content {
    flex-direction: column;
  }

  .gallery {
    max-width: unset;
  }

  .main-image-container {
    height: 300px;
  }

  .thumbnails img {
    width: 60px;
    height: 60px;
  }

  .lightbox-btn {
    font-size: 35px;
    padding: 10px;
  }

  .lightbox-btn.prev {
    left: 0px;
  }

  .lightbox-btn.next {
    right: 0px;
  }
}