@charset "UTF-8";

/* 기본 스타일 초기화 및 베이스 설정 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #1e73be;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* 상단 헤더 */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .site-logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: #222222;
    letter-spacing: -0.05em;
}

/* 중앙 정렬용 레이아웃 컨테이너 */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 메인 비주얼 (Hero) 섹션 */
.hero-section {
    text-align: center;
    padding: 50px 0 30px;
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.hero-section p {
    font-size: 1.1rem;
    color: #666666;
}

/* 검색 및 필터 섹션 */
.search-section {
    background-color: #f9f9f9;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group:nth-child(2) {
    flex: 0 0 180px;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #1e73be;
}

.btn-submit {
    height: 48px;
    padding: 0 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #222222;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #444444;
}

/* 검색 요약 */
.list-summary {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444444;
}
.list-summary strong {
    color: #1e73be;
}

/* 대여소 결과 카드 그리드 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e1e4e6;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
}

/* 무료 / 유료 뱃지 */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.badge-free {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.badge-pay {
    background-color: #f5f5f5;
    color: #616161;
}

/* 카드 바디 및 내부 정보 리스트 */
.card-body .addr {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 12px;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
}

.info-list {
    list-style: none;
}

.info-list li {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 6px;
    display: flex;
    flex-direction: row;
}

.info-list li strong {
    color: #333333;
    min-width: 80px;
    flex-shrink: 0;
}

/* 알림 및 빈 결과 안내 */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.no-result {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888888;
    font-size: 1.1rem;
}

/* 하단 푸터 디자인 조정 */
footer {
    padding: 30px 0;
    background-color: #ffffff;
    color: #888888;
    font-size: 0.85rem;
}

footer a {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    color: #666666;
    font-weight: 600;
}

/* 모바일 대응 반응형 브레이크포인트 */
@media (max-width: 600px) {
    .search-form {
        flex-direction: column;
    }
    .form-group:nth-child(2) {
        flex: none;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

/* 지역 선택 섹션 관련 디자인 */
.region-selector-section {
    background-color: #ffffff;
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

/* 시도 대분류 가로 정렬형 버튼 리스트 */
.sido-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.btn-sido {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444444;
    background-color: #f5f6f7;
    border: 1px solid #e1e4e6;
    border-radius: 30px;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-sido:hover {
    background-color: #eef0f2;
    text-decoration: none;
    color: #111111;
}

.btn-sido.active {
    background-color: #222222;
    color: #ffffff;
    border-color: #222222;
    font-weight: 600;
}

/* 시군구 박스 영역 */
.sigungu-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px dashed #d1d5db;
}

.sigungu-box h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555555;
    margin-bottom: 12px;
}

.sigungu-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.btn-sigungu {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #555555;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.btn-sigungu:hover {
    border-color: #888888;
    color: #222222;
    text-decoration: none;
}

.btn-sigungu.active {
    background-color: #1e73be;
    color: #ffffff;
    border-color: #1e73be;
    font-weight: 600;
}

/* 최초 진입 안내 문구 박스 */
.welcome-box {
    text-align: center;
    padding: 80px 20px;
    border: 2px dashed #e1e4e6;
    border-radius: 12px;
    color: #777777;
    font-size: 1.05rem;
    background-color: #fafafa;
}

.seo-subtext {
    font-size: 1.05rem;
    color: #666666;
    margin-top: 5px;
}

/* 돌아가기 네비게이션 버튼 스타일 */
.btn-back-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-back-home:hover {
    background-color: #f5f6f7;
    border-color: #888888;
    color: #111111;
    text-decoration: none;
}

/* 지도보기 버튼 스타일 */
.btn-map {
    display: block;
    text-align: center;
    padding: 10px 15px;
    background-color: #ffffff;
    color: #2e7d32; /* 가독성 좋은 초록 계열 */
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-map:hover {
    background-color: #e8f5e9;
    border-color: #2e7d32;
    color: #1b5e20;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.1);
}


