* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.3), rgba(255, 255, 255, 0.5));
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

header {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.2)
    );
    color: #333;
    text-align: center;
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    overflow: hidden;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation: zoomEffect 20s ease-in-out infinite;
    transform-origin: center center;
}

.transport-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 0;
}

.attraction-images {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.attraction-item {
    width: calc(33.33% - 10px);
    text-align: center;
    margin-bottom: 20px;
}

.attraction-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.attraction-item p {
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: 500;
}

.food-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

nav {
    background-color: rgba(173, 216, 230, 0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    padding: 8px 0;
    backdrop-filter: blur(12px);
}

nav ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 1rem;
    justify-content: space-around;
}

nav li {
    padding: 0.5rem 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: 500;
}

nav li:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* 为当前激活的导航项添加样式 */
nav li.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.content-section {
    padding: 2rem 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    margin: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.transport-card, .hotel-card, .day-card, .tip-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.transport-card:hover, .hotel-card:hover, .day-card:hover, .tip-card:hover, .food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.food-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.hotel-card {
    display: flex;
    align-items: start;
    gap: 20px;
}

.hotel-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hotel-card ul {
    flex: 1;
    list-style: none;
    padding: 10px 0;
}

.hotel-card li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    nav ul {
        justify-content: flex-start;
    }
    
    .hotel-cards, .days-container {
        flex-direction: column;
    }

    .hotel-card {
        flex-direction: column;
    }
    
    .hotel-image {
        width: 100%;
        height: 200px;
    }

    .attraction-item {
        width: 100%;
    }

    .attraction-image {
        height: 250px;
    }
} 

main {
    position: relative;
    margin-top: 80vh;
} 

.transport-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.option {
    flex: 1 1 calc(50% - 15px); /* 每个选项占50%的宽度，减去间距 */
    box-sizing: border-box;
}

.city-transport-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.city-option {
    flex: 1 1 calc(25% - 15px); /* 每个选项占25%的宽度，减去间距 */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .option {
        flex: 1 1 100%; /* 在移动设备上每个选项占满一行 */
    }
    .city-option {
        flex: 1 1 100%; /* 在移动设备上每个选项占满一行 */
    }
} 

/* 添加动画关键帧 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* 图片悬停效果 */
.transport-image, .hotel-image, .attraction-image, .food-image {
    transition: all 0.3s ease;
}

.transport-image:hover, .hotel-image:hover, .attraction-image:hover, .food-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* 标题动画 */
h2 {
    position: relative;
    overflow: hidden;
    padding-bottom: 15px;
    font-size: 2rem;
    color: #1e88e5;
    text-align: center;
    margin-bottom: 25px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e88e5, transparent);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

h2:hover::after {
    width: 80%;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    animation: slideInDown 1.2s ease-out;
    letter-spacing: 2px;
}

.header-subtitle {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    animation: slideInUp 1.2s ease-out;
    letter-spacing: 1px;
    margin-top: 10px;
    padding: 10px 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.attraction-link, .food-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.attraction-link:hover, .food-link:hover {
    transform: translateY(-5px);
}

.attraction-link:hover .attraction-image,
.food-link:hover .food-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.attraction-link p, .food-link p {
    margin-top: 10px;
    color: #333;
    font-weight: 500;
} 

.hotel-link {
    display: block;
    transition: all 0.3s ease;
}

.hotel-link:hover {
    transform: scale(1.05);
}

.hotel-card ul li a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.hotel-card ul li a:hover {
    color: #1e88e5;
    padding-left: 5px;
} 

/* 旅游贴士样式 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.tip-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: bounceIn 0.8s ease-out;
}

.tip-card h3 {
    color: #1e88e5;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tip-content {
    text-align: left;
    width: 100%;
}

.tip-content ul {
    list-style: none;
    padding: 0;
}

.tip-content li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.tip-content li::before {
    content: '•';
    color: #1e88e5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.tip-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8));
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-card {
        margin: 0.5rem 0;
    }
} 

/* 添加新的动画关键帧 */
@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 添加响应式调整 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        padding: 0 15px;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
}

/* 添加新的动画关键帧 */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
} 

/* 添加新的动画效果 */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(30, 136, 229, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(30, 136, 229, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(30, 136, 229, 0.2);
    }
}

/* 为链接添加动画效果 */
.attraction-link:hover, .food-link:hover, .hotel-link:hover {
    transform: translateY(-8px);
    animation: pulseGlow 2s infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .content-section {
        margin: 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .transport-card, .hotel-card, .day-card {
        padding: 1rem;
        margin: 1rem 0;
    }
} 