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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

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

header {
    text-align: center;
    padding: 40px 0;
}

header h1 {
    color: #333;
    font-size: 2.5em;
}

.search-section {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.search-section.with-background {
    background-image: url('/images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    margin: 20px 0;
}

.hero-header {
    background-image: url('/images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    position: relative;
    margin: -20px -20px 20px -20px; /* 抵消 container 的 padding */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* 添加暗色遮罩使文字更清晰 */
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.hero-header h1 {
    color: white;
    font-size: 2.8em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    max-width: 600px;
}

#location-input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

#search-btn {
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#search-btn:hover {
    background-color: #0056b3;
}

.results-section {
    margin: 40px 0;
}

.results-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#map {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    margin-bottom: 20px;
    border-radius: 8px;
}

.popular-cities {
    margin-top: 40px;
}

.popular-cities h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.city-item {
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.city-info {
    padding: 15px;
}

.city-info h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #333;
}

.city-info p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #666;
}

.popular-cities h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.login-btn {
    background: #007bff;
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background: #0056b3;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a7b6c2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #a7b6c2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* 在移动端需要添加汉堡菜单 */
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Search Results Styles */
.search-results-header {
    background: white;
    padding: 20px;
    margin: -20px -20px 20px -20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box-container {
    max-width: 600px;
    margin: 0 auto 20px;
}

.results-info {
    text-align: center;
    margin-bottom: 20px;
}

.results-info h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 5px;
}

.results-info p {
    color: #666;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.results-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.shop-card {
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.shop-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.shop-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-info h2 {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

.address {
    color: #666;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.stars {
    color: #ffc107;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.review-count {
    color: #666;
    font-size: 0.85em;
}

.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.status-badge.open {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.status-badge.closed {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .results-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }

    .shop-card {
        flex-direction: column;
    }

    .shop-image {
        width: 100%;
    }

    .shop-info {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .results-list {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-btn:hover:not(.active) {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .results-layout {
        grid-template-columns: 1fr;
    }

    .map-container {
        display: none; /* 在移动端可以添加一个按钮来显示/隐藏地图 */
    }
}

@media (max-width: 768px) {
    .shop-card {
        flex-direction: column;
    }

    .shop-image {
        width: 100%;
        height: 200px;
    }
}

/* 搜索结果页的 hero header 样式 */
.search-results .hero-header {
    min-height: 300px; /* 比首页的header矮一些 */
    background-image: url('/images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin: -20px -20px 20px -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.search-results .hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.search-results .header-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.search-results .results-info {
    text-align: center;
   
}

.search-results .results-info h1 {
    color: white;
    font-size: 2.4em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.search-results .results-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.search-results .filter-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.search-results .filter-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.search-results .filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-results .filter-btn.active {
    background: #007bff;
    border-color: #007bff;
}

/* 调整搜索框样式以适应背景图 */
.search-results .search-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-results .hero-header {
        min-height: 250px;
        padding: 30px 15px;
    }

    .search-results .results-info h1 {
        font-size: 2em;
    }

    .search-results .filter-options {
        flex-wrap: wrap;
    }
}

/* City Detail Styles */
.city-detail {
    padding:  0;
}

.breadcrumb {
    
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.city-detail-header {
    text-align: center;
    
}

.city-detail-header h1 {
    font-size: 2.5em;
    color: #333;
}

.city-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 30px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.4em;
    font-weight: bold;
    color: #007bff;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.city-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: #666;
    line-height: 1.6;
}

.city-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.city-filters .filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-filters .filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.city-filters .filter-btn:hover:not(.active) {
    background: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .city-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .city-detail-header h1 {
        font-size: 2em;
    }

    .stat-number {
        font-size: 2em;
    }
}

/* SEO Content Styles */
.seo-content {
    margin: 60px auto;
    padding: 20px;
    max-width: 1200px;
    background: #f8f9fa;  /* 添加整体背景色 */
}

.seo-section {
    margin-bottom: 40px;
    padding: 40px;
    background: #fff;  /* 添加白色背景 */
    border-radius: 12px;
    text-align: left;  /* 改为左对齐 */
}

/* 标题样式 */
.seo-section h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;  /* 只让标题居中 */
}

/* 文本样式 */
.seo-section p {
    color: #546e7a;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1em;
    max-width: 800px;  /* 限制文本宽度 */
    margin-left: auto;
    margin-right: auto;
}

/* 列表样式 */
.seo-section ul {
    list-style: none;
    padding: 0;
    margin: 15px auto;
    max-width: 800px;
}

.seo-section ul li {
    color: #546e7a;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1em;
}

.seo-section ul li::before {
    content: '•';
    color: #00bcd4;
    position: absolute;
    left: 0;
}

/* 移除渐变背景 */
.seo-section:nth-child(n) {
    background: #fff;  /* 所有section使用白色背景 */
}

/* 步骤标题样式 */
.seo-section h3 {
    color: #34495e;
    font-size: 1.4em;
    margin: 25px auto 15px;
    font-weight: 500;
    max-width: 800px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .seo-content {
        padding: 15px;
    }
    
    .seo-section {
        padding: 20px;
    }

    .seo-section h2 {
        font-size: 1.8em;
    }
}

/* 价格表格样式 */
.price-table {
    width: 100%;
    max-width: 800px; /* 限制最大宽度 */
    border-collapse: collapse;
    margin: 20px auto; /* 居中显示 */
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 0.95em; /* 稍微减小字体 */
    margin-left: auto;
    margin-right: auto;
}

.price-table th, 
.price-table td {
    padding: 12px 15px; /* 减小内边距 */
    text-align: left;
    border: 1px solid #e0e0e0;
}

.price-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 0.9em; /* 标题字体稍小 */
}

.price-table td {
    color: #666;
}

.price-table tr:nth-child(even) {
    background: #fafafa; /* 添加条纹效果 */
}

.price-table tr:hover {
    background: #f8f9fa;
}

.price-note {
    font-size: 0.85em; /* 注释文字更小 */
    color: #888;
    text-align: center;
    margin-top: 10px;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .price-table {
        font-size: 0.9em; /* 移动端更小字体 */
    }
    
    .price-table th, 
    .price-table td {
        padding: 10px; /* 移动端更小内边距 */
    }
}

/* FAQ 样式 */
.seo-section:nth-child(2) {  /* FAQ section */
    background: linear-gradient(to right, #fff7f7, #fff0f0);
}

.seo-section:nth-child(2) h2 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

/* FAQ 问题样式 */
.seo-section:nth-child(2) h3 {
    color: #2c3e50;
    font-size: 1.3em;
    margin: 30px 0 15px;
    padding-left: 35px;
    position: relative;
    cursor: pointer;
}

/* FAQ 问题前的数字 */
.seo-section:nth-child(2) h3::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    color: #00bcd4;
    font-weight: 600;
    font-size: 1.2em;
}

/* FAQ 答案样式 */
.seo-section:nth-child(2) p {
    color: #546e7a;
    line-height: 1.8;
    margin: 0 0 25px 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 1.1em;
}

/* 最后一个答案不需要底部边框 */
.seo-section:nth-child(2) p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* FAQ 容器样式 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .seo-section:nth-child(2) h2 {
        font-size: 1.8em;
    }

    .seo-section:nth-child(2) h3 {
        font-size: 1.2em;
        padding-left: 30px;
    }

    .seo-section:nth-child(2) p {
        margin-left: 30px;
        font-size: 1em;
    }
}

/* Feature 样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease;
}

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

/* Feature 图标样式 */
.feature-icon {
    width: 48px;
    height: 48px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #00bcd4;
}

/* Feature 文本样式 */
.feature-item h3 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-item p {
    color: #546e7a;
    line-height: 1.6;
    font-size: 1em;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Start for Free 按钮样式 */
.start-free-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2em;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.start-free-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .start-free-btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

/* 城市列表样式 */
.city-list-section {
    margin: 40px auto;
    max-width: 1200px;
}

.city-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.city-list-item {
    border-bottom: 1px solid #eee;
}

.city-list-item a {
    text-decoration: none;
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: all 0.3s ease;
}

.city-list-item a:hover {
    background: #f8f9fa;
}

.city-list-item .city-name {
    font-size: 1em;
    font-weight: 500;
}

.city-list-item .price {
    color: #666;
    font-size: 0.9em;
}

.city-list-item .arrow-icon {
    color: #999;
    font-size: 1.2em;
    margin-left: 5px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .city-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .city-list-grid {
        grid-template-columns: 1fr;
    }
    
    .city-list-item a {
        padding: 12px 8px;
    }
    
    .city-list-item .city-name {
        font-size: 0.95em;
    }
    
    .city-list-item .price {
        font-size: 0.85em;
    }
}

/* 语言切换器样式 */
.language-dropdown {
    position: relative;
    margin-left: auto;
}

.language-btn {
    background: transparent;
    color: #333;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.language-btn:hover {
    background: #f5f5f5;
}

.language-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 140px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
}

.language-list.show {
    display: block;
}

.language-list a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.language-list a:last-child {
    border-bottom: none;
}

.language-list a:hover {
    background: #f5f5f5;
}

.language-list a.active {
    background: #e8f0fe;
    color: #1a73e8;
}

.language-name {
    font-weight: 500;
}

.language-native {
    font-size: 0.85em;
    color: #666;
} 