:root {
    --theme-color: #b89772; /* 디자인시스템 시그니처 럭셔리 골드 */
    --theme-dark: #8c6e4e;
    --theme-light: #fbf9f6;
    --naver-green: #03c75a;
    --theme-color-dark : #8c6e4e;
}

/* 단락 & 폰트 간격 전체 조정 */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    letter-spacing: -0.025em;
    line-height: 1.55;
    color: #333333;
    padding-bottom: 60px; /* 모바일 하단바 여백 */
}

@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

/* 공통 커스텀 색상 */
.text-theme { color: var(--theme-color) !important; }
.bg-theme { background-color: var(--theme-color) !important; color: #fff; }
.btn-theme { background-color: var(--theme-color); color: #fff; border: none; }
.btn-theme:hover { background-color: var(--theme-dark); color: #fff; }

/* 헤더 스타일 */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

main {
    max-width: 1720px;
    min-height: 80vh;
}

/* 네이버 스타일 검색바 */
.naver-search-bar {
    border: 2px solid var(--theme-color);
    border-radius: 24px;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2px 6px 2px 16px;
}
.naver-search-bar:focus-within {
    box-shadow: 0 0 0 3px rgba(184, 151, 114, 0.25);
}
.naver-search-bar input {
    border: none !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    padding: 6px 0;
}
.naver-search-bar input::placeholder {
    color: #888888;
    font-size: 0.9rem;
}
.naver-search-btn {
    background-color: var(--theme-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.2s;
    flex-shrink: 0;
}
.naver-search-btn:hover {
    background-color: var(--theme-dark);
    color: #fff;
}

/* 섹션별 구분 공백 처리 */
.content-section {
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .content-section {
        margin-bottom: 4rem;
    }
}


/* 정갈한 푸터 */
.clean-footer {
    background-color: #1e2022;
    color: #c5c9d0;
    font-size: 0.8rem;
    line-height: 1.6;
}
.clean-footer a {
    color: #d1d5db;
    text-decoration: none !important;
    transition: color 0.2s;
}
.clean-footer a:hover {
    color: #ffffff;
    text-decoration: none !important;
}
.footer-nav-link {
    font-weight: 500;
    color: #e5e7eb !important;
}
.footer-nav-link.privacy {
    color: var(--theme-color) !important;
    font-weight: 700;
}
.footer-divider {
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: #4b5563;
    margin: 0 8px;
}
.footer-info-text {
    color: #9ca3af;
    font-size: 0.78rem;
}
.footer-info-text strong {
    color: #d1d5db;
}

/* 하단 고정 네비게이션 (모바일 전용) */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    z-index: 1030;
}
.bottom-nav-item {
    text-decoration: none;
    color: #888;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-nav-item.active { color: var(--theme-color); font-weight: bold; }
.bottom-nav-item i { font-size: 1.15rem; margin-bottom: 2px; }

/* 오프캔버스 메뉴 */
.offcanvas-header { background-color: var(--theme-light); border-bottom: 1px solid #eee; }
.user-profile-box {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
}

/* 섹션 제목 반응형 폰트 */
.section-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; }
@media (min-width: 768px) {
    .section-title { font-size: 1.25rem; }
}
