body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, .font-heading {
    font-family: 'Roboto', sans-serif;
}

.hero-bg {
    background-image: url('8.jpg');
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3b82f6; /* blue-500 */
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Style dla animacji przy przewijaniu */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px); /* Element startuje 40px niżej */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; /* Optymalizacja wydajności */
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0); /* Element wraca na swoją pozycję */
}
