/* 
   FoodJob24 Soft Premium Rebranding: 
   Soft Navy (Modern) + Sand Beige (Warm & Clean)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --soft-navy: #34495E;         /* 부드러운 그레이시 네이비 */
    --muted-navy: #5D6D7E;        /* 더 연한 네이비 */
    --accent-blue: #5DADE2;       /* 청량한 포인트 블루 */
    --sand-beige: #FDFCF9;        /* 아주 연한 샌드 베이지 배경 */
    --warm-white: #FFFFFF;
    --light-gray: #F4F7F9;
    --text-main: #2C3E50;
    --text-muted: #7F8C8D;
    --border-soft: #EAECEE;
    --premium-gold: #D4AF37;      /* 은은한 골드 포인트 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Noto Sans KR', sans-serif; background-color: var(--sand-beige); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
.top-util { background: var(--soft-navy); padding: 8px 0; font-size: 12px; color: rgba(255,255,255,0.9); }
.top-util .container { display: flex; justify-content: space-between; }
.top-util a:hover { color: var(--accent-blue); }

.main-header { background: var(--warm-white); padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 800; color: var(--soft-navy); display: flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
.logo i { color: var(--accent-blue); }

.search-area { display: flex; background: var(--light-gray); border-radius: 12px; padding: 4px 15px; width: 480px; border: 1px solid var(--border-soft); }
.search-area select, .search-area input { background: transparent; border: none; padding: 10px; outline: none; font-size: 14px; color: var(--text-main); }
.search-area button { background: var(--soft-navy); color: var(--warm-white); border: none; padding: 0 20px; border-radius: 8px; font-weight: 700; cursor: pointer; margin-left: auto; transition: background 0.2s; white-space: nowrap; word-break: keep-all; line-height: 1; min-width: 56px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.search-area button:hover { background: var(--muted-navy); }

.main-nav { background: var(--warm-white); border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 1000; }
.nav-list { display: flex; list-style: none; justify-content: center; }
.nav-list li a { display: block; padding: 16px 22px; font-weight: 600; font-size: 15px; color: var(--text-main); }
.nav-list li a:hover { color: var(--accent-blue); }
.nav-list li a.active { color: var(--soft-navy); border-bottom: 3px solid var(--accent-blue); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
    .main-nav .container {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 52px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-soft);
        border-radius: 10px;
        background: var(--warm-white);
        cursor: pointer;
        padding: 0;
    }

    .nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 0 auto;
        background: var(--soft-navy);
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .main-nav.is-open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .main-nav.is-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .main-nav.is-open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--warm-white);
        border-bottom: 1px solid var(--border-soft);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        z-index: 10;
    }

    .main-nav.is-open .nav-list {
        display: flex;
    }

    .nav-list li {
        flex: none;
    }

    .nav-list li[style*="margin-left:auto"] {
        margin-left: 0 !important;
    }

    .nav-list li a {
        padding: 14px 16px;
        font-size: 14px;
        border-top: 1px solid var(--border-soft);
    }

    .nav-list li a.active {
        border-bottom: 0;
        background: var(--light-gray);
    }
}

/* Layout Grid */
.layout-grid { display: grid; grid-template-columns: 240px 1fr 280px; gap: 25px; margin-top: 25px; }

/* Sidebar */
.side-card { background: var(--warm-white); border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--border-soft); overflow: hidden; }
.side-head { background: var(--light-gray); color: var(--soft-navy); padding: 15px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border-soft); }
.nav-side-list { list-style: none; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nav-side-list li { font-size: 12px; color: var(--text-muted); padding: 8px; background: var(--sand-beige); text-align: center; cursor: pointer; border-radius: 6px; border: 1px solid var(--border-soft); transition: all 0.2s; }
.nav-side-list li:hover { border-color: var(--accent-blue); color: var(--soft-navy); background: var(--warm-white); }

/* Ad Section Common */
.ad-section { margin-bottom: 35px; }
.ad-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ad-section-head h2 { font-size: 19px; font-weight: 800; color: var(--soft-navy); display: flex; align-items: center; gap: 8px; }
.ad-section-head h2::before { content: ''; width: 4px; height: 18px; background: var(--accent-blue); border-radius: 2px; }
.btn-premium { background: var(--warm-white); color: var(--muted-navy); font-size: 11px; padding: 5px 12px; border-radius: 4px; font-weight: 700; border: 1px solid var(--border-soft); }
.btn-premium:hover { border-color: var(--accent-blue); color: var(--accent-blue); }

/* 1. VVIP: Soft Premium Card */
.vvip-card { background: var(--warm-white); border-radius: 16px; display: flex; gap: 25px; padding: 25px; border: 1px solid var(--border-soft); position: relative; transition: transform 0.3s; }
.vvip-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.03); }
.vvip-thumb { width: 240px; height: 160px; background: var(--light-gray); border-radius: 10px; flex-shrink: 0; }
.vvip-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.vvip-hosp { font-size: 16px; font-weight: 700; color: var(--premium-gold); margin-bottom: 8px; }
.vvip-title { font-size: 20px; font-weight: 800; color: var(--soft-navy); margin-bottom: 12px; line-height: 1.4; }
.vvip-meta { font-size: 14px; color: var(--text-muted); display: flex; gap: 15px; }
.vvip-pay { color: #E74C3C; font-weight: 700; }

/* 2. VIP+: Clean Grid Card */
.vip-plus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.vip-plus-card { background: var(--warm-white); display: flex; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--border-soft); transition: all 0.2s; }
.vip-plus-card:hover { border-color: var(--accent-blue); background: var(--sand-beige); }
.vip-plus-thumb { width: 100px; height: 80px; background: var(--light-gray); border-radius: 6px; flex-shrink: 0; }
.vip-plus-body { flex: 1; min-width: 0; }
.vip-plus-hosp { font-size: 13px; font-weight: 700; color: var(--muted-navy); margin-bottom: 4px; }
.vip-plus-title { font-size: 14px; font-weight: 600; color: var(--text-main); height: 2.6em; overflow: hidden; line-height: 1.3; }
.vip-plus-pay { font-size: 13px; color: var(--premium-gold); font-weight: 700; margin-top: 6px; }

/* 3. Community Feed: Minimalist */
.comm-section { background: var(--warm-white); border-radius: 16px; padding: 25px; border: 1px solid var(--border-soft); }
.comm-post { padding: 18px 0; border-bottom: 1px solid var(--light-gray); }
.comm-post:last-child { border-bottom: none; }
.comm-post-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.comm-tag { background: var(--light-gray); color: var(--muted-navy); font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.comm-title { font-size: 16px; font-weight: 700; color: var(--soft-navy); margin-bottom: 6px; cursor: pointer; }
.comm-title:hover { color: var(--accent-blue); }
.comm-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 12px; }

/* Right Sidebar */
.login-box { padding: 22px; background: var(--soft-navy); color: white; border: none; }
.login-box h3 { font-size: 16px; margin-bottom: 15px; font-weight: 700; }
.login-box input { width: 100%; padding: 10px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; font-size: 13px; background: rgba(255,255,255,0.05); color: white; outline: none; }
.login-box input:focus { border-color: var(--accent-blue); }
.btn-login { width: 100%; padding: 12px; background: var(--accent-blue); color: white; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.btn-login:hover { opacity: 0.9; }

/* Bottom Nav (Modern Floating) */
.bottom-nav { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: rgba(52, 73, 94, 0.95); backdrop-filter: blur(10px); display: flex; justify-content: space-around; padding: 10px 20px; border-radius: 20px; z-index: 2000; box-shadow: 0 8px 32px rgba(0,0,0,0.15); width: 90%; max-width: 450px; opacity: 1; transition: opacity 0.22s ease; }
.bottom-nav.is-scrolling { opacity: 0.45; }
#hit_pop .hit-pop-inner { opacity: 1; transition: opacity 0.22s ease; }
#hit_pop.is-scrolling .hit-pop-inner { opacity: 0.45; }
.nav-item { text-align: center; color: rgba(255,255,255,0.6); font-size: 10px; flex: 1; }
.nav-item i { font-size: 20px; display: block; margin-bottom: 3px; }
.nav-item.active { color: var(--accent-blue); font-weight: 700; }

/* Geo consent banner */
.geo-consent {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 90px;
    z-index: 2500;
    width: min(560px, 92vw);
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 901px) {
    .geo-consent {
        display: none !important;
    }
}

.geo-consent p {
    font-size: 13px;
    color: var(--text-main);
    margin: 0;
    flex: 1;
}

.geo-consent .geo-actions {
    display: flex;
    gap: 8px;
}

.geo-consent button {
    border: 1px solid var(--border-soft);
    background: #f7f9fb;
    color: var(--text-main);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.geo-consent .geo-allow {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

/* Customer Service */
.cs-container {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 24px;
    padding: 34px;
    border: 1px solid #d9e5ef;
    margin: 28px 0 110px;
    box-shadow: 0 24px 50px rgba(24, 49, 72, 0.08);
}

.cs-header {
    background: linear-gradient(130deg, #ecf5ff 0%, #f9f5ea 100%);
    border: 1px solid #d7e7f7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 20px;
}

.cs-header h1 {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1d3951;
    margin-bottom: 8px;
}

.cs-header p {
    color: #4f6578;
    font-size: 15px;
}

.cs-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.cs-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #d4e2ef;
    border-radius: 12px;
    background: #f6fafd;
    color: #2f4c63;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-tab:hover {
    background: #eef6ff;
    border-color: #accff0;
}

.cs-tab.active {
    background: linear-gradient(145deg, #2f4c63, #496a86);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(43, 74, 101, 0.3);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid #dbe7f2;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    border-color: #b4d1eb;
    box-shadow: 0 10px 18px rgba(30, 66, 94, 0.08);
    transform: translateY(-1px);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-weight: 700;
    color: #223f57;
}

.faq-question span {
    line-height: 1.4;
}

.faq-question i {
    color: #557994;
    transition: transform 0.2s ease;
}

.faq-answer {
    display: none;
    padding: 0 18px 16px;
    color: #456179;
    line-height: 1.7;
    border-top: 1px solid #edf3f9;
    background: #f9fcff;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.notice-list {
    display: grid;
    gap: 12px;
}

.notice-item {
    border: 1px solid #dbe7f2;
    border-radius: 14px;
    background: #fff;
    padding: 16px 18px;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #6f8497;
}

.notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 22px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #2a6ea5;
    font-weight: 700;
}

.notice-title {
    font-size: 17px;
    line-height: 1.35;
    color: #223f57;
    margin-bottom: 6px;
}

.notice-content {
    color: #4a657c;
    line-height: 1.65;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-item {
    border: 1px solid #dbe7f2;
    border-radius: 14px;
    background: #fff;
    padding: 16px 18px;
}

.info-title {
    font-size: 17px;
    line-height: 1.35;
    color: #223f57;
    margin-bottom: 6px;
}

.info-content {
    color: #4a657c;
    line-height: 1.65;
}

.contact-form {
    background: #fff;
    border: 1px solid #dbe7f2;
    border-radius: 16px;
    padding: 20px;
}

.contact-form form {
    display: grid;
    gap: 14px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #35536b;
    font-size: 13px;
    font-weight: 700;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    border: 1px solid #cadced;
    border-radius: 11px;
    padding: 12px 13px;
    background: #fbfdff;
    color: #2d4456;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: #79abd6;
    box-shadow: 0 0 0 4px rgba(121, 171, 214, 0.16);
    background: #fff;
}

.contact-form .btn-submit {
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    color: #fff;
    background: linear-gradient(145deg, #2f4c63, #4f7594);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-form .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(44, 75, 100, 0.3);
    filter: brightness(1.02);
}

@media (max-width: 900px) {
    .cs-container {
        padding: 20px;
        border-radius: 18px;
    }

    .cs-header {
        padding: 18px;
        border-radius: 14px;
    }

    .cs-header h1 {
        font-size: 25px;
    }

    .cs-tabs {
        grid-template-columns: 1fr;
    }

    .cs-tab {
        min-height: 42px;
    }

    .faq-question {
        padding: 14px;
    }

    .faq-answer {
        padding: 0 14px 14px;
    }

    .notice-item {
        padding: 14px;
    }

    .notice-title {
        font-size: 16px;
    }

    .info-item {
        padding: 14px;
    }

    .info-title {
        font-size: 16px;
    }
}
