/* 기본 스타일 - 외주용역 전문 회사 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003d82;
    --accent-color: #00a8e8;
    --success-color: #28a745;
    --text-color: #2c3e50;
    --text-secondary: #6c757d;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --white: #ffffff;
    --dark-bg: #1a2332;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #ffffff;
    font-size: 16px;
    letter-spacing: -0.3px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* 네비게이션 스타일 - 전문성 강조 */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 5px;
    position: relative;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* 버튼 스타일 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-emphasis {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-emphasis:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 76, 174, 0.3);
}

.btn-emphasis-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.btn-emphasis-content {
    font-weight: 600;
}

/* 푸터 스타일 - B2B 외주용역 스타일 */
footer {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: #ecf0f1;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

footer .footer-links a {
    color: #bdc3c7;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

footer .footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

footer .footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

footer .footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

footer .copyright {
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* 섹션 스타일 - 외주용역 전문 */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.8;
}

/* 페이지네이션 스타일 */
.pagination {
    margin-top: 30px;
}

.pagination .page-item .page-link {
    border-radius: 8px;
    margin: 0 5px;
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    padding: 10px 16px;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(30, 76, 174, 0.3);
}

.pagination .page-item .page-link:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: #dee2e6;
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* 제품/서비스 섹션 스타일 */
.products-section {
    padding: 80px 0;
}

.category-tabs {
    background-color: var(--light-gray);
    padding: 30px 0;
    margin-bottom: 40px;
}

.category-tab {
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.category-tab:hover,
.category-tab.active {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
    border: 2px solid var(--primary-color);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.category-count {
    font-size: 0.9rem;
}

.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

.product-body {
    padding: 20px;
}

.product-category {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-desc {
    color: #6c757d;
    margin-bottom: 20px;
    min-height: 60px;
}

.product-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    color: var(--primary-color);
    margin-right: 10px;
}

.feature-text {
    color: var(--text-color);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-period {
    font-size: 0.9rem;
    color: #6c757d;
}

.product-footer {
    margin-top: 20px;
}

.btn-details {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* 반응형 스타일 */
@media (max-width: 767.98px) {
    .navbar-nav .nav-link.active:after {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .products-section {
        padding: 60px 0;
    }
    
    .category-tab {
        margin-bottom: 15px;
    }
    
    .product-img {
        height: 180px;
    }
} 