/* ========================================
   COURSE DETAIL PAGE STYLES - PROFESSIONAL
   Warm, sophisticated design for flagship courses
   ======================================== */

/* Course Detail Hero - Warm Charcoal */
.course-detail-hero {
    background: linear-gradient(135deg, #4A4A4A 0%, #3D3D3D 100%);
    color: white;
    padding: 140px 0 60px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Warm Accent Overlays for Course Hero */
.course-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(230, 126, 34, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 101, 67, 0.08) 0%, transparent 50%);
    animation: subtleFloat 25s ease-in-out infinite;
    z-index: 1;
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-15px) scale(1.02); opacity: 0.9; }
}

/* Geometric Pattern */
.course-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h50v50H0V0zm50 50h50v50H50V50z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
}

.course-detail-hero .container {
    position: relative;
    z-index: 10;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.7;
}

.course-hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.course-category {
    display: inline-block;
    background: rgba(255, 251, 245, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    color: #E67E22;
    font-weight: 600;
}

.course-category i {
    margin-right: 0.5rem;
}

.course-detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.course-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.course-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-item i {
    font-size: 1.2rem;
    color: #F39C12;
}

.course-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-cta .btn-primary {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
}

.course-cta .btn-primary:hover {
    background: linear-gradient(135deg, #D35400 0%, #BA4A00 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 126, 34, 0.3);
}

.course-cta .btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.course-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* Course Icon Large */
.course-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(211, 84, 0, 0.1) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #F39C12;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #F39C12;
}

/* Course Content Section - Warm Background */
.course-content-section {
    background: #FFFBF5;
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(43, 43, 43, 0.06);
}

.content-block {
    margin-bottom: 3rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    color: #2B2B2B;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-block h2 i {
    color: #E67E22;
    font-size: 1.5rem;
}

.content-block p {
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.styled-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4A4A4A;
    line-height: 1.6;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #E67E22;
    font-weight: bold;
    font-size: 1.2rem;
}

.styled-list li strong {
    color: #2B2B2B;
}

/* Learning Outcomes Grid */
.outcomes-grid {
    display: grid;
    gap: 1.5rem;
}

.outcome-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #FFFBF5;
    border-radius: 12px;
    border-left: 4px solid #E67E22;
}

.outcome-item i {
    color: #27AE60;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.outcome-item strong {
    display: block;
    color: #2B2B2B;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.outcome-item p {
    color: #4A4A4A;
    margin: 0;
}

/* Day Schedule */
.day-schedule {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(43, 43, 43, 0.04);
    border-left: 4px solid #E67E22;
}

.day-schedule h3 {
    color: #2B2B2B;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.day-schedule h3 i {
    color: #E67E22;
}

.day-schedule h4 {
    color: #E67E22;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.day-schedule ul {
    list-style: none;
    padding-left: 1.5rem;
}

.day-schedule ul li {
    padding: 0.5rem 0;
    position: relative;
    color: #4A4A4A;
}

.day-schedule ul li::before {
    content: '•';
    position: absolute;
    left: -1.5rem;
    color: #E67E22;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(43, 43, 43, 0.06);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    color: #2B2B2B;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-card h3 i {
    color: #E67E22;
}

.info-item {
    padding: 1rem 0;
    border-bottom: 1px solid #EDE7DC;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #6B6B6B;
    font-size: 0.9rem;
}

.info-value {
    color: #2B2B2B;
    font-weight: 600;
}

.price-highlight {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 1.5rem 0;
}

.price-highlight .price {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.price-highlight .price-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Trainer Profile */
.trainer-profile {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #FFFBF5;
    border-radius: 12px;
    margin-top: 1rem;
}

.trainer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.trainer-info h4 {
    color: #2B2B2B;
    margin-bottom: 0.25rem;
}

.trainer-info .trainer-title {
    color: #6B6B6B;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .course-hero-content {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .course-detail-hero {
        padding: 120px 0 40px;
    }
    
    .course-detail-hero h1 {
        font-size: 2rem;
    }
    
    .course-meta {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 1.5rem;
    }
}
