:root {
    --primary-color: #FF4B6E;
    --secondary-color: #6C63FF;
    --accent-color: #FFD93D;
    --gradient-1: linear-gradient(135deg, #FF4B6E, #FF8E53);
    --gradient-2: linear-gradient(135deg, #6C63FF, #4ECDC4);
    --text-color: #2D3436;
    --bg-color: #FFFFFF;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FAFAFA;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* 卡片样式 */
.card {
    background: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 75, 110, 0.3);
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* 游记卡片样式 */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.story-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* 目的地样式 */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background: var(--bg-color);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-content {
    padding: 2rem;
}

.destination-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 页脚样式 */
footer {
    background: var(--gradient-2);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.beian {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.beian:hover {
    color: white;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-link, .page-numbers a {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.page-numbers a.active {
    background: var(--gradient-1);
    color: white;
}

.page-link:hover, .page-numbers a:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .stories-grid, .destinations-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .footer-links, .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* 关于页面样式 */
.about-hero {
    height: 70vh;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/pattern.svg') center/cover;
    opacity: 0.1;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-image:hover img {
    transform: scale(1.1);
}

.about-content {
    max-width: 1000px;
    margin: -100px auto 0;
    padding: 3rem;
    background: var(--bg-color);
    border-radius: 30px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.about-story {
    text-align: center;
    margin-bottom: 4rem;
}

.about-story h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-story p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.travel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.stat-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

.featured-photos {
    margin: 4rem 0;
}

.featured-photos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.location {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-section {
    text-align: center;
    margin: 4rem 0 2rem;
    padding: 3rem;
    background: var(--gradient-1);
    border-radius: 30px;
    color: white;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-section .social-links {
    margin-top: 2rem;
}

.contact-section .social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1rem 2.5rem;
}

.contact-section .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .about-content {
        margin-top: -50px;
        padding: 2rem 1.5rem;
    }

    .about-story h2 {
        font-size: 2rem;
    }

    .travel-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-section {
        padding: 2rem 1.5rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }
}

/* 目的地详情页样式 */
.destination-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.destination-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.destination-title {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.destination-title h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.destination-info {
    display: flex;
    gap: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.destination-content {
    max-width: 1200px;
    margin: -3rem auto 0;
    padding: 3rem 2rem;
    background: var(--bg-color);
    border-radius: 30px 30px 0 0;
    position: relative;
}

.destination-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
}

.destination-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-item {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item ul {
    list-style: none;
}

.feature-item li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .destination-header {
        height: 50vh;
        padding-bottom: 2rem;
    }

    .destination-title h1 {
        font-size: 2.5rem;
    }

    .destination-info {
        flex-direction: column;
        gap: 1rem;
    }

    .destination-content {
        margin-top: -2rem;
        padding: 2rem 1.5rem;
    }
}

/* 游记详情页样式 */
.story-detail {
    margin-top: 60px;
}

.story-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.story-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.story-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.story-content-wrapper {
    max-width: 1200px;
    margin: -3rem auto 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    position: relative;
}

.story-main-content {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
}

.story-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.story-gallery img {
    width: 100%;
    border-radius: 15px;
    transition: var(--transition);
}

.story-gallery img:hover {
    transform: scale(1.05);
}

.story-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.author-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.author-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.btn-social {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 75, 110, 0.3);
}

.related-stories {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.related-story-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.related-story-item:hover {
    transform: translateX(10px);
}

.related-story-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .story-hero-content h1 {
        font-size: 2rem;
    }

    .story-content-wrapper {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .story-main-content {
        padding: 2rem 1.5rem;
    }

    .story-gallery {
        grid-template-columns: 1fr;
    }

    .story-sidebar {
        position: static;
    }
} 