/* location.css 파일 내부 */

body {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
    line-height: 1.6;
}

.location-wrap {
    width: 100%;
}

.location-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
}

.location-content .text-box {
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 25px;
}

.location-content .text-box p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

/* 상호/주소 정보 카드 */
.info-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #334155;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list strong {
    color: #0f172a;
    display: inline-block;
    width: 90px;
}

/* 지도 영역 */
.map-section {
    margin-bottom: 35px;
}

.map-container {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    margin-bottom: 12px;
}

.map-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.map-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.kakao-btn {
    background-color: #ffeb00;
    color: #3c1e1e;
}

.kakao-btn:hover {
    background-color: #f7e300;
}

.naver-btn {
    background-color: #03cf5d;
    color: #ffffff;
}

.naver-btn:hover {
    background-color: #02b350;
}

/* 교통 안내 섹션 */
.transport-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.transport-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.transport-card h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
}

.transport-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-list li {
    margin-bottom: 16px;
}

.transport-list li:last-child {
    margin-bottom: 0;
}

.transport-list p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #64748b;
    padding-left: 4px;
}

/* 지하철 노선 바지 */
.subway-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 12px;
    margin-right: 6px;
}

.line7 {
    background-color: #747f00;
}

.line2 {
    background-color: #37b42d;
}

.line4 {
    background-color: #00a5de;
}

/* 버스 정보 */
.bus-info .bus-stop {
    font-size: 15px;
    margin-bottom: 12px;
}

.bus-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bus-list li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.bus-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 4px;
    margin-right: 10px;
    min-width: 60px;
    text-align: center;
}

.bus-badge.blue {
    background-color: #2563eb;
}

.bus-badge.green {
    background-color: #16a34a;
}

.bus-badge.village {
    background-color: #d97706;
}

.footer-nav {
    text-align: center;
    margin-top: 40px;
}

.home-link {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.home-link:hover {
    background-color: #003d82;
    text-decoration: none;
}