/* ===== BODY ===== */
body {
    background: radial-gradient(circle at 30% 20%, #2a1250 0%, #140824 40%, #0b0e1a 100%);
    color: #f0f0f0;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* ===== HERO ===== */
.szkola-hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.szkola-hero h1 {
    font-size: 72px;
    color: #c49c29;
    font-family: Georgia, serif;
    text-shadow: 0 0 25px rgba(196,156,41,0.5);
    animation: glow 3s ease-in-out infinite alternate;
    margin-bottom: 15px;
    width: 1000px;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(196,156,41,0.3); }
    to   { text-shadow: 0 0 35px rgba(196,156,41,0.8); }
}

/* ===== DASHBOARD W JEDNEJ LINII ===== */
.szkola-dashboard {
    display: flex;
    flex-direction: row;        /* wszystkie w jednej linii */
    justify-content: center;
    align-items: stretch;
    gap: 60px;                  /* odstęp między kafelkami */
    padding: 100px 10%;
    overflow-x: auto;           /* przewijanie poziome jeśli nie mieszczą się */
    z-index: 1;
    scroll-behavior: smooth;
}

/* ===== KAFELKI (jak w kontakt) ===== */
.szkola-box {
    background: rgba(75, 0, 130, 0.15);
    border-radius: 20px;
    padding: 50px 40px;
    width: 300px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.szkola-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.szkola-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(196,156,41,0.2);
}

.szkola-box h2 {
    font-size: 36px;
    color: #c49c29;
    margin-bottom: 20px;
}

.szkola-box p {
    font-size: 18px;
    line-height: 1.7;
    color: #ddd;
}

/* ===== PRZYCISKI ===== */
.karta-akcje {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.karta-akcje a,
.karta-akcje button {
    background-color: #c49c29;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.karta-akcje a:hover,
.karta-akcje button:hover {
    background-color: #fff;
    box-shadow: 0 0 25px #c49c29;
    transform: scale(1.08);
}

/* ===== RESPONSYWNOŚĆ ===== */
@media(max-width: 900px){
    .szkola-dashboard {
        flex-direction: column;  /* na małych ekranach jedna kolumna */
        align-items: center;
        gap: 60px;
    }

    .szkola-hero h1 {
        font-size: 48px;
    }
}