/**
 * Main styles - extends design-system.css
 * Uses design tokens from :root
 */

/* ==========================================================================
   Legacy Banner (for landing page)
   Kept for backwards compatibility, uses design tokens
   ========================================================================== */

.banner {
    background-image: url("../img/elearning.2b03c2fe8336.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
    color: white;
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(37, 99, 235, 0.7));
    z-index: 1;
}

.banner h1,
.banner p {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-3xl));
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--space-4);
    text-align: center;
    color: white;
}

.banner p {
    font-size: var(--text-lg);
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .banner {
        min-height: 300px;
        padding: var(--space-6);
    }
}
