/* 푸터 */
.footer {
    background-color: #202937;
    color: white;
    padding: 60px 0 30px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PC 레이아웃: 한 줄 배치 */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-section {
    text-align: left;
    flex-shrink: 0;
}

/* 로고 섹션 */
.footer-logo {
    margin-bottom: 0;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

/* 텍스트 통일 - 타이틀 */
.footer-title,
.footer-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

/* 텍스트 통일 - 본문 */
.footer-address,
.footer-contact,
.footer-hours {
    font-size: 13px;
    color: #bbb;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 관련사이트 섹션 */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 12px;
    color: #bbb;
}

/* 화면 크기에 따라 간격 조정 - space-between 유지 */
@media (max-width: 1500px) {
    .footer-content {
        gap: 100px;
        justify-content: center;
    }

    .footer-section {
        flex-shrink: 1;
    }
}

@media (max-width: 1200px) {
    .footer-content {
        gap: 90px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        padding: 0 20px;
        gap: 80px;
    }
}

@media (max-width: 900px) {
    .footer-content {
        padding: 0 10px;
    }
}

/* 반응형 - 태블릿 및 모바일: 세로 레이아웃 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 0;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-title,
    .footer-section-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-address,
    .footer-contact,
    .footer-hours {
        font-size: 13px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* Extra small screens (Z Fold outer screen, etc.) */
@media (max-width: 350px) {
    .footer {
        padding: 30px 15px 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-title,
    .footer-section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-address,
    .footer-contact,
    .footer-hours,
    .footer-links a {
        font-size: 12px;
    }

    .footer-copyright p {
        font-size: 11px;
    }

    .footer-divider {
        margin: 20px 0;
    }
}
