:root {
    --primary-color: #1e40af;
    --secondary-color: #475569;
    --accent-color: #0ea5e9;
    --success-color: #059669;
    --warning-color: #d97706;
    --background-color: #f8fafc;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --hover-shadow: 0 8px 25px rgba(0,0,0,0.12);
    --border-radius: 8px;
    --border-color: #e2e8f0;
}

body {
    background-color: var(--background-color);
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

/* 네비게이션 바 스타일 */
.navbar {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.025em;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 0.5rem !important;
    margin: 0 0.1rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    color: var(--secondary-color) !important;
}

.nav-link:hover {
    background: #f1f5f9;
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: #eff6ff;
    font-weight: 600;
}

/* 홈 배너 스타일 */
.hero-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" fill-opacity="0.05"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-hero {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    font-size: 1rem;
    margin: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-hero-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 주요 기능 섹션 스타일 */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.card-modern {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.2s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.card-header-modern {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: #1e293b;
}

.card-body-modern {
    padding: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-desc {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-modern {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-modern:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-outline-modern {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 블로그 및 카드 스타일 */
.blog-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.blog-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.blog-card .card-footer {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #374151;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* 배지 스타일 */
.badge-modern {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 알림 스타일 */
.alert-modern {
    border: none;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

/* 폼 스타일 */
.form-control-modern {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control-modern:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* 그림자 효과 */
.shadow-modern {
    box-shadow: var(--card-shadow) !important;
}

.shadow-modern-lg {
    box-shadow: var(--hover-shadow) !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .card-body-modern {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-hero {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* 유틸리티 클래스 */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--accent-color)) border-box;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 드롭다운 스타일 개선 */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--secondary-color);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

/* 푸터 호버 효과 */
.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.2s ease;
}

/* 헤더 메뉴 간격 조정 */
.navbar-nav .nav-item {
    margin: 0 0.1rem;
}

/* 왼쪽과 오른쪽 메뉴 간격 조정 */
@media (min-width: 992px) {
    .navbar-nav.me-auto {
        margin-right: 1rem !important;
    }
    
    .navbar-nav.ms-auto {
        margin-left: 1rem !important;
    }
    
    .navbar-nav .nav-item {
        margin: 0 0.3rem;
    }
    
    /* 허공소유와 프로젝트 메뉴 간격 조정 */
    /* .navbar-collapse {
        justify-content: center;
    } */
    
    .navbar > .container {
        position: relative;
    }
}

/* 고정 오디오 플레이어 스타일 */
.fixed-audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--hover-shadow);
    z-index: 9999;
    padding: 15px;
    display: none;
}

.fixed-audio-player .audio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    gap: 8px;
}

.fixed-audio-player .audio-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    flex: 1;
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.fixed-audio-player .close-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.fixed-audio-player .close-btn:hover {
    background: var(--secondary-color);
}

.fixed-audio-player .control-btn {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    min-width: 45px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
    margin: 0 2px;
    font-weight: 500;
    padding: 2px 6px;
    white-space: nowrap;
}

.fixed-audio-player .control-btn:hover {
    background: rgba(30, 64, 175, 0.2);
    color: white;
    background-color: var(--primary-color);
}

.fixed-audio-player .audio-controls {
    display: flex;
    align-items: center;
}

.fixed-audio-player .audio-info {
    padding: 4px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    text-align: center;
}

.fixed-audio-player audio {
    width: 100%;
    height: 35px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .fixed-audio-player {
        width: 320px;
        bottom: 15px;
        right: 15px;
        padding: 12px;
    }
    
    .fixed-audio-player .audio-title {
        font-size: 13px;
    }
    
    .fixed-audio-player .control-btn {
        min-width: 40px;
        font-size: 9px;
        padding: 2px 4px;
    }
}

@media (max-width: 480px) {
    .fixed-audio-player {
        width: calc(100vw - 30px);
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .fixed-audio-player .control-btn {
        min-width: 35px;
        font-size: 8px;
        padding: 1px 3px;
    }
}

/* 공개자료실 모바일 최적화 */
@media (max-width: 991px) {
    /* 모바일 카드 스타일 */
    .public-resource-card {
        transition: all 0.2s ease;
    }
    
    .public-resource-card:hover {
        background-color: #f8f9fa;
    }
    
    /* 모바일 헤더 최적화 */
    .mobile-header h1 {
        font-size: 1.5rem;
    }
    
    /* 검색 폼 모바일 최적화 */
    .search-form .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .search-form .form-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    /* 모바일 페이지네이션 최적화 */
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    /* 모바일 버튼 크기 조정 */
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* 모바일 카드 간격 조정 */
    .border-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }
    
    /* 모바일 텍스트 크기 조정 */
    .mobile-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .mobile-meta {
        font-size: 0.75rem;
    }
}/ *   d$? ? ۊ? ? 1u?   ? I  ? ? * /  
 @ m e d i a   ( m a x - w i d t h :   9 9 1 p x )   {  
         . c o n t a i n e r   {  
                 m a x - w i d t h :   1 0 0 % ;   / *   f$?  +  ? Hl\t? ? 2  ? ܮo? ? #  * /  
         }  
  
         . c o n t a i n e r ,   . c o n t a i n e r - f l u i d   {  
                 p a d d i n g - l e f t :   1 2 p x   ! i m p o r t a n t ;   / *   ?  ?   ? I  pu  * /  
                 p a d d i n g - r i g h t :   1 2 p x   ! i m p o r t a n t ;  
         }  
          
         . s e c t i o n   {  
                 p a d d i n g :   2 r e m   0 ;  
         }  
          
         . c a r d - b o d y - m o d e r n   {  
                 p a d d i n g :   1 . 2 5 r e m ;  
         }  
          
         . f e a t u r e - c a r d   {  
                 p a d d i n g :   1 . 5 r e m   1 r e m ;  
         }  
          
         . h e r o - s e c t i o n   {  
                 p a d d i n g :   3 r e m   0   4 r e m ;  
         }  
 }  
  
 @ m e d i a   ( m a x - w i d t h :   5 7 6 p x )   {  
         . c o n t a i n e r ,   . c o n t a i n e r - f l u i d   {  
                 p a d d i n g - l e f t :   1 0 p x   ! i m p o r t a n t ;  
                 p a d d i n g - r i g h t :   1 0 p x   ! i m p o r t a n t ;  
         }  
          
         . c a r d - b o d y - m o d e r n   {  
                 p a d d i n g :   1 r e m ;  
         }  
          
         . s e c t i o n - h e a d e r   {  
                 m a r g i n - b o t t o m :   2 r e m ;  
         }  
 }  
 