* {
    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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部封面 */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(144, 238, 144, 0.6), 
        rgba(255, 182, 193, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #4CAF50, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 添加装饰元素 */
.hero-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.leaf-1 {
    top: 10%;
    left: 10%;
    width: 50px;
    height: 50px;
    background: url('leaf.png');
    animation-delay: 0s;
}

.leaf-2 {
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: url('leaf.png');
    animation-delay: 1s;
}

.flower-1 {
    bottom: 15%;
    left: 20%;
    width: 30px;
    height: 30px;
    background: url('flower.png');
    animation-delay: 2s;
}

/* 添加动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* 添加滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-hint i {
    font-size: 2rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 简介部分 */
.intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7f0, #fff5f6);
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(144,238,144,0.1) 0%, transparent 70%);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* 景点卡片 */
.scenic-spots {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* 第一排：断桥残雪视频 */
.spots-grid .spot-card:first-child {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

/* 第二排：两个景点 */
.spots-grid .spot-card:nth-child(2),
.spots-grid .spot-card:nth-child(3) {
    grid-column: span 2;
}

/* 第三排：四个景点 */
.spots-grid .spot-card:nth-child(4),
.spots-grid .spot-card:nth-child(5),
.spots-grid .spot-card:nth-child(6),
.spots-grid .spot-card:nth-child(7) {
    grid-column: span 1;
}

/* 第四排：三个景点 */
.spots-grid .spot-card:nth-child(8),
.spots-grid .spot-card:nth-child(9),
.spots-grid .spot-card:nth-child(10) {
    grid-column: span 1;
    width: calc(100% - 30px);
    margin: 0 15px;
    transform: scale(1.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 调整第四排卡片位置 */
.spots-grid .spot-card:nth-child(8) {
    grid-column: 1 / 2;
    margin-left: auto;        /* 右对齐 */
    margin-right: 20px;       /* 与中间卡片的间距 */
}

.spots-grid .spot-card:nth-child(9) {
    grid-column: 2 / 3;
    margin: 0 20px;           /* 两侧均匀间距 */
}

.spots-grid .spot-card:nth-child(10) {
    grid-column: 3 / 4;
    margin-left: 20px;        /* 与中间卡片的间距 */
    margin-right: auto;       /* 左对齐 */
}

/* 第四排特殊样式 */
.spots-grid .spot-card:nth-child(8),
.spots-grid .spot-card:nth-child(9),
.spots-grid .spot-card:nth-child(10) {
    transform: scale(1.05);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: calc(100% - 80px);  /* 进一步减小卡片宽度 */
}

.spots-grid .spot-card:nth-child(8) .spot-image,
.spots-grid .spot-card:nth-child(9) .spot-image,
.spots-grid .spot-card:nth-child(10) .spot-image {
    height: 280px;  /* 增加图片高度 */
}

/* 第四排悬停效果 */
.spots-grid .spot-card:nth-child(8):hover,
.spots-grid .spot-card:nth-child(9):hover,
.spots-grid .spot-card:nth-child(10):hover {
    transform: scale(1.15);  /* 悬停时更大的放大效果 */
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* 统一图片尺寸 */
.spot-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.spot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spot-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), white);
}

.spot-content h3 {
    font-size: 1.8rem;
    color: #2c5282;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.spot-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 悬停效果 */
.spot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #4CAF50;
}

.spot-card:hover .spot-image img,
.spot-card:hover .spot-video video {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .spots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .spots-grid .spot-card:first-child {
        grid-column: 1 / -1;
    }

    .spots-grid .spot-card:not(:first-child) {
        grid-column: span 1;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .spots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spots-grid .spot-card {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
    }
}

/* 季节卡片 */
.season-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.season {
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,182,193,0.2);
    transition: all 0.3s ease;
}

.season:hover {
    border-color: #FFB6C1;
    transform: translateY(-5px);
}

/* 通用样式 */
section {
    padding: 60px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #2c5282;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #4CAF50, #FFB6C1);
    border-radius: 3px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .intro-stats,
    .season-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .intro-stats,
    .season-cards {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* 添加按钮样式 */
.hero-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(45deg, 
        rgba(144, 238, 144, 0.8), 
        rgba(152, 251, 152, 0.8));
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.hero-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, 
        rgba(144, 238, 144, 0.9), 
        rgba(152, 251, 152, 0.9));
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.6);
}

.hero-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent);
    transition: 0.5s;
}

.hero-button:hover::after {
    left: 100%;
}

.transportation {
    background: linear-gradient(135deg, #fff5f6, #f0f7f0);
}

.transport-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(144,238,144,0.2);
    transition: all 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.food {
    background: linear-gradient(135deg, #f0f7f0, #fff5f6);
}

.food-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.food-card:hover {
    transform: translateY(-5px);
}

.tips {
    background: linear-gradient(135deg, #fff5f6, #f0f7f0);
}

/* 添加广告模态框样式 */
.ad-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.ad-content {
    position: relative;
    background: white;
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    animation: modalSlideIn 0.3s ease;
}

.close-ad {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-ad:hover {
    color: #4CAF50;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 更新视频样式 */
.spot-video {
    height: 400px;
    max-width: 33.33vw;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    border-radius: 10px 10px 0 0;
}

.spot-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spot-video video::-webkit-media-controls {
    background-color: rgba(0,0,0,0.3);
}

.spot-video video::-webkit-media-controls-panel {
    padding: 0 10px;
}

/* 更新美食卡片样式 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.food-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.food-image {
    height: 250px;
    overflow: hidden;
}

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.food-card:hover .food-image img {
    transform: scale(1.05);
}

.food-content {
    padding: 20px;
}

.food-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.food-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .food-grid {
        grid-template-columns: 1fr;
    }
    
    .food-image {
        height: 200px;
    }
}

.spot-content {
    padding: 20px;
    text-align: center;
}

.spot-content h3 {
    margin-bottom: 10px;
    color: #2c5282;
    font-size: 1.5rem;
}

.spot-content p {
    color: #666;
    line-height: 1.5;
}

/* 添加响应式调整 */
@media (max-width: 768px) {
    .spot-video,
    .spot-card {
        max-width: 90vw;
    }
}

/* 更新交通信息样式 */
.transport-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.transport-list {
    list-style: none;
    margin-top: 15px;
}

.transport-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.transport-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* 更新游玩贴士样式 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tip-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.route-list {
    margin-top: 15px;
    padding-left: 20px;
}

.route-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.tips-list {
    list-style: none;
    margin-top: 15px;
}

.tips-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .spots-grid,
    .transport-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .spots-grid,
    .transport-info,
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

/* 更新响应式布局 */
@media (max-width: 1024px) {
    .spots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .spots-grid {
        grid-template-columns: 1fr;
    }
    
    .spot-video,
    .spot-card {
        max-width: 100%;
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .spots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .spots-grid {
        grid-template-columns: 1fr;
    }
    
    .spot-image {
        height: 200px;
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .spots-grid .spot-card:nth-child(8),
    .spots-grid .spot-card:nth-child(9),
    .spots-grid .spot-card:nth-child(10) {
        margin: 0;
        width: 100%;
        transform: none;
    }
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .spots-grid .spot-card:nth-child(8),
    .spots-grid .spot-card:nth-child(9),
    .spots-grid .spot-card:nth-child(10) {
        margin: 0 40px;
        width: calc(100% - 30px);
    }
}

@media (max-width: 1200px) {
    .spots-grid .spot-card:nth-child(8),
    .spots-grid .spot-card:nth-child(9),
    .spots-grid .spot-card:nth-child(10) {
        margin: 0;
        width: 100%;
        transform: none;
    }
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .spots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .spots-grid .spot-card:first-child {
        grid-column: 1 / -1;
    }

    .spots-grid .spot-card:nth-child(2),
    .spots-grid .spot-card:nth-child(3) {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    .spots-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .spots-grid .spot-card {
        width: 100%;
        margin: 0;
        transform: none;
    }

    .spot-image {
        height: 200px;
    }

    .spot-content {
        padding: 15px;
    }

    .spot-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .spot-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 移动端优化 */
@media screen and (max-width: 480px) {
    .spots-grid {
        gap: 10px;
        padding: 0 8px;
    }

    .spot-image {
        height: 180px;
    }

    .spot-content {
        padding: 12px;
    }

    .spot-content h3 {
        font-size: 1.1rem;
    }

    .spot-content p {
        font-size: 0.85rem;
    }

    /* 移除不必要的动画效果 */
    .spot-card:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
} 