/* 충남스틸 - 삼성 스타일 디자인 */
:root {
    --primary-color: #1428A0;
    --secondary-color: #0074E8;
    --accent-color: #FF6900;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --border-color: #E5E5E7;
    --bg-light: #F5F5F7;
    --bg-dark: #000000;
    --white: #FFFFFF;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Samsung One', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', '맑은 고딕', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 0 var(--border-color);
}

.header-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo .tagline {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--border-color);
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-contact {
    font-size: 14px;
    color: var(--text-secondary);
}

.header-contact span {
    margin-left: 16px;
}

.header-contact span:first-child {
    margin-left: 0;
}

/* Navigation */
.main-nav {
    border-top: 1px solid var(--border-color);
}

.nav-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    height: 52px;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
}

/* Section Container */
.section {
    padding: 80px 0;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Cards & Grids */
.card {
    background-color: var(--white);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #0F1F7A;
    transform: scale(1.02);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 28px;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.1);
}

/* Footer */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p,
.footer-section li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-legal-links {
    margin-bottom: 15px;
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-legal-links .separator {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F5F5F7 0%, #E8E8ED 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-content p {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Board Table */
.board-table {
    width: 100%;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.board-table thead {
    background-color: var(--bg-light);
}

.board-table th {
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.board-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.board-table tbody tr:last-child td {
    border-bottom: none;
}

.board-table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--bg-light);
}

.pagination .current {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    
    .main-nav a {
        width: 100%;
        padding: 16px 24px;
        height: auto;
    }
    
    .main-nav a.active::after {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .page-header h2 {
        font-size: 32px;
    }
    
    .section {
        padding: 40px 0;
    }
}