/* Custom CSS for SBI Online */

/* 전역 스타일 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 네비게이션 커스터마이징 */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
}

/* 히어로 섹션 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.display-4 {
    animation: fadeInUp 0.8s ease;
}

.lead {
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* 카드 호버 효과 */
.card {
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* 버튼 스타일 */
.btn {
    font-weight: 500;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* 섹션 스타일 */
section {
    position: relative;
    overflow: hidden;
}

.bg-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
}

/* 아이콘 애니메이션 */
.fa-3x, .fa-4x, .fa-10x {
    transition: all 0.3s ease;
}

.card:hover .fa-3x,
.card:hover .fa-4x {
    transform: scale(1.1);
    color: #667eea !important;
}

/* 타임라인 스타일 (회사 연혁) */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
}

.timeline > div {
    position: relative;
}

.timeline > div:before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
}

/* 포트폴리오 필터 버튼 */
.btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
}

/* 통계 섹션 */
.display-4 {
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 푸터 스타일 */
footer {
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%) !important;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 8px 20px;
        font-size: 1rem;
    }
}

/* 로딩 애니메이션 */
.spinner {
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    width: 40px;
    height: 40px;
}

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

/* 스크롤 애니메이션 */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animation.show {
    opacity: 1;
    transform: translateY(0);
}

/* 추가 유틸리티 클래스 */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

.rounded {
    border-radius: 10px !important;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}