* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #2c5f7c 0%, #1a3d54 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.hero {
    margin-top: 80px;
    background: linear-gradient(rgba(44, 95, 124, 0.8), rgba(26, 61, 84, 0.8)), 
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Zhoukou%20cultural%20heritage%20traditional%20Chinese%20architecture%20scenic%20spot&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ffd700;
    color: #1a3d54;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: #2c5f7c;
    margin-bottom: 0.5rem;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5f7c, #ffd700);
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 2rem;
    color: #2c5f7c;
    margin-bottom: 1rem;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c5f7c;
}

.stat-item .label {
    color: #666;
    margin-top: 0.5rem;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    color: #2c5f7c;
    margin-bottom: 0.5rem;
}

.featured-content .category {
    display: inline-block;
    background: #e8f4f8;
    color: #2c5f7c;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.featured-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-content .read-more {
    color: #2c5f7c;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.featured-content .read-more:hover {
    color: #1a3d54;
}

footer {
    background: #1a3d54;
    color: white;
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2c5f7c 0%, #1a3d54 100%);
    color: white;
}

.category-card i {
    font-size: 3rem;
    color: #2c5f7c;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.category-card:hover i {
    color: #ffd700;
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-card .count {
    color: #666;
    font-size: 0.9rem;
}

.category-card:hover .count {
    color: rgba(255, 255, 255, 0.8);
}

.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.region-tab {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.region-tab:hover {
    border-color: #2c5f7c;
    color: #2c5f7c;
}

.region-tab.active {
    background: linear-gradient(135deg, #2c5f7c 0%, #1a3d54 100%);
    color: white;
    border-color: #2c5f7c;
}

.detail-header {
    background: linear-gradient(135deg, #2c5f7c 0%, #1a3d54 100%);
    color: white;
    padding: 2rem;
    margin-top: 80px;
}

.detail-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.detail-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 2rem;
}

.detail-sidebar {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.detail-sidebar h3 {
    color: #2c5f7c;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8f4f8;
}

.detail-sidebar ul {
    list-style: none;
}

.detail-sidebar ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-sidebar ul li:last-child {
    border-bottom: none;
}

.detail-main {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.detail-main h3 {
    color: #2c5f7c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-main p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.detail-main img {
    width: 100%;
    border-radius: 10px;
    margin: 1rem 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery img {
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #2c5f7c;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: #1a3d54;
}

.hero .back-link {
    color: white;
    opacity: 0.9;
}

.hero .back-link:hover {
    opacity: 1;
    color: #ffd700;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #2c5f7c 0%, #1a3d54 100%);
        padding: 1rem;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-header h1 {
        font-size: 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .featured-list {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}