/* Custom styles based on the analysis report */
body {
    font-family: 'Inter', sans-serif;
    /* POPRAWKA: Zmieniono z powrotem na .png */
    background-image: url('../assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #F3F4F6; /* A slightly off-white for better reading */
}

/* Hero background image with overlay */
.hero-section {
    /* Użyto jednolitego koloru tła zgodnie z przesłanym plikiem */
    background-color: #000;
    position: relative; /* Added for particle background positioning */
    overflow: hidden; /* Ensure particles don't overflow */
}

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Behind other content */
}

.hero-content {
    position: relative;
    z-index: 1; /* Above particle background */
}

/* Primary color variable for easier use */
:root {
    --chemini-yellow: #FFD100;
}

.text-chemini-yellow {
    color: var(--chemini-yellow);
}
.bg-chemini-yellow {
    background-color: var(--chemini-yellow);
}
.border-chemini-yellow {
    border-color: var(--chemini-yellow);
}

/* Custom styles for the process section connecting lines */
.process-grid {
    position: relative;
}

@media (min-width: 768px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 1.5rem; /* Vertically center with the 3rem height circle */
        left: 1.5rem; /* Start from the center of the first circle */
        right: 1.5rem; /* End at the center of the last circle */
        height: 2px;
        background-color: #4B5563; /* Gray-600 */
        z-index: 0;
    }
}

/* Navigation link hover effect */
.nav-link {
    position: relative;
    padding-bottom: 4px; /* Creates space for the underline */
    transition: color 0.3s ease-in-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--chemini-yellow);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--chemini-yellow);
}

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

/* Interactive card hover effect */
.interactive-card {
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
    border-width: 1px;
    border-color: #374151; /* Gray-700 */
}

.interactive-card:hover {
    transform: translateY(-8px);
    border-color: var(--chemini-yellow);
}

/* Add a subtle overlay to sections to improve text readability over the new background */
main > section:not(#home) {
    background-color: rgba(0,0,0,0.6);
}

