/* 헤더 스타일 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    margin: 0 auto;
    background: white;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 60px;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 2.5rem;
    flex: 1;
    margin: 0 16rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    display: block;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: var(--bg-light);
    color: var(--primary-hover);
}

.nav-links a.active {
    color: #2C3E50;
    font-weight: 800;
}

.nav-links a::after {
    display: none;
}

/* 햄버거 메뉴 스타일 */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
        margin: 0;
        width: 100%;
    }

    .logo {
        font-size: 1.5rem;
        flex: none;
        margin-left: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px;
        padding: 0.5rem 1rem;
        display: block;
    }

    .nav-links a:hover {
        background-color: rgba(52, 152, 219, 0.1);
    }

    /* 햄버거 메뉴 활성화 시 애니메이션 */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* 활성 링크 스타일 (굵게 + 색상) */
    .nav-links a.active {
        color: #2C3E50; /* 요청하신 색상 */
        font-weight: 800; /* 굵은 글씨 */
        background-color: transparent; /* 호버 배경 제거 유지 */
    }
} 