:root {
    --primary-color: #e65c41;
    --primary-light: #ff7a61;
    --primary-dark: #c23d28;
    --secondary-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --background: #f4f5f7;
    --white: #ffffff;
}

/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    background: var(--background);
    color: var(--text-color);
}

/* 导航栏样式 */
.nav-bar {
    background: rgba(230, 92, 65, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-bar:hover {
    background: rgba(230, 92, 65, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 页面标题 */
header h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 2rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 景点网格 */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 景点卡片 */
.attraction-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.attraction-card a {
    text-decoration: none;
    color: inherit;
}

.attraction-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-image {
    transform: scale(1.05);
}

.attraction-info {
    padding: 1.8rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,1));
}

.attraction-name {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.attraction-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    padding: 3rem 0;
    margin-top: 4rem;
    color: var(--white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.footer-content p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    header h1 {
        font-size: 2rem;
        margin: 1.5rem 0;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .attraction-image {
        height: 250px;
    }
    
    .attraction-info {
        padding: 1.5rem;
    }
    
    .attraction-name {
        font-size: 1.4rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.attraction-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.attraction-card:nth-child(2) { animation-delay: 0.2s; }
.attraction-card:nth-child(3) { animation-delay: 0.4s; }
.attraction-card:nth-child(4) { animation-delay: 0.6s; }
.attraction-card:nth-child(5) { animation-delay: 0.8s; }

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
} 