* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 导航栏 ========== */
.navbar {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.nav-logo-text {
    display: inline;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ========== 英雄区 ========== */
.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 50%, #002171 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff6f00;
    color: white;
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,111,0,0.4);
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #bdbdbd;
}

.btn-danger {
    background: #e53935;
    color: white;
}

.btn-danger:hover {
    background: #c62828;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* ========== 通用区块 ========== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #1a237e;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.page-header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    text-align: center;
    padding: 60px 0 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
}

/* ========== 景点卡片网格 ========== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 24px;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-price {
    background: #fff3e0;
    color: #e65100;
}

.tag-duration {
    background: #e8f5e9;
    color: #2e7d32;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #1a237e;
}

.card-body p {
    color: #666;
    font-size: 0.95rem;
}

/* ========== 关于我们 ========== */
.about-section {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ========== 联系我们 ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: 1rem;
    color: #999;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.contact-form h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #1a237e;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-input:focus {
    outline: none;
    border-color: #1a73e8;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a237e;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin-bottom: 5px;
}

.footer-icp {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* ========== 响应式 ========== */
/* ========== 卡片链接 ========== */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ========== 景点详情页 ========== */
.detail-layout {
    max-width: 900px;
    margin: 0 auto;
}

.detail-hero {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.detail-body {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.detail-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e65100;
}

.detail-section {
    margin-bottom: 35px;
}

.detail-section h2 {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
}

.detail-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
}

.highlights-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
}

.highlight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.itinerary-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    line-height: 1.8;
    white-space: pre-wrap;
    color: #555;
}

.detail-fees {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.fee-section {
    padding: 20px;
    border-radius: 12px;
}

.fee-section.includes {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.fee-section.excludes {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
}

.fee-section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #333;
}

.fee-section ul {
    list-style: none;
    padding: 0;
}

.fee-section li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.detail-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn-lg {
    padding: 16px 50px;
    font-size: 1.1rem;
}

.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

/* ========== 关于我们页面 ========== */
.about-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
    margin-bottom: 50px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.values-section {
    text-align: center;
}

.values-section h2 {
    font-size: 1.8rem;
    color: #1a237e;
    margin-bottom: 35px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #0d47a1;
        flex-direction: column;
        padding: 10px;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        display: block;
        padding: 12px 18px;
    }

    .detail-hero {
        height: 250px;
    }

    .detail-body {
        padding: 20px;
    }

    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .detail-fees {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .highlights-list {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding: 20px;
    }
}
