/* Workout Category Page Styles */

/* Category Hero */
.category-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    overflow: hidden;
}

.category-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.category-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.category-hero__icon {
    font-size: 5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.category-hero__heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.category-hero__text {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1rem;
    flex-wrap: wrap;
}

.category-hero__stats span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-hero__stats i {
    color: #e74c3c;
    font-size: 1.2rem;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: #f5f5f5;
    padding: 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e74c3c;
}

.breadcrumb span:last-child {
    color: #e74c3c;
    font-weight: 500;
}

/* Workout Videos Section */
.workout-videos-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e74c3c;
    color: #fff;
}

.filter-btn.active {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* Workout Grid */
.workout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.workout-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.workout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.workout-card__thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #000;
}

.workout-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.workout-card:hover .workout-card__thumbnail img {
    opacity: 0.8;
    transform: scale(1.05);
}

.workout-card__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(231, 76, 60, 0.9);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.workout-card:hover .workout-card__play-btn {
    background-color: rgba(231, 76, 60, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.workout-card__badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--duration {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.badge--difficulty {
    background-color: rgba(231, 76, 60, 0.9);
    color: #fff;
}

.workout-card__content {
    padding: 25px;
}

.workout-card__content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.workout-card__content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.workout-card__meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

.workout-card__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.workout-card__meta i {
    color: #e74c3c;
}

/* Back Section */
.back-section {
    padding: 40px 0 80px;
    background-color: #fff;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #e74c3c;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero {
        min-height: 300px;
    }

    .category-hero__icon {
        font-size: 3.5rem;
    }

    .category-hero__heading {
        font-size: 2.2rem;
    }

    .category-hero__text {
        font-size: 1.1rem;
    }

    .category-hero__stats {
        gap: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .workout-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .workout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .workout-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}