/* 秦皇岛旅游网站样式 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    color: #004499;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    background: #1a5fb4;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand a {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    font-size: 16px;
}

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

/* Main */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    color: white;
    padding: 80px 40px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background: #ffd700;
    color: #1a5fb4;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
}

.hero-btn:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

/* Quick Info */
.quick-info {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 40px;
}

.info-card h3 {
    margin: 15px 0 10px;
    color: #1a5fb4;
}

/* Section Titles */
section h2 {
    font-size: 28px;
    color: #1a5fb4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffd700;
}

/* Featured Attractions */
.featured-section {
    margin-bottom: 40px;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.attraction-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.attraction-image {
    height: 200px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attraction-info {
    padding: 20px;
}

.attraction-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.attraction-location {
    color: #666;
    font-size: 14px;
}

.attraction-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
}

.rating {
    color: #ffa500;
}

.price {
    color: #28a745;
}

.section-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
}

/* Routes Section */
.routes-section {
    margin-bottom: 40px;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.route-card h3 {
    color: #1a5fb4;
    margin-bottom: 10px;
}

.route-card p {
    color: #666;
    margin-bottom: 15px;
}

.route-duration {
    background: #e8f4f8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* Food Section */
.food-section {
    margin-bottom: 40px;
}

.section-desc {
    color: #666;
    margin-bottom: 20px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.food-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.food-card h3 {
    margin-bottom: 10px;
}

/* Season Section */
.season-section {
    margin-bottom: 40px;
}

.season-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.season-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.season-card h3 {
    color: #1a5fb4;
    margin-bottom: 10px;
}

.season-card .recommend {
    background: #28a745;
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.season-card.summer {
    border: 2px solid #ffd700;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 40px;
}

.faq-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #1a5fb4;
    margin-bottom: 8px;
}

.faq-item p {
    color: #666;
}

/* Tips Section */
.tips-section {
    margin-bottom: 40px;
}

.tips-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
    list-style: none;
}

.tips-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #0066cc;
}

/* Attraction Detail Page */
.attraction-header {
    margin-bottom: 30px;
}

.attraction-header h1 {
    font-size: 32px;
    color: #1a5fb4;
}

.attraction-meta-header {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 16px;
}

.attraction-image-main {
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.image-gallery img {
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.attraction-quick-info {
    margin-bottom: 30px;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    width: 150px;
    color: #666;
}

.info-value {
    color: #333;
}

.attraction-description,
.traffic-guide,
.play-guide,
.nearby-section,
.nearby-food,
.reviews-section,
.related-routes {
    margin-bottom: 30px;
}

.attraction-description,
.traffic-guide,
.play-guide {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.highlight-box {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.highlight-box h3 {
    color: #1a5fb4;
    margin-bottom: 10px;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    padding: 5px 0;
}

.traffic-content,
.guide-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.traffic-item,
.guide-item {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.traffic-item h3,
.guide-item h3 {
    margin-bottom: 10px;
}

.map-placeholder {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.nearby-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.nearby-card h3 {
    color: #1a5fb4;
    margin-bottom: 5px;
}

.reviews-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.review-header {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.review-rating {
    color: #ffa500;
}

.review-date {
    color: #999;
}

.route-links {
    background: white;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
}

.route-links a {
    background: #e8f4f8;
    padding: 15px 25px;
    border-radius: 8px;
}

/* CTA Section */
.cta-section {
    margin-bottom: 40px;
}

.cta-box {
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.cta-box h2 {
    color: white;
    border-bottom: none;
}

.cta-btn {
    display: inline-block;
    background: #ffd700;
    color: #1a5fb4;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #1a5fb4;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
}

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

.footer-section a {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .info-grid,
    .attraction-grid,
    .route-grid,
    .food-grid,
    .season-grid,
    .traffic-content,
    .guide-content,
    .nearby-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .attraction-header h1 {
        font-size: 24px;
    }
    
    .main-image {
        height: 250px;
    }
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

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

/* Food Intro */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.intro-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.intro-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a5fb4;
}

/* Restaurants Section */
.restaurants-section {
    margin-bottom: 40px;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.restaurant-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.restaurant-header h3 {
    font-size: 18px;
    color: #333;
}

.area-tag {
    background: #3584e4;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.restaurant-info .description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.meta-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-info .rating {
    color: #ffd700;
}

.meta-info .price {
    color: #666;
}

.specialties {
    margin-bottom: 15px;
}

.specialties .tag {
    display: inline-block;
    background: #f0f7ff;
    color: #1a5fb4;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 8px;
}

.address, .hours {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Routes Grid */
.routes-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.route-card-large {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.route-header h2 {
    font-size: 22px;
    color: #1a5fb4;
}

.duration-tag {
    background: #ffd700;
    color: #333;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.route-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.highlights {
    margin-bottom: 20px;
}

.highlight-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 5px;
}

.schedule {
    margin-bottom: 20px;
}

.schedule h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.day-col {
    width: 80px;
    color: #1a5fb4;
    font-weight: bold;
}

.time-col {
    width: 100px;
    color: #666;
}

.activity-col {
    color: #333;
}

.route-tips {
    background: #fff8e1;
    padding: 15px;
    border-radius: 8px;
}

.route-tips ul {
    margin-left: 20px;
    margin-top: 10px;
}

.route-tips li {
    color: #666;
    margin-bottom: 5px;
}

/* Comparison Table */
.route-comparison {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.route-comparison h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

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

/* Food Tips */
.food-tips {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.food-tips h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
    
    .route-header {
        flex-direction: column;
        gap: 10px;
    }
}