/* FAQ 페이지 스타일 - 다크 톤 타투샵 버전 */

/* 히어로 섹션 */
.faq-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/faq/faq-hero.jpg') center center/cover no-repeat;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0,0,0,0.8);
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 히어로 FAQ 미리보기 */
.hero-faq-preview {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.preview-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
}

.preview-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,215,0,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.preview-item i {
    font-size: 1.5rem;
    color: #ffd700;
    min-width: 20px;
}

.preview-item span {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-align: left;
}

/* 페이지 헤더 */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* FAQ 섹션 */
.faq-section {
    padding: 100px 0 60px; /* 상단 여백을 60px에서 100px로 늘려서 네비게이션 바와의 간격 확보 */
    background: url('../images/faq/faq-section-bg.jpg') center center/cover no-repeat;
    color: white;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.faq-section h2 {
    text-align: center;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 40px; /* 50px에서 40px로 추가 축소 */
    text-shadow: 0 0 30px rgba(0,0,0,0.8);
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

/* FAQ 제목의 괄호 부분만 작게 만들기 */
.faq-section h2 .subtitle {
    font-size: 1.2rem; /* 크기를 키워서 보이게 함 */
    opacity: 0.8;
    font-weight: 400;
    display: block;
    margin-top: 10px;
    color: #b0b0b0 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    position: relative;
    z-index: 3;
}

/* 부모 요소의 그라데이션 효과를 무시하기 위한 추가 스타일 */
.faq-section h2 .subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: -1;
}

/* 새로운 FAQ subtitle 스타일 */
.faq-subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 40px;
    color: #b0b0b0;
    position: relative;
    z-index: 2;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    margin-bottom: 15px; /* 20px에서 15px로 추가 축소 */
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}

.faq-question {
    padding: 20px 25px; /* 25px 30px에서 20px 25px로 추가 축소 */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1) 0%, rgba(255, 119, 198, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-question:hover::after {
    opacity: 1;
}

.faq-question h3 {
    font-size: 1rem; /* 1.1rem에서 1rem으로 추가 축소 */
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

.faq-question i {
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    color: #ffd700;
}

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

.faq-answer {
    padding: 0 25px; /* 0 30px에서 0 25px로 추가 축소 */
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0,0,0,0.3);
    position: relative;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 20px 25px; /* 25px 30px에서 20px 25px로 추가 축소 */
    max-height: 800px;
    opacity: 1;
}

.faq-answer p {
    color: #e0e0e0;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem; /* 1rem에서 0.95rem으로 추가 축소 */
}

/* 상담 문의 섹션 */
.consultation-section {
    padding: 60px 0; /* 80px에서 60px로 추가 축소 */
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    color: white;
    position: relative;
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
}

.consultation-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px; /* 25px에서 20px로 추가 축소 */
    color: white;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

.consultation-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 40px; /* 50px에서 40px로 추가 축소 */
    position: relative;
    z-index: 2;
}

.consultation-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 30px; /* 40px에서 30px로 추가 축소 */
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.consultation-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
    z-index: -1;
}

.form-group {
    margin-bottom: 20px; /* 25px에서 20px로 추가 축소 */
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px; /* 10px에서 8px로 추가 축소 */
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem; /* 1rem에서 0.95rem으로 추가 축소 */
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px; /* 12px 18px에서 10px 15px로 추가 축소 */
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    background: rgba(255,255,255,0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
    color: #ffffff;
    font-weight: 500;
}

.form-group select option {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 10px;
    font-weight: 500;
}

.form-group select option:hover {
    background-color: #ffd700;
    color: #000000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* 파일 업로드 스타일 */
.file-upload-group {
    position: relative;
}

.file-upload-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px; /* 12px 18px에서 10px 15px로 추가 축소 */
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px; /* 55px에서 50px로 추가 축소 */
}

.file-upload-label:hover {
    border-color: #ffd700;
    background: rgba(255,215,0,0.05);
    color: #ffd700;
}

.file-upload-label i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.file-upload-label.has-file {
    border-color: #4CAF50;
    color: #4CAF50;
    background: rgba(76,175,80,0.1);
}

/* 체크박스 스타일 */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #e0e0e0;
    position: relative;
    padding-left: 35px;
    min-height: 25px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: #ffd700;
    background: rgba(255,215,0,0.1);
}

.checkbox-label input:checked ~ .checkmark {
    background: #ffd700;
    border-color: #ffd700;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.consultation-form .btn {
    width: 100%;
    padding: 14px; /* 16px에서 14px로 추가 축소 */
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px; /* 25px에서 20px로 추가 축소 */
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.consultation-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,215,0,0.3);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* 연락처 정보 섹션 */
.contact-info-section {
    padding: 60px 0; /* 80px에서 60px로 추가 축소 */
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
}

.contact-info-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px; /* 50px에서 40px로 추가 축소 */
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; /* 25px에서 20px로 추가 축소 */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-item {
    text-align: center;
    padding: 30px 20px; /* 35px 25px에서 30px 20px로 추가 축소 */
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,215,0,0.3);
}

.contact-item i {
    font-size: 3rem;
    margin-bottom: 15px; /* 20px에서 15px로 추가 축소 */
    color: #ffd700;
    position: relative;
    z-index: 2;
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px; /* 15px에서 10px로 추가 축소 */
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.contact-item p {
    margin: 8px 0;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    /* 히어로 섹션 모바일 */
    .faq-hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .hero-faq-preview {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .preview-item {
        min-width: 280px;
        padding: 15px 20px;
    }
    
    .preview-item i {
        font-size: 1.3rem;
    }
    
    .preview-item span {
        font-size: 0.95rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-section h2,
    .consultation-section h2,
    .contact-info-section h2 {
        font-size: 2.5rem;
    }
    
    /* 모바일에서 헤더와 콘텐츠 사이 여백 추가 */
    .faq-section {
        padding-top: 140px !important; /* 헤더 높이(60px) + 추가 여백(80px) */
    }
    
    .faq-question {
        padding: 18px 20px; /* 20px 25px에서 18px 20px로 추가 축소 */
    }
    
    .faq-question h3 {
        font-size: 0.95rem; /* 1rem에서 0.95rem으로 추가 축소 */
    }
    
    .faq-answer {
        padding: 0 20px; /* 0 25px에서 0 20px로 추가 축소 */
    }
    
    .faq-item.active .faq-answer {
        padding: 18px 20px; /* 20px 25px에서 18px 20px로 추가 축소 */
    }
    
    .consultation-form {
        padding: 25px 15px; /* 30px 20px에서 25px 15px로 추가 축소 */
        margin: 0 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* 20px에서 15px로 추가 축소 */
        padding: 0 15px;
    }
    
    .contact-item {
        padding: 20px 15px; /* 25px 20px에서 20px 15px로 추가 축소 */
    }
}

@media (max-width: 480px) {
    /* 히어로 섹션 작은 모바일 */
    .faq-hero {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .preview-item {
        min-width: 250px;
        padding: 12px 15px;
    }
    
    .preview-item i {
        font-size: 1.2rem;
    }
    
    .preview-item span {
        font-size: 0.9rem;
    }
    
    .page-header {
        padding: 60px 0 40px; /* 70px 0 50px에서 60px 0 40px로 추가 축소 */
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .faq-section,
    .consultation-section,
    .contact-info-section {
        padding: 60px 0; /* 70px에서 60px로 추가 축소 */
    }
    
    .faq-question {
        padding: 15px 18px; /* 18px 20px에서 15px 18px로 추가 축소 */
    }
    
    .faq-question h3 {
        font-size: 0.9rem; /* 0.95rem에서 0.9rem으로 추가 축소 */
    }
    
    .faq-answer {
        padding: 0 18px; /* 0 20px에서 0 18px로 추가 축소 */
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 18px; /* 18px 20px에서 15px 18px로 추가 축소 */
    }
    
    .consultation-form {
        padding: 15px 10px; /* 20px 15px에서 15px 10px로 추가 축소 */
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px; /* 10px 12px에서 8px 10px로 추가 축소 */
    }
    
    .contact-item {
        padding: 15px 10px; /* 20px 15px에서 15px 10px로 추가 축소 */
    }
    
    .contact-item i {
        font-size: 2.5rem;
    }
} 