.schedule-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    color: var(--white-color);
    margin-top: 0px;
    text-align: center;
    overflow: hidden;
}

.schedule-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/schedule/hero-schedule.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.schedule-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.schedule-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.schedule-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* کنترل‌های برنامه */
.schedule-controls {
    background: var(--white-color);
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.week-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: var(--text-dark);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.current-week {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 200px;
    text-align: center;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* برنامه ساده‌تر */
.simple-schedule {
    padding: 3rem 0;
    background: var(--background-light);
}

.days-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.day-tab {
    padding: 1rem 2rem;
    background: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    text-align: center;
}

.day-tab.active,
.day-tab:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.schedule-cards {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    ;

}

.time-slot-card {
    background: var(--white-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 4px solid var(--primary-color);
    border-top: 2px solid var(--gray-light-color);
    border-bottom: 2px solid var(--gray-light-color);
    border-left: 2px solid var(--gray-light-color);
}

.time-slot-card.has-class {
    border-right-color: var(--primary-color);
}

.time-slot-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.slot-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.slot-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.class-details {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
}

.class-info {
    flex: 1;
}

.class-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.class-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.class-type {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.class-trainer {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.class-description {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

.class-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

.capacity-info {
    text-align: center;
    padding: 0.5rem;
    background: var(--background-light);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.capacity-full {
    background:var(--primary-color) ;
    color: var(--white-color);
}

.capacity-low {
    background: #ffa502;
    color:var(--white-color);
}

.empty-slot {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

/* کلاس‌های ویژه */
.featured-classes {
    padding: 5rem 0;
    background: var(--white-color);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-class-card {
    background: var(--white-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light-color);
}

.featured-class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.class-image {
    height: 200px;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-class-card:hover .class-image img {
    transform: scale(1.05);
}

.class-content {
    padding: 1.5rem;
}

.class-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.class-category {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.class-difficulty {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.class-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.class-schedule {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.class-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* CTA */
.schedule-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* responsive */
@media (max-width: 768px) {
    .schedule-hero-title {
        font-size: 2.5rem;
    }

    .controls-container {
        flex-direction: column;
        align-items: stretch;
    }

    .week-navigation {
        justify-content: center;
    }

    .filter-options {
        justify-content: center;
    }

    .days-tabs {
        gap: 0.25rem;
    }

    .day-tab {
        padding: 0.75rem 1rem;
        min-width: 100px;
        font-size: 0.9rem;
    }

    .class-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .class-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .classes-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .days-tabs {
        flex-direction: column;
        align-items: center;
    }

    .day-tab {
        width: 100%;
        max-width: 200px;
    }
}