/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

/* 모바일 최적화 */
@media (max-width: 768px) {

    .footer-container {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr; /* 한 줄로 배치 */
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem; /* 제목 크기 조정 */
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.95rem; /* 텍스트 가독성 유지 */
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem; /* 링크 간격 살짝 증가 */
    }

    .footer-bottom {
        font-size: 0.9rem;
        padding-top: 1.5rem; /* 여백 조금 더 늘려서 여유 있게 */
    }
}
