/* Hero section with NIS2 background and semi-transparent overlay */

.hero {
    position: relative;
    background-image: url('../images/backgrounds/NIS2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    color: white;
    padding: 120px 0;
    text-align: center;
}

/* Fallback achtergrond indien de afbeelding niet laadt */
.hero-fallback {
    background-color: var(--primary-blue);
    background-image: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparante donkere overlay voor betere leesbaarheid */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparante achtergrond voor de tekst */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Tekstschaduw voor betere leesbaarheid */
    color: white;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Tekstschaduw voor betere leesbaarheid */
    color: white;
}

.hero-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.hero-button:hover {
    background-color: #e55f00;
}

/* Responsieve aanpassingen */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}
