/* ===============================================
   청춘드라이브 - 연수과정 페이지 스타일
   =============================================== */

/* Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/img/pattern.png') repeat;
    opacity: 0.1;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Course Tabs */
.course-tabs {
    position: relative;
}

.nav-pills {
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    display: inline-flex;
}

.nav-pills .nav-link {
    border-radius: 40px;
    padding: 15px 30px;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    margin: 0 4px;
}

.nav-pills .nav-link i {
    font-size: 1.2rem;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.nav-pills .nav-link:hover:not(.active) {
    background: var(--gray-50);
    color: var(--primary-color);
}

/* Course Header */
.course-header {
    padding: 40px 0;
}

.course-title {
    font-size: 2.5rem;
    font-weight: 700;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.course-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

.course-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--gray-50);
    border-radius: 30px;
    border: 1px solid var(--gray-200);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.info-item span {
    font-size: 1rem;
    color: var(--gray-700);
}

/* Curriculum Timeline */
.curriculum-timeline {
    position: relative;
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.curriculum-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
                var(--primary-color) 0%, 
                var(--secondary-color) 50%, 
                var(--primary-color) 100%);
    background-size: 100% 200%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 100px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: 30px;
    top: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.day-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.timeline-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.timeline-content img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.day-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.day-subtitle {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-weight: 500;
}

.curriculum-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculum-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--gray-600);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.curriculum-list li:last-child {
    border-bottom: none;
}

.curriculum-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.curriculum-list li:hover {
    color: var(--primary-color);
    padding-left: 40px;
    background: var(--gray-50);
    margin: 0 -10px;
    padding-right: 10px;
}

/* Notice Section */
.notice-section {
    padding: 60px 0;
}

.notice-box {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(254, 202, 87, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.notice-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notice-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-title i {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.notice-icon {
    color: var(--secondary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gray-50);
    padding: 60px 0;
    border-radius: 30px;
    margin: 0 -15px;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.cta-buttons-inline {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons-inline .btn {
    min-width: 200px;
}

/* Tab Pane Animation */
.tab-pane {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .curriculum-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-marker {
        left: 10px;
    }
    
    .course-info {
        gap: 20px;
    }
    
    .info-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-pills {
        flex-direction: column;
        width: 100%;
        border-radius: 20px;
    }
    
    .nav-pills .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .course-title {
        font-size: 1.8rem;
    }
    
    .course-description {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .day-title {
        font-size: 1.4rem;
    }
    
    .day-subtitle {
        font-size: 1rem;
    }
    
    .curriculum-list li {
        font-size: 0.95rem;
        padding: 10px 0;
        padding-left: 30px;
    }
    
    .notice-box {
        padding: 25px;
    }
    
    .notice-title {
        font-size: 1.4rem;
    }
    
    .notice-list li {
        font-size: 0.95rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons-inline {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons-inline .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .curriculum-timeline::before {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    .timeline-marker {
        display: none;
    }
    
    .timeline-content {
        border-left: 4px solid var(--primary-color);
    }
}