/* E-commerce 추천 시스템 슬라이드 커스텀 스타일 */

/* 전체 레이아웃 */
.reveal {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
}

/* 슬라이드 제목 */
.reveal h2 {
    color: #4CAF50;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* 아이콘 스타일링 */
.reveal i {
    color: #4CAF50;
    margin-right: 8px;
}

/* 코드 블록 스타일링 */
.reveal pre {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-size: 0.7em;
    line-height: 1.4;
}

.reveal code {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
}

/* 리스트 스타일링 */
.reveal ul, .reveal ol {
    margin-left: 0;
    padding-left: 20px;
}

.reveal li {
    margin-bottom: 10px;
    line-height: 1.4;
}

/* 강조 텍스트 */
.reveal strong {
    color: #FFD700;
    font-weight: 700;
}

/* 컬럼 레이아웃 */
.reveal .columns {
    display: flex;
    gap: 40px;
}

.reveal .column {
    flex: 1;
}

/* 노트 스타일 */
.reveal .notes {
    background-color: #2d2d2d;
    border-left: 4px solid #4CAF50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* 체크리스트 스타일 */
.reveal ul.checklist {
    list-style: none;
    padding-left: 0;
}

.reveal ul.checklist li::before {
    content: "☐ ";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
}

/* 프로세스 단계 스타일 */
.reveal .process-step {
    background-color: #2d2d2d;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    position: relative;
}

.reveal .process-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 성과 지표 카드 */
.reveal .metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.reveal .metric-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.reveal .metric-card .metric-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin: 10px 0;
}

/* 알고리즘 비교 테이블 */
.reveal .algorithm-comparison {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.reveal .algorithm-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.reveal .algorithm-comparison th {
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

.reveal .algorithm-comparison td {
    padding: 12px;
    border-bottom: 1px solid #555;
}

/* 경고 박스 */
.reveal .warning-box {
    background-color: #ff6b6b;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 5px solid #ff4757;
}

.reveal .warning-box i {
    color: white;
    margin-right: 10px;
}

/* 성공 박스 */
.reveal .success-box {
    background-color: #4CAF50;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 5px solid #2E7D32;
}

.reveal .success-box i {
    color: white;
    margin-right: 10px;
}

/* 정보 박스 */
.reveal .info-box {
    background-color: #2196F3;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 5px solid #1976D2;
}

.reveal .info-box i {
    color: white;
    margin-right: 10px;
}

/* 슬라이드 번호 스타일 */
.reveal .slide-number {
    color: #4CAF50;
    font-weight: bold;
}

/* 푸터 스타일 */
.reveal .footer {
    color: #888;
    font-size: 0.6em;
}

/* 애니메이션 */
.reveal .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 호버 효과 */
.reveal .hover-effect {
    transition: all 0.3s ease;
}

.reveal .hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .reveal {
        font-size: 28px;
    }
    
    .reveal .columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .reveal pre {
        font-size: 0.6em;
        padding: 15px;
    }
    
    .reveal .metric-card {
        margin: 5px;
        padding: 15px;
    }
}

/* 다크 테마 최적화 */
.reveal .dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.reveal .dark-theme h1, 
.reveal .dark-theme h2, 
.reveal .dark-theme h3 {
    color: #4CAF50;
}

/* 인터랙티브 요소 */
.reveal .interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.reveal .interactive-element:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* 차트 컨테이너 */
.reveal .chart-container {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

/* 로딩 애니메이션 */
.reveal .loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #4CAF50;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 프로그레스 바 */
.reveal .progress-bar {
    background-color: #333;
    border-radius: 10px;
    padding: 3px;
    margin: 10px 0;
}

.reveal .progress-bar .progress {
    background-color: #4CAF50;
    height: 20px;
    border-radius: 8px;
    transition: width 0.3s ease;
}

/* 태그 스타일 */
.reveal .tag {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    margin: 2px;
    font-weight: 500;
}

/* 알림 배지 */
.reveal .badge {
    display: inline-block;
    background-color: #ff4757;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    margin-left: 5px;
}

/* 카드 레이아웃 */
.reveal .card {
    background-color: #2d2d2d;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.reveal .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* 그리드 레이아웃 */
.reveal .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* 중요 표시 */
.reveal .highlight {
    background-color: #FFD700;
    color: #1a1a1a;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* 스크롤 가능한 컨테이너 */
.reveal .scrollable {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
}

/* 커스텀 스크롤바 */
.reveal .scrollable::-webkit-scrollbar {
    width: 8px;
}

.reveal .scrollable::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 4px;
}

.reveal .scrollable::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.reveal .scrollable::-webkit-scrollbar-thumb:hover {
    background: #45a049;
} 