:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333333;
    --light-text: #777777;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.search-form {
    display: flex;
    background: #f1f3f5;
    border-radius: 25px;
    padding: 5px 15px;
    width: 300px;
}

.search-form input {
    border: none;
    background: transparent;
    padding: 8px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.search-form button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--secondary-color);
}

main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    padding-bottom: 40px;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    color: var(--light-text);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 상세 페이지 */
.detail-header {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.detail-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.info-label {
    font-size: 13px;
    color: var(--light-text);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    color: var(--text-color);
    word-break: keep-all;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 16px;
}

.review-title a {
    color: var(--text-color);
}

.review-title a:hover {
    color: var(--primary-color);
}

.review-content {
    font-size: 14px;
    color: #555;
}

footer {
    background: #333;
    color: #fff;
    padding: 50px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    margin: 0 10px;
    color: #bbb;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .search-form {
        width: 100%;
        margin-top: 10px;
    }

    header .container {
        flex-direction: column;
    }

    .detail-container {
        flex-direction: column;
    }

    .detail-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px auto;
    flex-wrap: wrap;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.pg-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.pg-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.site-link {
    display: inline-block;
    padding: 8px 15px;
    background: #e9ecef;
    border-radius: 6px;
    font-size: 13px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.site-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.action-btns {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 16px;
    cursor: pointer;
}

.btn-map {
    background: #6c757d;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
