:root {
    --primary-yellow: #FFD200;
    --primary-yellow-hover: #E6BC00;
    --light-yellow: #FFF9E6;
    --dark-bg: #1e1e1e;
    --text-color: #222222;
    --border-color: #e2e2e2;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ---------------- Header & Mobile Navbar ---------------- */
.navbar {
    background-color: #ffffff;
}

/* PC 화면(1200px 이상) 메뉴 중앙 정렬 및 여백 설정 */
@media (min-width: 1200px) {
    .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem; /* 메뉴 항목 간의 여백 (필요에 따라 1rem ~ 2.5rem 조절 가능) */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .navbar-nav .nav-link {
        font-size: 1.05rem;
        padding: 0.5rem 0.75rem !important;
        white-space: nowrap;
    }
}

/* 모바일 화면 간격 조절 */
@media (max-width: 1199.98px) {
    .navbar-nav {
        gap: 0;
    }
}

.hamburger-icon {
    font-size: 1.4rem;
    color: #222;
}

.nav-link {
    color: #333 !important;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-yellow-hover) !important;
}

/* 모바일 화면 (1200px 미만) 드롭다운 스타일링 */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        display: none;
        background-color: #ffffff;
        padding: 15px;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }
    .navbar-collapse.show {
        display: block !important;
    }
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        text-align: left;
        border-bottom: 1px solid #f5f5f5;
    }
}

.auth-nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------------- Footer ---------------- */
footer {
    background-color: var(--dark-bg);
    color: #888;
    padding: 40px 0;
    font-size: 0.85rem;
}
footer a { color: #aaa; text-decoration: none; }
