@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Rubik:wght@400;600;700&display=swap');

.font-press-start {
    font-family: 'Press Start 2P', cursive;
}

.font-rubik {
    font-family: 'Rubik', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #1f2937;
}
::-webkit-scrollbar-thumb {
    background: #d99859;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c98242;
}
/* Parallax background */
.parallax-bg {
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.1s linear;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Animation for project cards */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 160, 181, 0.3);
}
/* Hero section overlay */
.hero-overlay {
    background: linear-gradient(to right, rgba(49, 37, 37, 0.9), rgba(49, 37, 37, 0.6));
}
/* Full-page parallax background */
#parallax-bg {
    will-change: transform;
}

#parallax-img {
    will-change: transform;
}

#parallax-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}