/* ===================== 08 SCHEDULE — GRUP DERS PROGRAMI + CTA (tek bant) ===================== */

.schedule {
    padding: 15px 0;
    border-top: 1px solid var(--color-border);
}

/* Bant: solda tablo, sağda CTA */
.schedule__band {
    display: flex;
    align-items: stretch;
    gap: 28px;
}

.schedule__main {
    flex: 1 1 78%;
    min-width: 0;
}

.schedule__title {
    font-size: 26px;
    margin-bottom: 24px;
}

/* 6 günlük sütun düzeni — Flexbox */
.schedule__grid {
    display: flex;
    gap: 4px;
}

.schedule__day {
    flex: 1 1 0;
    min-width: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.schedule__day:hover {
    border-color: var(--color-accent);
}

.schedule__day-name {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: 12px 6px;
}

.schedule__rows {
    display: flex;
    flex-direction: column;
}

.schedule__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition);
}

.schedule__row:last-child {
    border-bottom: none;
}

.schedule__row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.schedule__time {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

.schedule__class {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* ===================== Sağ: DERSİNİ SEÇ CTA ===================== */
.schedule__cta {
    position: relative;
    flex: 1 1 22%;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 300px;
}

.schedule__cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.schedule__cta:hover .schedule__cta-bg {
    transform: scale(1.05);
}

.schedule__cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.schedule__cta-content {
    position: relative;
    z-index: 1;
    padding: 28px 26px;
}

.schedule__cta-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 12px;
}

.schedule__cta-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 22px;
}

/* ===================== RESPONSIVE ===================== */

/* Bandı dikine yığ */
@media (max-width: 1100px) {
    .schedule__band {
        flex-direction: column;
        gap: 28px;
    }

    .schedule__main,
    .schedule__cta {
        flex: 1 1 auto;
        width: 100%;
    }

    .schedule__cta {
        min-height: 240px;
    }
}

/* Tablet — tabloyu yatay kaydır (6 sütun sığmaz) */
@media (max-width: 760px) {
    .schedule {
        padding: 52px 0;
    }

    .schedule__grid {
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .schedule__day {
        flex: 0 0 140px;
    }
}
