/* Footer 전용 스타일 */
.footer {
    background: #5d4e3c;
    color: #f4e4c1;
    padding: 50px 20px 30px;
    margin-top: 80px;
}

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

.footer-section h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d4a574;
}

/* 연락처 목록 - PC: 수평 배열 */
.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}


.contact-item {
    display: flex;
    flex-direction: row;  /* PC: 아이콘과 텍스트 가로 배열 */
    align-items: center;
    gap: 15px;
    flex: 1;
}

.contact-icon {
    font-size: 20px;
    background: rgba(212, 165, 116, 0.2);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.text-group {
    flex: 1;
}

.text-group strong {
    display: block;
    font-size: 14px;
    color: #c89456;
    margin-bottom: 2px;
}

.text-group p {
    font-size: 15px;
    word-break: break-word;
}

/* 하단 카피라이트 */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 165, 116, 0.3);
    text-align: center;
    font-size: 13px;
    color: #a89378;
}

/* 모바일 반응형 - 수직 배열 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 15px 25px;
    }
    
    /* 모바일: 수직 배열 */
    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .contact-item {
        width: 100%;
        flex-direction: column;  /* 모바일: 아이콘과 텍스트 세로 배열 */
        align-items: center;  /* 중앙 정렬 */
        text-align: center;  /* 텍스트 중앙 정렬 */
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .text-group strong {
        font-size: 13px;
    }
    
    .text-group p {
        font-size: 14px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 15px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 20px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .contact-info {
        gap: 18px;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .text-group strong {
        font-size: 12px;
    }
    
    .text-group p {
        font-size: 13px;
    }
}