/* 基础样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Logo样式 */
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    z-index: 10;
}

/* 容器样式 */
.container {
    background-color: #DDAE78;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
    box-sizing: border-box;
    transition: filter 0.3s ease;
    min-height: 100vh;
}

/* 地图容器样式 */
.map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.map {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* 标记点样式 */
.marker { 
    width: 40px;
    height: 40px;
    background-image: url('../img/button.gif');
    background-size: cover;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.marker:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* 描述区域样式 */
.description {
    width: 90%;
    max-height: 600px;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 20px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 20px;
}

.description::-webkit-scrollbar {
    display: none;
}

.description img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin-bottom: 10px;
    object-fit: contain;
    border-radius: 10px;
}

/* 悬浮层样式 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 20px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}

.overlay::-webkit-scrollbar {
    display: none;
}

/* 背景模糊效果 */
.blur-background {
    filter: blur(5px);
}

/* 关闭按钮样式 */
.close-btn {
    position: fixed;
    top: 2.5%;
    right: 4%;
    background: rgb(221, 174, 120);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1px;
    cursor: pointer;
    z-index: 101;
    display: none;
    border: none;
    align-items: center;
    justify-content: center;
    background-image: url('../img/close.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 返回按钮样式 */
.back-btn {
    position: fixed;
    top: 2.5%;
    left: 4%;
    background: #DDAE78;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1px;
    cursor: pointer;
    z-index: 101;
    display: none;
    border: none;
    align-items: center;
    justify-content: center;
    background-image: url('../img/back.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 垂直图片容器 */
.vertical-images {
    width: 100%;
    max-height: 85%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.vertical-images img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 10px;
    border-radius: 10px;
}

.mobile-map{
    transform: rotate(90deg);
    border-radius: 10px;
}

/* 文本内容样式 */
.text-content {
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.text-content h2 {
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #DDAE78;
    padding-bottom: 10px;
}

.text-content p {
    color: #555;
    line-height: 1.6;
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 20;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    text-align: center;
    flex: 1;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    padding: 5px;
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    background-color: #DDAE78;
    border-radius: 50%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        width: 100px;
    }
    .marker {
        width: 30px;
        height: 30px;
    }
    .overlay {
        padding: 15px;
    }
    .mobile-nav {
        display: block;
    }
    .container {
        padding-bottom: 70px;
    }
    .description {
        padding: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .description {
        width: 85%;
    }
}

@media (min-width: 1025px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    .description {
        width: 80%;
        max-width: 1200px;
    }
}