.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    height: 70vh;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(210, 105, 30, 0.7)), url('../images/classes-hero.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 120px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-header-content {
    z-index: 2;
    max-width: 800px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.class-types {
    padding: 120px 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    border-radius: 2px;
}

.section-descr {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.class-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.class-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.class-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.class-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.8), rgba(210, 105, 30, 0.6));
    opacity: 0;
    transition: all 0.3s ease;
}

.class-card:hover .class-image::before {
    opacity: 1;
}

.first {
    background-image: url('../images/type1.webp');
}

.second {
    background-image: url('../images/type2.webp');
}

.third {
    background-image: url('../images/type3.webp');
}

.forth {
    background-image: url('../images/type4.webp');
}

.fifth {
    background-image: url('../images/type5.webp');
}

.sixth {
    background-image: url('../images/type6.webp');
}

.class-level {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #8B4513;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.class-content {
    padding: 30px;
}

.class-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 15px;
}

.class-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.class-benefits {
    list-style: none;
    margin-bottom: 25px;
}

.class-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
}

.class-benefits li::before {
    content: '✓';
    color: #D2691E;
    font-weight: bold;
    margin-right: 10px;
    width: 20px;
}

.class-duration {
    display: flex;
    align-items: center;
    color: #8B4513;
    font-weight: 500;
    margin-bottom: 20px;
}

.class-duration i {
    margin-right: 8px;
}

.class-cta {
    display: inline-block;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.class-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.3);
}

.schedule-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    position: relative;
    overflow: hidden;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.05;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.schedule-container {
    position: relative;
    z-index: 2;
}

.schedule-table {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 60px;
}

.schedule-header {
    display: grid;
    grid-template-columns: 1fr repeat(7, 1fr);
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    font-weight: 600;
    text-align: center;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr repeat(7, 1fr);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.schedule-row:last-child {
    border-bottom: none;
}

.time-slot {
    font-weight: 600;
    text-align: center;
}

.class-slot {
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.class-slot:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.class-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.instructor-name {
    font-size: 0.8rem;
    opacity: 0.8;
}

.pricing-section {
    padding: 120px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.pricing-card {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.pricing-card.featured {
    background: linear-gradient(145deg, #8B4513, #D2691E);
    color: white;
    transform: scale(1.05);
    border-color: #FFD700;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #8B4513;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #8B4513;
}

.pricing-card.featured .pricing-title {
    color: white;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #D2691E;
}

.pricing-card.featured .pricing-price {
    color: #FFD700;
}

.pricing-period {
    opacity: 0.7;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #555;
}

.pricing-card.featured .pricing-features li {
    color: white;
}

.pricing-features li::before {
    content: '✓';
    color: #D2691E;
    font-weight: bold;
    margin-right: 10px;
    width: 20px;
}

.pricing-card.featured .pricing-features li::before {
    color: #FFD700;
}

.pricing-cta {
    display: inline-block;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-card.featured .pricing-cta {
    background: white;
    color: #8B4513;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.workshop-section {
    padding: 120px 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.workshop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.workshop-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.workshop-1 {
    background-image: url('../images/workshop1.webp');
}

.workshop-2 {
    background-image: url('../images/workshop2.webp');
}

.workshop-3 {
    background-image: url('../images/workshop3.webp');
}

.workshop-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #8B4513;
    padding: 10px 15px;
    border-radius: 15px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.workshop-content {
    padding: 30px;
}

.workshop-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 15px;
}

.workshop-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.workshop-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.workshop-info {
    display: flex;
    align-items: center;
    color: #666;
}

.workshop-info i {
    margin-right: 8px;
    color: #D2691E;
}

.workshop-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B4513;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .schedule-header,
    .schedule-row,
    .classes-grid,
    .pricing-grid,
    .workshop-grid {
        grid-template-columns: 1fr;
    }

    .schedule-header {
        display: none;
    }

    .schedule-row {
        display: block;
        text-align: center;
        padding: 20px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }

    .workshop-details {
        flex-direction: column;
        gap: 10px;
    }

    .time-slot {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #FFD700;
    }

    .class-slot {
        margin-bottom: 10px;
        display: inline-block;
        margin-right: 10px;
    }
}