@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', '宋体', serif;
    background: #FDF8E6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" opacity="0.06"><path fill="none" stroke="%238B6B4A" stroke-width="0.4" d="M20 30 Q 60 10, 100 25 T 180 20 M10 70 Q 50 50, 90 65 T 170 60"/></svg>');
    background-repeat: repeat;
    color: #3A3226;
    line-height: 1.5;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding: 20px 0 60px;
}

.site-header, .site-footer {
    background: #1A1612;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 100;
}
.site-header {
    border-bottom: 1px solid rgba(217, 180, 139, 0.3);
    position: relative;
}
.site-header::before, .site-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #8B1E2D, transparent);
}
.site-header::before { top: 0; }
.site-footer::before { top: -3px; }

.site-footer {
    border-top: 1px solid rgba(217, 180, 139, 0.3);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}
.logo a {
    font-size: 26px;
    font-weight: 700;
    color: #F0E2C5;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 42px;
}
.nav-link {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #E8DDD0;
    padding: 6px 0;
    position: relative;
}
.nav-link i {
    font-size: 16px;
    color: #D9B48B;
    transition: color 0.2s;
}
.nav-link:hover i { color: #F0E2C5; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #C77A5A;
    transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #F0E2C5; }
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10;
}
.menu-toggle span {
    width: 26px; height: 2px;
    background: #ECE3D8;
    margin: 5px 0;
    transition: 0.3s;
}

.guanxiang-hero {
    text-align: center;
    padding: 24px 0 32px;
    margin-bottom: 24px;
}
.guanxiang-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #8B1E2D;
    letter-spacing: 8px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.guanxiang-hero h1::before, .guanxiang-hero h1::after {
    content: '✧';
    font-size: 2rem;
    color: #D9B48B;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.guanxiang-hero h1::before { left: -48px; }
.guanxiang-hero h1::after { right: -48px; }

.slogan {
    font-size: 1.3rem;
    color: #8B1E2D;
    font-weight: 500;
    margin: 8px 0;
    letter-spacing: 2px;
}

.intro {
    max-width: 600px;
    margin: 12px auto 0;
    font-size: 1rem;
    color: #6A4E2E;
    opacity: 0.8;
    line-height: 1.5;
}

.guanxiang-content {
    display: flex;
    align-items: stretch;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}
.content-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.xiang-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 20px 0;
}
.xiang-item {
    position: relative;
    text-align: center;
    padding: 8px 16px;
    width: 100%;
}
.xiang-item .main-text {
    font-size: 2rem;
    font-weight: 600;
    color: #8B1E2D;
    letter-spacing: 8px;
    transition: all 0.3s ease;
    display: block;
}
.xiang-item .sub-text {
    font-size: 0.9rem;
    color: #998570;
    letter-spacing: 2px;
    margin-top: 8px;
    opacity: 0.8;
    display: block;
}
.xiang-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    width: 1px;
    height: 16px;
    background: rgba(139,30,45,0.2);
}
.xiang-item:first-child::before {
    display: none;
}
.xiang-item:hover .main-text {
    letter-spacing: 12px;
    color: #8B1E2D;
    opacity: 1;
}

.content-right {
    flex: 1.4;
    display: flex;
    flex-direction: column;
}
.map-title {
    text-align: center;
    font-size: 1.2rem;
    color: #8B1E2D;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-weight: 500;
}
.map-box {
    border: 8px solid #F0E2C5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    flex: 1;
}
.map-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(139,30,45,0.1);
    pointer-events: none;
}
.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}
.map-img:hover {
    transform: scale(1.02);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.footer-column {
    flex: 1;
    min-width: 240px;
}
.footer-column h3 {
    font-size: 20px;
    color: #D9B48B;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
    padding-left: 12px;
}
.footer-column h3::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: #8B1E2D;
    border-radius: 50%;
}
.footer-column.narrative ul {
    list-style: none;
    line-height: 1.8;
}
.footer-column.narrative li {
    position: relative;
    padding-left: 20px;
    color: #BCAE9C;
    transition: all 0.2s ease;
}
.footer-column.narrative li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #8B1E2D;
    font-weight: bold;
}
.footer-column.narrative li:hover {
    color: #F0E2C5;
    transform: translateX(4px);
    padding-left: 22px;
}
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.social-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.social-icon {
    width: 28px; height: 28px;
    background: rgba(217, 180, 139, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9B48B;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(217, 180, 139, 0.3);
}
.social-text {
    color: #BCAE9C;
    font-size: 15px;
    line-height: 1.5;
}
.social-item:hover .social-icon {
    background: #8B1E2D;
    color: #FDF8E6;
    transform: scale(1.15);
    border-color: #8B1E2D;
    box-shadow: 0 0 8px rgba(139,30,45,0.5);
}
.social-item:hover .social-text {
    color: #F0E2C5;
    font-weight: 500;
}
.gre-model {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
}
.gre-title {
    font-size: 16px;
    color: #D9B48B;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}
.gre-path {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 60px;
    margin: 0 auto;
}
.gre-path::before {
    content: '';
    position: absolute;
    top: 30px; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(to right, transparent, #8B1E2D, transparent);
    z-index: 1;
}
.gre-node {
    width: 40px; height: 40px;
    background: rgba(30,26,23,0.8);
    border: 2px solid #8B1E2D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #D9B48B;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    cursor: help;
}
.gre-node:hover {
    background: #8B1E2D;
    color: #FDF8E6;
    transform: scale(1.25) translateY(-5px);
    box-shadow: 0 4px 12px rgba(139,30,45,0.7);
    z-index: 10;
}
.gre-node:hover::after {
    content: attr(data-fullname);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #F0E2C5;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 11;
}
.gre-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}
.gre-label {
    font-size: 12px;
    color: #8A7E6E;
    text-align: center;
    width: 80px;
    transform: translateX(-50%);
}
.gre-label:first-child { transform: translateX(0); }
.gre-label:last-child { transform: translateX(0); text-align: right; }

.footer-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(217,180,139,0.2);
    font-size: 13px;
    color: #8A7E6E;
    margin-top: 20px;
    line-height: 1.5;
}

@media (max-width:992px) {
    .guanxiang-content {
        flex-direction: column;
        gap: 40px;
    }
    .content-left, .content-right {
        flex: none;
        width: 100%;
    }
    .xiang-list {
        height: auto;
        gap: 30px;
    }
    .map-box {
        height: 400px;
    }
    .footer-container {
        justify-content: center;
    }
}
@media (max-width:768px) {
    .guanxiang-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }
    .guanxiang-hero h1::before, .guanxiang-hero h1::after {
        display: none;
    }

    .xiang-item .main-text {
        font-size: 1.6rem;
        letter-spacing: 6px;
    }
    .main-nav {
        position: static;
        transform: none;
    }
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 75%;
        height: calc(100vh - 70px);
        background: #2A241E;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s;
        gap: 28px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.5);
        z-index: 99;
        border-left: 3px solid #8B1E2D;
    }
    .nav-list.show { left: 0; }
    .menu-toggle { display: flex; }
    .footer-container { flex-direction: column; gap: 40px; }
    .footer-column { min-width: 100%; text-align: center; }
    .footer-column h3 {
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-column h3::before {
        display: none;
    }
    .gre-path {
        flex-direction: column;
        height: auto;
        gap: 25px;
    }
    .gre-path::before {
        display: none;
    }
    .gre-labels {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    .gre-label {
        transform: none;
        text-align: center;
        width: auto;
    }
}