/* Custom Design Polish for Saket Kumar's Portfolio */

@layer base {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(150, 150, 150, 0.25);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 150, 150, 0.45);
}

/* Smooth Focus Rings */
a:focus-visible, button:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 3px;
}

/* Editorial subtle borders */
.editorial-border {
  border-color: rgba(229, 231, 235, 0.8);
}
.dark .editorial-border {
  border-color: rgba(38, 38, 38, 0.8);
}

/* Gallery image hover zoom effect */
.gallery-item img {
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Modal fade animations */
#lightbox {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
