/* 地理位置页面样式 */

/* 英雄区域样式 */
.location-hero {
    height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('../images/index2.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.location-hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.location-hero p {
    font-size: 24px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

/* 基本信息区域样式 */
.location-info {
    padding: 80px 0;
    background-color: var(--light-text);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-card strong {
    color: var(--primary-color);
}

/* 地图区域样式 */
.map-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: var(--primary-color);
}

#map-container {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.map-info {
    margin-top: 40px;
}

.map-info h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--primary-color);
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.transport-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.transport-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

/* 天气和季节区域样式 */
.weather-section {
    padding: 80px 0;
    background-color: var(--light-text);
}

.weather-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: var(--primary-color);
}

.season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.season-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.season-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.season-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .location-hero h2 {
        font-size: 36px;
    }

    .location-hero p {
        font-size: 18px;
    }

    #map-container {
        height: 300px;
    }

    .info-grid,
    .transport-options,
    .season-grid {
        grid-template-columns: 1fr;
    }
}
