/* ========================================
   Modern Category Show Page Styles
   ======================================== */

/* Description Section */
.description-section {
    padding: 80px 0;
    background: #f8fafc;
}

.description-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8e42, #ffc13f);
}

.description-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.description-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.description-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ff8e42);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.description-content {
    color: #374151;
    line-height: 1.8;
    font-size: 1.1rem;
}

.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4,
.description-content h5,
.description-content h6 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.description-content p {
    margin-bottom: 1.5rem;
}

/* Modern Classes Section */
.modern-classes-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.class-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.class-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 2px solid #ff8b41;
    border-radius: 20px 20px 0 0;
}

.class-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.class-image a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: #f6f4f4;
}

.class-image img {
    width: 200px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.class-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8e42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.class-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-card:hover .class-overlay {
    opacity: 1;
}

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
}

.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #ff6b35;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    transform: scale(1.05);
    color: #ff6b35;
    text-decoration: none;
}

.class-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.class-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.class-header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.class-title {
    margin-bottom: 15px;
    width: 155px;
}

.class-title a {
    color: #1a202c;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.class-title a:hover {
    color: #ff6b35;
    text-decoration: none;
}

.class-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-item {
    align-items: center;
    /* gap: 6px; */
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-item i {
    color: #ff6b35;
}

.class-footer {
    margin-top: auto;
}

.class-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8e42);
    color: white !important;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.class-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.empty-state-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 5rem;
    color: #d1d5db;
    margin-bottom: 30px;
}

.empty-state h3 {
    color: #1a202c;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.empty-state p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b35, #ff8e42);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }

    .classes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .description-card {
        padding: 30px;
    }

    .class-content {
        padding: 20px;
    }

    .class-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-divider {
        width: 60px;
        height: 2px;
        background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    }

    .description-card {
        padding: 20px;
    }

    .class-content {
        padding: 15px;
    }
}