/* 기본 스타일 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-color: #dee2e6;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 5px;
    display: block;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav li.active a {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

main {
    flex: 1;
    padding: 20px 0;
}

.site-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-copyright {
    color: #6c757d;
    font-size: 0.9em;
}

.footer-links {
    display: flex;
}

.footer-links a {
    color: #6c757d;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #333;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

/* 유지보수 예고 알림 스타일 */
.maintenance-notice {
    width: 100%;
    background-color: #fff3cd;
    color: #664d03;
    border-left: 4px solid #ffda6a;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
    animation: slideDown 0.5s ease-out;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.notice-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.notice-text {
    flex-grow: 1;
}

.notice-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.notice-text p {
    margin: 5px 0;
    font-size: 14px;
}

.notice-time {
    font-weight: bold;
}

.notice-close {
    font-size: 20px;
    color: #664d03;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

.notice-close:hover {
    color: #333;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 유지보수 페이지 관련 스타일은 maintenance.html에 인라인으로 추가되어 있음 */
