/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a27;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #4caf50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4caf50;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4caf50;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4caf50 0%, #2d5a27 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.search-container {
    animation: fadeInUp 1s ease 0.4s both;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#searchInput {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #2d5a27;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filter-tag:hover,
.filter-tag.active {
    background: white;
    color: #4caf50;
}

/* Search Results Section */
.search-results {
    padding: 80px 0;
    background: #f8f9fa;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    font-size: 2.5rem;
    color: #333;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filters select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    font-size: 1rem;
    min-width: 150px;
}

.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.parks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.park-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.park-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.park-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #4caf50, #2d5a27);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.park-content {
    padding: 1.5rem;
}

.park-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.park-location {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.park-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.facility-tag {
    background: #e8f5e8;
    color: #4caf50;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.china-parks-section {
    background: #f5f9f5;
    padding: 4rem 0;
}

.china-parks-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.china-parks-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d5a27;
    margin-bottom: 0.75rem;
}

.china-parks-intro p {
    color: #55615a;
    line-height: 1.7;
    max-width: 600px;
}

.china-parks-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.china-parks-controls input,
.china-parks-controls select {
    padding: 0.75rem 1rem;
    border: 1px solid #d9e3d9;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    min-width: 220px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.china-parks-controls input:focus,
.china-parks-controls select:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.park-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.park-city-tag {
    background: #e0f2e9;
    color: #2d6a4f;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.park-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.park-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

.park-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.park-meta i {
    color: #4caf50;
}

.park-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.park-image span {
    font-size: 2.5rem;
    font-weight: 700;
}

.china-parks-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    color: #5f6b5f;
    text-align: center;
    margin-top: 2rem;
}

.china-parks-empty i {
    font-size: 2.5rem;
    color: #4caf50;
}

.park-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff9800;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.map-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 400px;
}

.map-search input {
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.map-search-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.map-search-btn:hover {
    background: #45a049;
}

.map-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.map-filters select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    background: white;
    font-size: 14px;
}

.map-btn {
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-btn:hover {
    background: #1976d2;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    height: 500px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 100%;
    border-radius: 15px 0 0 15px;
}

.map-info-panel {
    background: white;
    padding: 20px;
    border-left: 1px solid #eee;
    overflow-y: auto;
}

.map-info-panel h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.map-info-panel h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.map-info-panel p {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.map-info-panel button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s;
}

.map-info-panel button:hover {
    background: #45a049;
}

/* Map Info Window Styles */
.map-info-window {
    padding: 10px;
    max-width: 250px;
}

.map-info-window h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1rem;
}

.map-info-window p {
    margin: 5px 0;
    color: #666;
    font-size: 12px;
}

.map-info-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 8px;
    transition: background 0.3s;
}

.map-info-btn:hover {
    background: #45a049;
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container {
        grid-template-columns: 1fr;
        height: 400px;
    }
    
    .map-info-panel {
        border-left: none;
        border-top: 1px solid #eee;
        max-height: 200px;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .map-search {
        max-width: none;
    }
    
    .map-filters {
        justify-content: center;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.features {
    display: grid;
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8f5e8;
}

.faq-question i {
    color: #4caf50;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: none;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2d5a27;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #4caf50;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4caf50;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.park-detail {
    padding: 2rem;
}

.park-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.park-detail-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #4caf50, #2d5a27);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.park-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.park-detail-info .location {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.park-detail-info .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff9800;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.park-detail-info .hours {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.park-detail-info .hours h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.park-detail-info .hours p {
    color: #666;
    margin-bottom: 0.25rem;
}

.park-detail-facilities {
    margin-bottom: 2rem;
}

.park-detail-facilities h3 {
    margin-bottom: 1rem;
    color: #333;
}

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

.facility-item {
    background: #e8f5e8;
    color: #4caf50;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.park-detail-reviews h3 {
    margin-bottom: 1rem;
    color: #333;
}

.review {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 600;
    color: #333;
}

.review-rating {
    color: #ff9800;
}

.review-text {
    color: #666;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cities Page Styles */
.cities-hero {
    background: linear-gradient(135deg, #2d5a27 0%, #4caf50 100%);
}

.cities-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.cities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.cities-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

.cities-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4caf50;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cities-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.cities-filters select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    font-size: 1rem;
    min-width: 150px;
}

.sort-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.sort-btn.active,
.sort-btn:hover {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.city-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.city-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #4caf50, #2d5a27);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.city-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.city-content {
    padding: 1.5rem;
}

.city-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.city-country {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.city-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.city-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-weight: 500;
}

.city-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.city-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* City Modal Styles */
.city-modal-content {
    max-width: 900px;
    width: 95%;
}

.city-detail {
    padding: 2rem;
}

.city-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.city-detail-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #4caf50, #2d5a27);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.city-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.city-location {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.city-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.city-detail-stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4caf50;
}

.city-detail-description,
.city-detail-parks,
.city-detail-facilities {
    margin-bottom: 2rem;
}

.city-detail-description h3,
.city-detail-parks h3,
.city-detail-facilities h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.city-detail-description p {
    color: #666;
    line-height: 1.6;
}

.parks-list {
    list-style: none;
    padding: 0;
}

.parks-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
}

.parks-list li:last-child {
    border-bottom: none;
}

.parks-list li i {
    color: #4caf50;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.city-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

.action-btn.primary {
    background: #4caf50;
    color: white;
}

.action-btn.primary:hover {
    background: #2d5a27;
}

.action-btn.secondary {
    background: transparent;
    color: #4caf50;
    border: 2px solid #4caf50;
}

.action-btn.secondary:hover {
    background: #4caf50;
    color: white;
}

/* 中国城市页面专用样式 */
.chinese-cities-hero {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.chinese-cities-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.chinese-cities-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 城市卡片样式优化 */
.city-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.city-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.05);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
}

.city-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.city-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.city-info {
    padding: 1.5rem;
}

.city-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.3rem;
}

.city-region {
    color: #4caf50;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.city-population,
.city-parks {
    color: #666;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.city-facilities {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.facility-tag {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 城市详情模态框样式 */
.city-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.city-detail-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.city-detail-header h2 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.city-subtitle {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.city-description {
    margin-bottom: 2rem;
}

.city-description h3 {
    color: #333;
    margin-bottom: 1rem;
}

.city-description p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

.city-parks {
    margin-bottom: 2rem;
}

.city-parks h3 {
    color: #333;
    margin-bottom: 1rem;
}

.parks-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.park-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
}

.park-item i {
    color: #4caf50;
    font-size: 1.1rem;
}

.park-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.park-item-name {
    font-weight: 600;
    color: #333;
}

.park-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.park-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #666;
}

.park-meta-item i {
    color: #4caf50;
}

.city-facilities h3 {
    color: #333;
    margin-bottom: 1rem;
}

.facilities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #4caf50;
    color: white;
}

.btn-primary:hover {
    background: #2e7d32;
}

.btn-secondary {
    background: transparent;
    color: #4caf50;
    border: 2px solid #4caf50;
}

.btn-secondary:hover {
    background: #4caf50;
    color: white;
}

/* 地图信息面板样式 */
.map-info-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.map-info-content p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.city-parks-preview {
    margin-top: 1rem;
}

.city-parks-preview ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.city-parks-preview li {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.map-park-phone,
.map-park-address {
    display: block;
    font-size: 0.75rem;
    color: #7a827a;
    margin-top: 0.2rem;
}

.city-parks-list,
.city-facilities-list {
    margin-top: 1rem;
}

.city-parks-list h4,
.city-facilities-list h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.city-parks-list ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.city-parks-list li {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.facilities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .chinese-cities-hero h1 {
        font-size: 2rem;
    }
    
    .chinese-cities-hero p {
        font-size: 1rem;
    }
    
    .city-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .parks-list {
        grid-template-columns: 1fr;
    }
    
    .city-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .china-parks-header {
        flex-direction: column;
        align-items: stretch;
    }

    .china-parks-controls {
        width: 100%;
    }

    .china-parks-controls input,
    .china-parks-controls select {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .chinese-cities-hero {
        padding: 60px 0;
    }
    
    .chinese-cities-hero h1 {
        font-size: 1.8rem;
    }
    
    .city-stats {
        grid-template-columns: 1fr;
    }
    
    .city-facilities {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: 15px;
    }

    .search-box input,
    .search-btn {
        border-radius: 0;
    }

    .search-box input {
        border-radius: 15px 15px 0 0;
    }

    .search-btn {
        border-radius: 0 0 15px 15px;
    }

    .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .results-header h2 {
        font-size: 2rem;
    }

    .filters {
        justify-content: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .park-detail-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .park-detail-image {
        height: 200px;
    }

    .park-detail-info h1 {
        font-size: 2rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .filter-tags {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-tag {
        white-space: nowrap;
    }

    .park-card {
        margin: 0 10px;
    }
    
    /* Cities Page Mobile Styles */
    .cities-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cities-header h2 {
        font-size: 2rem;
    }
    
    .cities-stats {
        justify-content: center;
    }
    
    .cities-filters {
        justify-content: center;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .city-detail-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .city-detail-image {
        height: 200px;
    }
    
    .city-detail-info h1 {
        font-size: 2rem;
    }
    
    .city-detail-stats {
        grid-template-columns: 1fr;
    }
    
    .city-detail-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}
