/* Course Page Styles - Shared across all course pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    text-decoration: none;
    display: inline-block;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-purple);
    margin: 5px 0;
    transition: 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-purple);
}

/* Course Hero */
.course-hero {
    background: linear-gradient(135deg, rgba(97, 9, 129, 0.85) 0%, rgba(18, 163, 151, 0.85) 100%),
                url('../images/04/beautiful-girl-doing-yoga.jpg') center/cover no-repeat;
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
}

.course-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.course-hero h1 {
    color: var(--color-white);
    font-size: 48px;
    margin-bottom: 20px;
}

.course-hero-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-large);
}

.price-tag {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-tag small {
    font-size: 18px;
    font-weight: 400;
}

.highlight-list {
    list-style: none;
    margin: 20px 0;
}

.highlight-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Course Details */
.course-details {
    padding: 80px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: var(--bg-light-blue);
    padding: 30px;
    border-radius: var(--radius-large);
    text-align: center;
}

.detail-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Curriculum Section */
.curriculum-section {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header .divider {
    margin: 20px auto;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.curriculum-item {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--color-purple);
}

.curriculum-item h3 {
    color: var(--color-purple);
    margin-bottom: 15px;
    font-size: 22px;
}

.curriculum-item ul {
    list-style: none;
    padding-left: 0;
}

.curriculum-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.curriculum-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
}

/* Schedule Section */
.schedule-section {
    padding: 80px 0;
}

.schedule-table {
    background: var(--color-white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-top: 40px;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    background: var(--color-purple);
    color: var(--color-white);
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.schedule-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.schedule-table tr:hover {
    background: var(--bg-light-blue);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-teal) 100%);
    color: var(--color-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-large);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-card h3 {
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 700;
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-medium);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 10px;
    }

    .course-hero-content {
        grid-template-columns: 1fr;
    }

    .course-hero h1 {
        font-size: 32px;
    }

    .details-grid,
    .curriculum-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
