/**
 * @파일명 css/_main_contact.css
 * @제작사 ZZAN Studio
 * @설명 메인 하단 고객센터 상담 안내 섹션 스타일
 */

/* [1] 섹션 메인 컨테이너 */
.main-contact-section {
    padding: 140px 0;
    background: #0c0e12; 
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* [1-1] 배경 장식용 글로우 효과 */
.main-contact-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225, 33, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

/* [2] 좌측 문의 안내 및 버튼 영역 */
.contact-text-area .contact-title {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 30px;
}

.contact-text-area .contact-title h4 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    margin: 0;
}

.contact-text-area .contact-title:hover h4 {
    color: var(--primary-red);
}

.contact-text-area .contact-title h4 i {
    font-size: 32px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.contact-text-area .contact-title:hover h4 i {
    transform: translateX(10px);
    opacity: 1;
}

.contact-text-area .contact-title h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    width: 6px;
    height: 80%;
    background: var(--primary-red);
}

.contact-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #999;
    font-weight: 400;
    word-break: keep-all;
    margin-bottom: 40px;
}

.contact-btns .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--primary-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btns .btn-contact:hover {
    background: #fff;
    color: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* [3] 우측 상담 시간 안내 카드 */
.contact-time-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.5s ease;
}

.contact-time-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.time-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    display: block;
}

.time-info {
    font-size: 20px;
    line-height: 1.7;
    color: #eee;
    font-weight: 600;
    word-break: keep-all;
}

/* [4] 반응형 스타일 조절 */
@media screen and (max-width: 1024px) {
    .contact-text-area .contact-title h4 {
        font-size: 32px;
    }
    .contact-desc {
        font-size: 16px;
    }
    .time-info {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .main-contact-section {
        padding-bottom: 0; /* 모바일에서 푸터와의 사이 틈 방지 */
        margin-bottom: -1px; /* 렌더링 오차로 인한 미세한 틈 방지 */
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .contact-text-area .contact-title h4 {
        font-size: 28px;
        padding-left: 0;
        justify-content: center;
        margin-bottom: 20px;
        gap: 0;
    }
    .contact-text-area .contact-title h4::before {
        left: 50%;
        top: auto;
        bottom: -15px;
        width: 40px;
        height: 3px;
        transform: translateX(-50%);
    }
    .contact-time-card {
        padding: 30px 20px;
    }
}
