/* 공통 푸터 스타일 */

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

.site-footer {
    background: linear-gradient(135deg, #4C5863 0%, #3a444d 100%);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 3px solid var(--accent-color, #B6D5F0);
    font-family: 'GMarketSans', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    font-family: 'GMarketSans', sans-serif;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'GMarketSans', sans-serif;
    color: var(--accent-color, #B6D5F0);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

/* 법적 고지 섹션 - 왼쪽 */
.footer-legal {
    flex: 1;
    min-width: 300px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* 사이트 정보 섹션 */
.footer-site-info {
    flex: 0 0 auto;
    min-width: 200px;
    text-align: right;
}

.footer-intro-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0.5rem 0 0;
    font-family: 'GMarketSans', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 0.5rem;
}

.footer-intro-link::before {
    content: '←';
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-intro-link:hover {
    color: var(--accent-color, #B6D5F0);
    padding-right: 1rem;
}

.footer-intro-link:hover::before {
    opacity: 1;
    right: 0;
}

/* 링크 섹션 */
.footer-links {
    flex: 0 0 auto;
    min-width: 150px;
    text-align: right;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 0.5rem;
    text-align: right;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-right: 0.5rem;
}

.footer-link::before {
    content: '←';
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color, #B6D5F0);
    padding-right: 1rem;
}

.footer-link:hover::before {
    opacity: 1;
    right: 0;
}


.legal-notice,
.legal-disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
}

.legal-notice {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 푸터 하단 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
}

.footer-additional {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .footer-top {
        gap: 2rem;
    }
    
    .footer-site-info {
        min-width: 180px;
    }
    
    .footer-links {
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        justify-content: flex-start;
    }
    
    .footer-section {
        text-align: left;
        width: 100%;
    }
    
    .footer-site-info {
        text-align: left;
        width: 100%;
    }
    
    .footer-intro-link {
        text-align: left;
        padding-left: 0.5rem;
        padding-right: 0;
    }
    
    .footer-intro-link::before {
        left: 0;
        right: auto;
        content: '→';
    }
    
    .footer-intro-link:hover {
        padding-left: 1rem;
        padding-right: 0;
    }
    
    .footer-links {
        text-align: left;
        width: 100%;
    }
    
    .footer-link-list li {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .legal-notice,
    .legal-disclaimer {
        font-size: 0.85rem;
    }
}

/* 소셜 링크 섹션 (SEO용, 화면에 보이지 않음) */
.footer-social-links {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.social-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-top {
        gap: 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-site-name {
        font-size: 1.2rem;
    }
}

