/* ==========================================
   고객센터 페이지 스타일 (customer.css)
   ========================================== */

/* 전체 레이아웃 */
.customer-page {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    color: #1e293b;
    background: #ffffff;
}

/* 네비게이션 */
.customer-nav {
    display: flex;
    align-items: center;
    padding: 16px 60px;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.customer-nav .nav-logo img {
    height: 36px;
}

.customer-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0 0 0 48px;
    padding: 0;
}

.customer-nav .nav-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.customer-nav .nav-links a:hover,
.customer-nav .nav-links a.active {
    color: #2563eb;
    font-weight: 600;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-right a {
    text-decoration: none;
    font-size: 0.85rem;
    color: #64748b;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-right a:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* 브레드크럼 */
.breadcrumb-bar {
    padding: 14px 60px;
    font-size: 0.82rem;
    color: #94a3b8;
    background: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
}

.breadcrumb-bar a {
    color: #94a3b8;
    text-decoration: none;
}

.breadcrumb-bar a:hover {
    color: #2563eb;
}

/* 히어로 섹션 */
.customer-hero {
    text-align: center;
    padding: 60px 20px 50px;
    background: white;
}

.customer-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.customer-hero p {
    font-size: 0.95rem;
    color: #64748b;
}

/* 셀프 서비스 배너 */
.self-service-banner {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 48px 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f0f0ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.self-service-text {
    flex: 1;
}

.self-service-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.self-service-text p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.self-service-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.self-service-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.self-service-buttons a:hover {
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.self-service-image {
    width: 280px;
    height: 220px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* 서비스 카드 그리드 */
.service-section {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.service-section h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 36px;
    color: #1e293b;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s;
    cursor: pointer;
}

.service-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #475569;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}

/* 상담 섹션 */
.contact-section {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 36px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s;
}

.contact-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #475569;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.82rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-card .btn-go {
    font-size: 0.82rem;
    color: #2563eb;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* FAQ 섹션 */
.faq-section {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 36px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.faq-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s;
    cursor: pointer;
}

.faq-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-badge {
    width: 32px;
    height: 32px;
    background: #1e293b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.faq-card .faq-category {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-card .faq-question {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    color: #374151;
}

.faq-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s;
}

.faq-more:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* 공지사항 섹션 */
.notice-section {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.notice-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
}

.notice-header a {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notice-header a:hover {
    color: #2563eb;
}

.notice-list {
    border-top: 2px solid #1e293b;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.15s;
}

.notice-item:hover {
    background: #fafbfc;
    margin: 0 -12px;
    padding: 18px 12px;
}

.notice-item .notice-title {
    font-size: 0.9rem;
    color: #374151;
}

.notice-item .notice-date {
    font-size: 0.82rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* 고객센터 연락처 푸터 */
.customer-contact-bar {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 36px 48px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.contact-bar-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    flex-shrink: 0;
}

.contact-bar-numbers {
    display: flex;
    gap: 40px;
    flex: 1;
}

.contact-number-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-number-item .label {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

.contact-number-item .number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.contact-number-item .desc {
    font-size: 0.72rem;
    color: #94a3b8;
}

.contact-bar-hours {
    flex-shrink: 0;
    text-align: right;
}

.contact-bar-hours .hours-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.contact-bar-hours p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 페이지 푸터 */
.customer-footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 40px 60px;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.8;
}

.customer-footer strong {
    color: white;
}

/* ==========================================
   반응형 - 태블릿 (900px 이하)
   ========================================== */
@media (max-width: 900px) {
    .customer-nav {
        padding: 14px 20px;
    }

    .customer-nav .nav-links {
        gap: 16px;
        margin-left: 24px;
    }

    .self-service-banner {
        flex-direction: column;
        padding: 32px 24px;
        margin: 0 16px 40px;
    }

    .self-service-image {
        width: 100%;
        height: 160px;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-contact-bar {
        flex-direction: column;
        gap: 20px;
        margin: 0 16px 40px;
        padding: 24px;
    }

    .contact-bar-numbers {
        flex-direction: column;
        gap: 16px;
    }

    .contact-bar-hours {
        text-align: left;
    }
}

/* ==========================================
   반응형 - 모바일 (600px 이하)
   ========================================== */
@media (max-width: 600px) {
    .breadcrumb-bar {
        padding: 10px 16px;
        font-size: 0.78rem;
    }

    .customer-hero {
        padding: 36px 16px 30px;
    }

    .customer-hero h1 {
        font-size: 1.5rem;
    }

    .customer-hero p {
        font-size: 0.85rem;
    }

    .self-service-banner {
        margin: 0 12px 32px;
        padding: 24px 18px;
    }

    .self-service-text h2 {
        font-size: 1.2rem;
    }

    .self-service-text p {
        font-size: 0.82rem;
    }

    .self-service-buttons {
        grid-template-columns: 1fr;
    }

    .self-service-buttons a {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .self-service-image {
        height: 120px;
    }

    .service-section {
        margin-bottom: 40px;
    }

    .service-section h2 {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 12px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .service-card-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .service-card h3 {
        font-size: 0.82rem;
    }

    .service-card p {
        font-size: 0.7rem;
    }

    .contact-section h2 {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .contact-section {
        padding: 0 12px;
        margin-bottom: 40px;
    }

    .contact-card {
        padding: 24px 16px;
    }

    .faq-section {
        padding: 0 12px;
        margin-bottom: 40px;
    }

    .faq-section h2 {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }

    .faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .faq-card {
        padding: 18px 12px;
    }

    .faq-card .faq-question {
        font-size: 0.78rem;
    }

    .notice-section {
        padding: 0 12px;
        margin-bottom: 40px;
    }

    .notice-header h2 {
        font-size: 1.1rem;
    }

    .notice-item {
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .notice-item:hover {
        margin: 0;
        padding: 14px 0;
    }

    .notice-item .notice-title {
        font-size: 0.85rem;
    }

    .notice-item .notice-date {
        font-size: 0.75rem;
    }

    .customer-contact-bar {
        margin: 0 12px 40px;
        padding: 20px 16px;
    }

    .contact-bar-title {
        font-size: 1rem;
    }

    .contact-number-item .number {
        font-size: 1.1rem;
    }

    .customer-footer {
        padding: 30px 16px;
        font-size: 0.75rem;
    }
}
