﻿/* =========================================
           [★수정됨★ 푸터 하단 영역] - 높이 지정
           ========================================= */
footer {
    width: 100%;
    background: #1a1a1a; /*#E1E1E1;*/
    color: #fff;
    /* 기존 padding 제거 (높이를 지정하므로 내부 flex 정렬 사용) */
    padding: 0;
    box-sizing: border-box;
}

/* [PC 스타일] 
           - 높이 400px 강제 지정
           - flex를 사용하여 내용을 수직 중앙 정렬
        */
@media screen and (min-width: 769px) {
    footer {
        height: 400px; /* ★ 높이 지정 ★ */
        display: flex;
        flex-direction: column;
        justify-content: center; /* 수직 중앙 정렬 */
    }

    .footer-inner {
        margin-top: -20px; /* 시각적 중앙 보정 */
    }

    .copyright {
/*        position: absolute;*/
        bottom: 20px;
        left: 0;
        border-top: none; /* 고정 높이일 땐 구분선 빼는게 깔끔할 수 있음 */
    }
}

.footer-inner {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

    .footer-col h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 25px;
        color: #fff;
        position: relative;
        padding-bottom: 15px;
    }

        .footer-col h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 2px;
            background: #007bff;
        }

    .footer-col p, .footer-col li {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.8;
        margin-bottom: 8px;
    }

    .footer-col strong {
        color: #fff;
        font-weight: 500;
        margin-right: 8px;
    }

.map-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

    .map-btn:hover {
        background: #007bff;
        border-color: #007bff;
        color: #fff;
    }

.copyright {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* [모바일 스타일] 
           - 높이 auto (내용만큼 늘어남)
           - 다시 패딩 추가
        */
@media screen and (max-width: 768px) {
    footer {
        height: auto;
        padding: 60px 0 40px 0;
    }

    .footer-inner {
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-col {
        margin-bottom: 50px;
        min-width: auto;
    }

    .copyright {
/*        position: static;*/
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    main h2 {
        font-size: 24px;
    }
}


/* 푸터 하단 */
/*footer {
    width: 100%;
    background: #1a1a1a;*/ /* 검은색 배경 (너무 쌔까만색보다 살짝 부드러운 다크 그레이 추천) */
    /*color: #fff;
    padding: 80px 0 60px 0;
}

.footer-inner {
    width: 100%;
    padding: 0 40px;*/ /* 헤더와 동일한 좌우 여백 */
    /*display: flex;
    justify-content: space-between;
    flex-wrap: wrap;*/ /* 모바일 대응 */
/*}

.footer-col {
    flex: 1;*/ /* 3등분 */
    /*min-width: 280px;
    margin-bottom: 40px;
}*/

/* 푸터 제목 스타일 */
/*.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #007bff;*/ /* 파란색 포인트 바 */
/*}*/

/* 푸터 내용 텍스트 */
/*.footer-col p, .footer-col li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);*/ /* 흰색 투명도 조절하여 눈이 편하게 */
    /*line-height: 1.8;
    margin-bottom: 8px;
}

    .footer-col strong {
        color: #fff;
        font-weight: 500;
        margin-right: 8px;
    }*/

/* 오시는길 버튼 스타일 */
/*.map-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

    .map-btn:hover {
        background: #007bff;
        border-color: #007bff;
        color: #fff;
    }*/

/* 저작권 표시 */
/*.copyright {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}*/

/* 모바일용 푸터 수정 */
/*@media screen and (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-col {
        margin-bottom: 50px;
        min-width: auto;
    }

    main h2 {
        font-size: 24px;
    }
}*/
