/* Emergency Scenarios Section */
#scenarios {
   padding-bottom: 4rem;
}

#scenarios h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--steel-gray);
    margin-bottom: 2rem;
    text-align: center;
}

/* Scenario Cards */
.scenario-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    height: 100%; /* Ensures equal height cards */
}

/* Scenario Headers with Background Images */
.scenario-header {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 15px;
}

.scenario-icon {
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Specific background styles for each scenario type */
.power-grid-bg {
    background: linear-gradient(45deg, #4A4A4A, #333), url('/img/power-grid.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.severe-weather-bg {
    background: linear-gradient(45deg, #A63829, #8b2e20), url('/img/severe-weather.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.supply-disruption-bg {
    background: linear-gradient(45deg, #6B7A4E, #5a6842), url('/img/supply-disruption.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.urban-disaster-bg {
    background: linear-gradient(45deg, #8798A3, #6b7a8a), url('/img/urban-disaster.png');
    background-size: cover;
    background-blend-mode: overlay;
}

/* Scenario Content */
.scenario-content {
    padding: 1rem;
}

.scenario-content h4 {
    color: #4A4A4A;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.scenario-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #scenarios {
        margin-bottom: 2rem;
    }

    #scenarios h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .scenario-card {
        margin-bottom: 1.5rem;
    }

    .scenario-header {
        height: 120px;
    }

    .scenario-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .scenario-content {
        padding: 0.8rem;
    }

    .scenario-content h4 {
        font-size: 1.1rem;
    }

    .scenario-content p {
        font-size: 0.85rem;
    }
}
