/* Course Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Course Filters */
.course-filters {
    background: #f8fafc;
    padding: 2rem 0;
    border-bottom: 1px solid #e1e5e9;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #666;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Course Cards Enhanced */
.courses-section {
    padding: 4rem 0;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.feature i {
    font-size: 0.8rem;
}

.course-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.course-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Course Benefits */
.course-benefits {
    background: #f8fafc;
    padding: 6rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Course Hero (Individual Course Pages) */
.course-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.course-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.course-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.course-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.course-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.course-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.course-hero-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.meta-item i {
    color: #fbbf24;
}

.course-hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.course-price {
    text-align: center;
}

.price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.price-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Course Content Layout */
.course-content {
    padding: 6rem 0;
}

.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.course-main {
    padding-right: 2rem;
}

.course-section {
    margin-bottom: 4rem;
}

.course-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.section-content {
    line-height: 1.8;
}

.section-content h3 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.highlight-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.highlight-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Learning Objectives */
.learning-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.objective-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.objective-category h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.objective-list {
    list-style: none;
    padding: 0;
}

.objective-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0.75rem;
    color: #666;
}

.objective-list i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Schedule */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.schedule-day {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.schedule-day h3 {
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.schedule-timeline {
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-time {
    min-width: 80px;
    font-weight: 600;
    color: #667eea;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 2px;
    width: 8px;
    height: 8px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 50%;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.requirement-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.requirement-category h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.requirement-category ul {
    list-style: none;
    padding: 0;
}

.requirement-category li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #e1e5e9;
}

.requirement-category li:last-child {
    border-bottom: none;
}

.note-box {
    background: #e0f2fe;
    border: 1px solid #0284c7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.note-box i {
    color: #0284c7;
    font-size: 1.25rem;
    margin-top: 2px;
}

.note-box p {
    margin: 0;
    color: #0284c7;
}

/* Sidebar */
.course-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.course-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e1e5e9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: #667eea;
    font-size: 1.25rem;
    width: 20px;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: #666;
    font-size: 0.9rem;
}

.course-price-card {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.price-main {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Upcoming Dates */
.upcoming-dates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.date-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.date-info {
    text-align: center;
    min-width: 50px;
}

.date-month {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
}

.date-day {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.date-details {
    flex: 1;
}

.date-location {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.date-availability {
    font-size: 0.9rem;
    color: #10b981;
}

/* Instructor Card */
.instructor-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.instructor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.instructor-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.instructor-title {
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.instructor-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Related Courses */
.related-courses {
    background: #f8fafc;
    padding: 6rem 0;
}

.related-courses .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Responsive Design for Course Pages */
@media (max-width: 1024px) {
    .course-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .course-main {
        padding-right: 0;
    }
    
    .course-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.25rem;
    }
    
    .course-hero-title {
        font-size: 2.5rem;
    }
    
    .course-hero-subtitle {
        font-size: 1.25rem;
    }
    
    .course-hero-meta {
        gap: 1rem;
    }
    
    .course-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .highlights-grid,
    .learning-objectives,
    .schedule-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-image {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .course-hero-title {
        font-size: 2rem;
    }
    
    .course-section .section-title {
        font-size: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .price-main {
        font-size: 2.5rem;
    }
    
    .schedule-timeline::before {
        left: 60px;
    }
    
    .timeline-time {
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .timeline-content::before {
        left: -15px;
    }
}