/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 页眉样式 */
header {
    background: linear-gradient(135deg, #e53935 0%, #e35d5b 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    text-align: center;
    margin-bottom: 1rem;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.home-link {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 导航菜单 */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    margin: 0 0.3rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover, 
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 主内容区 */
main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 英雄区域 */
.hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h2 {
    font-size: 2.2rem;
    color: #e53935;
    margin-bottom: 1rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
}

/* 介绍部分 */
.intro, .cuisine-intro, .itinerary-intro, .contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.intro h2, .cuisine-intro h2, .itinerary-intro h2, .contact-intro h2 {
    color: #e53935;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.page-header h2 {
    font-size: 2.5rem;
    color: #e53935;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 卡片容器 */
.card-container, .food-container, .tips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    color: #e53935;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

/* 按钮样式 */
.btn, .submit-btn {
    display: inline-block;
    background: #e53935;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover, .submit-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

/* 景点部分 */
.attraction {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.attraction-content {
    flex: 1;
    min-width: 300px;
}

.attraction h3 {
    color: #e53935;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.attraction ul {
    list-style: none;
    margin-top: 1rem;
}

.attraction ul li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
}

.attraction ul li:last-child {
    border-bottom: none;
}

.attraction ul li strong {
    color: #333;
}

.attraction img {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* 美食部分 */
.food-category {
    margin-bottom: 3rem;
}

.food-category h3 {
    color: #e53935;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #e53935;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.food-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.food-item:hover {
    transform: translateY(-5px);
}

.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-item h4 {
    color: #e53935;
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.food-item p {
    color: #666;
    padding: 0 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.price-range {
    display: block;
    background: #f8f9fa;
    padding: 0.5rem;
    color: #e53935;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* 行程规划 */
.itinerary-plan {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.itinerary-plan h3 {
    color: #e53935;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e53935;
    padding-bottom: 0.5rem;
}

.day-plan {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.day-plan:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.day-plan h4 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.day-plan ul {
    list-style: none;
}

.day-plan ul li {
    padding: 0.3rem 0;
    color: #666;
}

/* 旅行贴士 */
.travel-tips {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.travel-tips h3 {
    color: #e53935;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tip-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.tip-item h4 {
    color: #e53935;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.tip-item p {
    color: #666;
    font-size: 0.9rem;
}

/* 联系页面布局 */
.contact-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-form-section, .contact-info {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form-section h3, .contact-info h3 {
    color: #e53935;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #e53935;
    padding-bottom: 0.5rem;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #e53935;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* 联系信息 */
.info-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item h4 {
    color: #e53935;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    line-height: 1.5;
}

/* 页脚样式 */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.image-credit {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.image-credit a {
    color: #e35d5b;
    text-decoration: none;
}

.image-credit a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.3rem 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .attraction, .contact-container {
        flex-direction: column;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .card, .food-item, .tip-item {
        max-width: 100%;
    }
    
    main {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .attraction, .contact-form-section, .contact-info {
        padding: 1rem;
    }
}