/* 1. 기본 초기화 및 베이스 스타일 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans KR", sans-serif;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 2. 레이아웃 구조 */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 70vh;
}

/* 3. 헤더 스타일 */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    text-align: center;
}

.site-logo a {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
}

/* 4. 메인/히어로 섹션 */
.hero-section {
    text-align: center;
    padding: 40px 0;
}

.hero-section h1 {
    font-size: 28px;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-section p {
    color: #666666;
    font-size: 15px;
}

/* 5. 지역 선택 그리드 (메인) */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.region-card {
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    padding: 16px;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    color: #333333;
    transition: all 0.2s ease;
}

.region-card:hover {
    background: #ffffff;
    border-color: #0066cc;
    color: #0066cc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
}

/* 6. 상세 콘텐츠 및 가이드 */
.taxi-content {
    padding: 20px 0;
}

.content-header {
    margin-bottom: 25px;
    border-left: 4px solid #f1c40f; /* 택시를 상징하는 포인트 옐로우 라인 */
    padding-left: 15px;
}

.content-header h2 {
    font-size: 22px;
    color: #111111;
    margin-bottom: 5px;
}

.content-header .subtitle {
    color: #777777;
    font-size: 14px;
}

.info-box {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #444444;
}

/* 7. 데이터 테이블 스펙 */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
}

.taxi-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.taxi-table th, .taxi-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eeeeee;
}

.taxi-table th {
    background-color: #fafafa;
    color: #555555;
    font-weight: 600;
}

.taxi-table tbody tr:hover {
    background-color: #fdfdfd;
}

/* 모바일 전화를 위한 하이라이트 링크 */
.tel-link {
    display: inline-block;
    background-color: #e6f0fa;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.tel-link:hover {
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
}

/* 8. 작업 버튼 및 하단 정보 */
.back-action {
    text-align: center;
    margin-top: 40px;
}

.btn-back {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    color: #555555;
    font-size: 14px;
}

.btn-back:hover {
    background-color: #fafafa;
    color: #333333;
    text-decoration: none;
}

/* 9. 푸터 스타일 보완 */
footer {
    padding: 30px 0;
    font-size: 13px;
    color: #888888;
    background-color: #ffffff;
}

footer a {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    color: #666666;
}

