/* Header & Navigation */
.main-header .container {
    max-width: 1280px;
}

.main-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.main-header.scrolled {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    text-decoration: none;
    display: block;
    line-height: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 60px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.main-header.scrolled .nav-link {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.main-header.scrolled .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: background 0.3s ease;
}

.main-header.scrolled .bar {
    background: var(--white);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.mobile-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.mobile-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar.active .mobile-sidebar-content {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 36px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-link {
    display: block;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: #f5f5f5;
    color: #0E385E;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .logo img {
        width: 158px;
        height: auto;
    }
}
