/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4500;
    --secondary-color: #ff6b35;
    --accent-color: #ff8c5a;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-white: #121212;
    --bg-card: #1e1e1e;
    --border-color: #333333;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

/* 헤더 */
.header {
    background: var(--bg-card);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo p {
    font-size: 12px;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 네비게이션 */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 70px;
    z-index: 999;
}

.nav-menu {
    display: flex;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(255, 69, 0, 0.1);
}

/* 히어로 섹션 */
.hero {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid var(--border-color);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: 16px;
    opacity: 0.95;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

/* 섹션 공통 */
section {
    padding: 40px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-align: center;
}

/* 빠른 찾기 */
.quick-search {
    background: var(--bg-white);
}

.quick-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.quick-search-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.quick-search-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--bg-light);
}

.quick-search-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quick-search-item span {
    font-weight: 600;
    font-size: 16px;
}

/* 베스트 섹션 */
.best-section {
    background: var(--bg-light);
}

.best-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.best-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.best-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.best-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.best-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.best-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.best-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #F59E0B;
    font-weight: 600;
}

/* 지역별 섹션 */
.region-section {
    background: var(--bg-white);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.region-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: var(--shadow);
}

.region-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.region-icon {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.9;
}

.region-card h4 {
    font-size: 24px;
    margin-bottom: 8px;
}

.region-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* 종류별 섹션 */
.type-section {
    background: var(--bg-light);
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.type-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.type-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.type-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.type-card h4 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

/* 지역 페이지 스타일 */
.page-header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

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

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 30px 0;
}

.district-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.district-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.district-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.district-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 푸터 */
.footer {
    background: var(--bg-card);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* 사이드 메뉴 */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.side-menu-header h3 {
    font-size: 20px;
    color: var(--text-dark);
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.btn-close:hover {
    color: var(--primary-color);
}

.side-menu-list {
    list-style: none;
    padding: 0;
}

.side-menu-list li {
    border-bottom: 1px solid var(--border-color);
}

.side-menu-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-light);
    transition: background 0.3s, color 0.3s;
}

.side-menu-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 상세 정보 섹션 */
.content-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.content-wrapper h2 {
    font-size: 26px;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.content-wrapper h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-wrapper h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-wrapper strong {
    color: var(--primary-color);
    font-weight: 600;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-wrapper ul li,
.content-wrapper ol li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
}

.content-wrapper ol li {
    margin-bottom: 15px;
}

.content-wrapper hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 40px 0;
}

.hashtags {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.hashtags p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    word-break: break-all;
}

/* 콘텐츠 이미지 스타일 - 모든 이미지 크기 통일 */
.content-image {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.content-image img {
    width: 100%;
    max-width: 800px;
    min-width: 600px;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* 반응형 */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .best-grid,
    .region-grid {
        grid-template-columns: 1fr;
    }

    .quick-search-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .district-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero {
        height: 250px;
    }

    .quick-search-grid {
        grid-template-columns: 1fr;
    }

    .district-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper h1 {
        font-size: 24px;
    }

    .content-wrapper h2 {
        font-size: 22px;
    }

    .content-wrapper h3 {
        font-size: 20px;
    }

    .content-wrapper p,
    .content-wrapper ul li,
    .content-wrapper ol li {
        font-size: 15px;
    }

    .content-image img {
        max-width: 100%;
        min-width: 100%;
        min-height: 300px;
    }
}

/* 고정 네비게이션바 */
.fixed-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    padding: 10px 0;
}

.fixed-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.fixed-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    text-decoration: none;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
    min-width: 120px;
    border: 1px solid var(--border-color);
}

.fixed-nav-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.fixed-nav-item span {
    font-size: 14px;
    font-weight: 500;
}

.fixed-nav-item:hover {
    background: rgba(255, 69, 0, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.fixed-nav-phone {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
}

.fixed-nav-phone:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .fixed-nav-container {
        gap: 10px;
        padding: 0 10px;
    }

    .fixed-nav-item {
        padding: 10px 20px;
        min-width: 100px;
    }

    .fixed-nav-item i {
        font-size: 20px;
    }

    .fixed-nav-item span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fixed-nav-item {
        padding: 8px 15px;
        min-width: 80px;
    }

    .fixed-nav-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .fixed-nav-item span {
        font-size: 11px;
    }
}

