/* simple 헤더 적용 시 앵커 스크롤 오프셋 (헤더에 가려지지 않도록) */
html {
    scroll-padding-top: 64px;
}

/* ===========================
   Simple Header
   =========================== */
.simple-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.simple-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.simple-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1A1A1A;
}

.simple-logo-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.simple-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

/* Right area */
.simple-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* GNB */
.simple-gnb {
    display: flex;
    align-items: center;
    gap: 4px;
}

.simple-gnb-item {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.simple-gnb-item:hover {
    color: #1A1A1A;
    background: #f5f5f5;
}

/* CTA Button */
.simple-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.2s;
    margin-left: 8px;
}

.simple-cta-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Hamburger */
.simple-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.simple-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--hamburger-color, #333);
    border-radius: 2px;
    transition: all 0.3s;
}

.simple-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Overlay */
.simple-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simple-overlay.open {
    opacity: 1;
}

/* Mobile Slide-in Menu */
.simple-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    display: none;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.simple-mobile-menu.open {
    transform: translateX(0);
}

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

.simple-mobile-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.simple-mobile-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.simple-mobile-close:hover {
    background: #f5f5f5;
    color: #1A1A1A;
}

.simple-mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.simple-mobile-item {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.simple-mobile-item:hover {
    background: #f8f9fa;
    color: #1A1A1A;
    border-left-color: #2D4A22;
}

.simple-mobile-bottom {
    padding: 16px 20px;
    border-top: 1px solid #eee;
}

.simple-mobile-cta {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: opacity 0.2s;
}

.simple-mobile-cta:hover {
    opacity: 0.9;
    color: #fff;
}

/* ===========================
   Responsive: Tablet
   =========================== */
@media (max-width: 1024px) {
    .simple-gnb-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    .simple-cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ===========================
   Responsive: Mobile
   =========================== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 56px;
    }

    .simple-header-inner {
        height: 52px;
        padding: 0 16px;
    }

    .simple-logo-icon {
        height: 24px;
    }

    .simple-logo-text {
        font-size: 16px;
    }

    .simple-gnb {
        display: none;
    }

    .simple-cta-btn {
        display: none;
    }

    .simple-hamburger {
        display: flex;
    }

    .simple-overlay {
        display: block;
        pointer-events: none;
    }

    .simple-overlay.open {
        pointer-events: auto;
    }

    .simple-mobile-menu {
        display: flex;
    }
}
