@font-face {
    font-family: 'Coming Soon';
    src: local('Coming Soon'),
    local('Coming Soon-Regular'),
    url('./assets/coming-soon-v20-latin-regular.woff2') format('woff2');
}


/* Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Coming Soon;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */

.header {
    display: flex;
    border: 2px solid lightgray;
    background-color: rgb(183, 235, 255);
}

.header-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    padding: 30px;
}

.header-navigation {
    display: flex;
    align-items: center;
}

.header-logo {
    display: block;
    width: 180px;
    height: auto;
}

.main-navigation {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-navigation_link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 16px;
}

.main-navigation li a:hover {
    color: rgb(17, 67, 153);
}

.header-controls {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px
}

.header-controls_button {
    border:none;
    padding: 10px 20px;
    background-color: #6ab9fe;
    color: white;
    font-weight: 400;
    border-radius: 7px;
}

.header-controls_button:hover {
    background-color:#3ba4ff;
}

/* Main Content */

.main {
    max-width: 1000px;
    width: 100%;
    margin: auto;
}

.main-container {
    padding: 40px 20px;
}

.main-title {
    font-size: 48px;
    margin-bottom: 10px;
}

.main-desc {
    font-size: 18px;
    color: #444;
    margin-bottom: 16px;
}

.main-banner {
    width: 100%;
    margin-bottom: 60px;
}

.story {
    margin-bottom: 50px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.story-img {
    width: 45%;
    border-radius: 8px;
}

.story-content {
    width: 55%;
    display: flex;
    flex-direction: column;
}

.story-title {
    font-size: 26px;
    margin-bottom: 12px;
}

.story-subtitle {
    font-size: 19px;
    margin: 8px 0 10px;
    color: #444;
}

.story-detail {
    font-size: 19px;
    margin: 8px 0 10px;
    color: #444;
}

.story-footer-content {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.story-footer {
    border:none;
    padding: 10px 20px;
    background-color: #6ab9fe;
    color: white;
    font-weight: 400;
    border-radius: 7px;
    text-decoration: none;
}

.story-footer:hover {
    background-color: #3ba4ff;
}

.map {
    margin-top: 80px;
    padding: 40px 0;
}

.map-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.map-desc {
    font-size: 18px;
    color: #444;
    margin-bottom: 24px;
}

.map-img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #b7ebff;
}

.map-wrap {
    position: relative;
}

.map-hotspot {
    position: absolute;
    width: 30px;
    height:30px;
    border-radius:50%;
    background-color: rgba(255, 152, 152, 0.4);
    z-index: 10;    
    cursor: pointer; 
}

.hotspot-well {
    top: 52%;
    left: 56%;
}

.hotspot-orange {
    top: 28%;
    left: 33%;
}

.hotspot-lao {
    top: 22%;
    left: 64%;
}

.hotspot-jing {
    top: 54%;
    left: 22%;
}

.hotspot-yu {
    top: 72%;
    left: 34%;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px;
    border-radius:12px;
    width: 380px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 99;
}

.popup:target {
    display:block;
}

.popup h3 {
    margin-top:0;
}

.popup-close {
    display: inline-block;
    margin-top:12px;
    padding: 8px 16px;
    background:#6ab9fe;
    color:white;
    text-decoration:none;
    border-radius:6px;
}

.return-button {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}


.return {
    border:none;
    padding: 10px 20px;
    background-color: #6ab9fe;
    color: white;
    font-weight: 400;
    border-radius: 7px;
    text-decoration: none;
}

.return:hover {
    background-color: #3ba4ff;
}

/* Footer */

.footer {
    background-color:rgb(183, 235, 255);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 14px;
    color: #222;
    margin-bottom: 16px;
}

.footer-text {
    color: #222;
    font-size: 16px;
}

/* 媒体查询：屏幕宽度小于 900px 时生效 */
@media screen and (max-width:900px){
    .story {
        flex-direction: column;
    }

    .story-img {
        width:100%;
    }

    .main-navigation {
        flex-wrap: wrap;
        gap:15px;
    }

    .header-container {
        padding:15px;
    }

    .main-title {
        font-size:32px;
    }
}
