/* Footer Styles */
footer {
    background: #E6F3FB;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

/* 배경 패턴 제거 */
footer::before {
    display: none;
}

/* Footer 컨테이너 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    position: relative;
    z-index: 1;
}

/* Footer 메인 컨텐츠 - 중앙정렬 */
.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

/* 회사 정보 섹션 */
.company-section {
    animation: fadeInUp 0.8s ease-out;
    margin-bottom: 50px;
}

.company-logo {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
}

.company-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #5599dd);
    border-radius: 2px;
}

.company-tagline {
    font-size: 20px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
    line-height: 1.4;
}

.company-description {
    font-size: 15px;
    color: #34495e;
    line-height: 1.8;
    margin: 0 auto 30px;
    max-width: 600px;
}

/* 연락처 정보 섹션 - 중앙정렬 */
.contact-section {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0066cc, #5599dd);
    border-radius: 1px;
}

.contact-list {
    list-style: none;
    display: inline-flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.9);
    border-color: #0066cc;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: #0066cc;
}

.contact-info {
    text-align: left;
}

.contact-value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.contact-value a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #0066cc;
}

/* Footer 하단 */
.footer-bottom {
    border-top: 1px solid rgba(44, 62, 80, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    flex: 1;
}

.copyright {
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.8;
}

.copyright strong {
    color: #34495e;
    font-weight: 600;
}

/* 정책 링크 - 우측 배치 */
.footer-links {
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    color: #34495e;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
    font-weight: normal;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #0066cc;
}

.footer-link:hover::after {
    width: 100%;
}

/* 개인정보처리방침 */
.footer-link.privacy {
    font-weight: normal;
    color: #34495e;
}

.divider {
    color: #7f8c8d;
    margin: 0 12px;
    user-select: none;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .footer-container {
        padding: 40px 20px 30px;
    }

    .company-logo {
        font-size: 26px;
    }

    .company-tagline {
        font-size: 17px;
    }

    .company-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .contact-list {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .contact-value {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-links {
        justify-content: center;
        font-size: 13px;
        width: 100%;
    }

    .divider {
        margin: 0 8px;
    }
}
