/* ============================================
   COURSE DETAIL PAGE STYLES
   ============================================ */

.course-detail-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.course-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='50' font-size='80' opacity='0.05'%3E★%3C/text%3E%3C/svg%3E") repeat;
    background-size: 100px 100px;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-custom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-custom a:hover {
    color: #fff;
}

.breadcrumb-custom .active {
    color: #f0c040;
}

.course-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.course-price-large {
    font-size: 2.8rem;
    font-weight: 700;
    color: #f0c040;
}

.course-price-large .original-price {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    margin-left: 15px;
    font-weight: 400;
}

.course-detail-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.course-image-main {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f0c040, #e6a800);
    border-radius: 2px;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 30px;
    height: 30px;
    background: #f0c040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 3px;
}

.price-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.price-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a2e;
}

.price-card .price .original {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

.btn-add-cart {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f0c040, #e6a800);
    border: none;
    border-radius: 12px;
    color: #1a1a2e;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 192, 64, 0.3);
    color: #1a1a2e;
}

.btn-add-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-view-details {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    border: 2px solid #1a1a2e;
    border-radius: 12px;
    color: #1a1a2e;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-view-details:hover {
    background: #1a1a2e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.2);
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector button:hover {
    border-color: #f0c040;
    background: #f0c040;
    color: #1a1a2e;
}

.quantity-selector button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-selector .quantity-display {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.requirement-item .check {
    color: #28a745;
    font-weight: 700;
    font-size: 1.2rem;
}

.related-courses .card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.related-courses .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.related-courses .card-img-top {
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .course-title {
        font-size: 1.8rem;
    }
    .course-price-large {
        font-size: 2rem;
    }
    .course-price-large .original-price {
        font-size: 1.2rem;
    }
    .course-detail-card {
        padding: 20px;
    }
    .course-image-main {
        height: 250px;
    }
    .price-card {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    .section-title {
        font-size: 1.4rem;
    }
}