/* Custom Styles for Base 11ty Template */

body {
  position: relative;
  min-height: 100vh;
}

/* Optional: Add a subtle background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

/* Image hover effects */
.img-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.img-box:hover {
  transform: scale(1.02);
}

.img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  transition: background-color 0.3s ease;
}

.img-box:hover::after {
  background-color: rgba(0, 0, 0, 0.2);
}

.img {
  position: relative;
  z-index: 0;
  transition: transform 0.3s ease;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: #a7a7a7;
  
}

::-webkit-scrollbar-thumb {
  background: #676363;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

