/**
 * Normal Footer Styles
 * 
 * 일반적인 정적 footer 스타일
 * Fixed Reveal Footer의 대안으로 사용
 */

/* =================================================================
   Normal Footer Styles
   ================================================================= */

/* 일반 footer 레이아웃 */
.site-footer.normal-footer {
    position: relative;
    background-color: #141824;
    padding: 80px 40px 40px 40px;
    font-size: 14px;
    line-height: 1.6;
    color: #737373;
    /* 상단 간격은 #page의 padding-bottom으로 이동하여 투명 마진으로 인한 히어로 비침 방지 */
    margin-top: 0;
}

/* 상단 간격은 페이지 컨테이너의 하단 패딩으로 확보 (불투명 배경 보장) */
body.normal-footer-mode #page {
    padding-bottom: 80px;
    background-color: #fff; /* 안전망 */
}

/* Fixed Reveal 비활성화 */
body.normal-footer-mode {
    padding-bottom: 0 !important;
    background-color: #fff;
}

body.normal-footer-mode #page {
    position: relative;
    z-index: auto;
}

/* =================================================================
   Footer Content Styles (공통)
   ================================================================= */

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 3fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-col-info .footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 2rem;
}

.footer-contact p {
    margin: 0 0 1.5rem 0;
}

.footer-contact p strong {
    color: #f1f6ff;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: #737373;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-socials svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.footer-title {
    color: #f1f6ff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-link {
    display: block;
    color: #737373;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 13px;
}

.footer-copyright strong {
    color: #f1f6ff;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal .footer-link {
    margin-bottom: 0;
}

/* =================================================================
   Responsive Styles
   ================================================================= */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-col-info {
        grid-column: 1 / -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .site-footer.normal-footer {
        padding: 40px 20px;
        margin-top: 0;
    }
    body.normal-footer-mode #page { padding-bottom: 40px; }
    
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .footer-col-info {
        grid-column: 1 / -1;
        margin-bottom: 2rem;
    }
    
    /* 모바일에서 나머지 3개 컬럼의 텍스트 크기 조정 */
    .footer-col .footer-title {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    
    .footer-col .footer-link {
        font-size: 13px;
        margin-bottom: 0.75rem;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}
