html {
  scroll-behavior: smooth;
}

.project-card:hover {
  /* transform: translateY(-2px); */
}

.nav-indicator {
  transition: all 0.3s ease;
}

/* Tooltip animations */
.tooltip-enter-active,
.tooltip-leave-active {
  transition: all 0.2s ease;
}

.tooltip-enter-from {
  opacity: 0;
  transform: scale(0.95) translateY(5px);
}

.tooltip-leave-to {
  opacity: 0;
  transform: scale(0.95) translateY(5px);
}

.tooltip-enter-to,
.tooltip-leave-from {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Carousel styles */
.carousel-container {
  position: relative;
  cursor: pointer;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-image.active {
  opacity: 1;
  position: relative;
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  transition: opacity 0.3s ease;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.modal-nav {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  user-select: none;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-prev {
  left: -60px;
}

.modal-next {
  right: -60px;
}

.modal-indicators {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1002;
}

.modal-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-indicator.active {
  background: #f97316;
}

.modal-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .modal-nav {
    font-size: 24px;
    padding: 8px 12px;
  }

  .modal-prev {
    left: -50px;
  }

  .modal-next {
    right: -50px;
  }

  .modal-close {
    top: -40px;
    font-size: 32px;
  }
}