/* support.css - 고객센터 페이지 스타일 */

/* ===================== */
/* Hero Section          */
/* ===================== */
/* 히어로섹션 배경 이미지만 지정 - 나머지는 common.css에서 상속 */
main .hero-section .hero-background {
    background-image: url('/images/support_big.png'); /* 전체화면용 큰 이미지 */
}



.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 1rem 4rem 1rem 1.5rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-container input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.search-container button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 4rem;
    background: #007bff;
    border: none;
    color: white;
    font-size: 1.2rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-container button:hover {
    background-color: #1e3a5f;
}

/* FAQ Section - Enhanced Design */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
    font-weight: 500;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    transition: background-color 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-question:hover {
    background-color: #f1f3f4;
}

.faq-question.active {
    background-color: #e3f2fd;
}

.question-label {
    color: #007bff;
    font-size: 16px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.question-text {
    flex: 1;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.toggle-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    font-weight: normal;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: none;
    padding: 1.5rem 2rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-answer p {
    margin: 0;
    color: #555555;
    line-height: 1.6;
    font-size: 0.95rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Categories Section */
.support-categories {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.support-categories h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: block;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #343a40;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 2.5rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #6c757d;
    font-size: 0.95rem;
}



/* 반응형 디자인 - 견적서 페이지와 동일 */
@media (max-width: 768px) {
    main .hero-section .hero-background {
        background-image: url('/images/support_big - 복사본.png');
    }

    .hero-section {
        height: 350px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-desc {
        font-size: 0.9rem;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
    }
    
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .question-text {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .support-categories {
        padding: 3rem 0;
    }

    .support-categories h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-desc {
        font-size: 0.85rem;
        padding: 0 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }

    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .question-text {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .support-categories {
        padding: 3rem 0;
    }

    .support-categories h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }
}
