
/* main.css */
body { 
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f4f7f9; 
    color: #333; 
    line-height: 1.6;
}

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

/* Header */
header { 
    background: #0046ff; 
    color: white; 
    padding: 1.5rem 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 { 
    margin: 0; 
    font-size: 1.8rem; 
    font-weight: 800;
    letter-spacing: -0.02em;
}

header a { 
    color: white; 
    text-decoration: none; 
}

/* Hero Section */
.hero { 
    text-align: center; 
    padding: 60px 20px; 
    background: #fff; 
    margin: 30px 0; 
    border-radius: 16px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); 
}

.hero h1 { 
    font-size: 2rem; 
    margin-bottom: 15px; 
    color: #111;
}

.hero p { 
    font-size: 1.1rem; 
    color: #666;
}

/* Region List */
.region-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 25px; 
    margin-bottom: 50px;
}

.sido-card { 
    background: white; 
    padding: 24px; 
    border-radius: 16px; 
    border: 1px solid #eef2f6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sido-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.sido-card h4 { 
    margin-top: 0; 
    margin-bottom: 15px;
    color: #0046ff; 
    font-size: 1.25rem;
    border-bottom: 2px solid #f0f4f8; 
    padding-bottom: 10px; 
}

.sido-card ul { 
    list-style: none; 
    padding: 0; 
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sido-card li { 
    margin: 0; 
}

.sido-card a { 
    display: inline-block;
    padding: 6px 12px;
    background: #f0f4f8;
    border-radius: 8px;
    text-decoration: none; 
    color: #4a5568; 
    font-size: 0.9rem;
    transition: background 0.2s;
}

.sido-card a:hover { 
    background: #0046ff; 
    color: white; 
}

/* Footer */
footer { 
    background: #fff;
    text-align: center; 
    padding: 40px 0; 
    color: #888; 
    font-size: 0.9rem; 
    border-top: 1px solid #eee; 
    margin-top: 60px; 
}

footer p { margin: 5px 0; }

/* 지역화폐 리스트 페이지 스타일 */
.seo-title { font-size: 1.5rem; color: #111; margin: 25px 0; font-weight: 800; line-height: 1.4; }
.category-selection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.cat-card { background: #fff; border: 1px solid #eee; padding: 15px 5px; text-align: center; border-radius: 10px; text-decoration: none; color: #444; font-size: 0.95rem; font-weight: 500; transition: 0.2s; }
.cat-card:hover { border-color: #0046ff; color: #0046ff; background: #f0f4ff; }
.btn-back { font-size: 0.9rem; color: #0046ff; text-decoration: none; font-weight: 600; }
.merchant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 15px; }
.merchant-card { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #eef2f6; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.m-status-active { font-size: 0.7rem; display: inline-block; padding: 2px 6px; border-radius: 4px; background: #e6f7ff; color: #0046ff; margin-bottom: 8px; font-weight: bold; }
.m-name { font-size: 1.15rem; font-weight: 700; color: #111; margin-bottom: 5px; }
.m-type { font-size: 0.8rem; color: #888; margin-bottom: 10px; }

/* 지도 박스 스타일 */
#map-box { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
    border: 1px dashed #ccc; 
    padding: 15px;
    margin: 10px 0;
    background: #fafafa;
    border-radius: 8px;
}
.btn-map {
    display: inline-block;
    background-color: #fee500; /* 카카오 노란색 */
    color: #3c1e1e;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 10px;
    transition: background 0.2s;
}
.btn-map:hover { background-color: #fada00; }

.m-addr { font-size: 0.85rem; color: #555; text-align: center; line-height: 1.5; margin: 0; }
.m-tel { margin-top: 15px; text-align: center; border-top: 1px solid #f0f0f0; padding-top: 10px; }
.m-tel a { color: #0046ff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.no-data { padding: 50px 0; text-align: center; color: #999; }

/* 로고 스타일 (h1에서 div로 바꿨을 때 기존 느낌 유지) */
.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    /* 기존 h1 스타일 복사 */
}

/* 본문 h1 스타일 조정 */
.seo-title {
    font-size: 1.25rem; /* 너무 크지 않게 적당히 조절 */
    margin: 10px 0;
    color: #333;
}