/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: #C6AA76 !important;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 30px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-menu li {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #C6AA76;
}

/* 导航控制区域 */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.music-toggle {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.music-toggle:hover,
.music-control:hover .music-toggle {
    color: #f0f0f0;
}

.music-control:hover .music-icon {
    filter: brightness(0) invert(0.9); /* hover时稍微变暗 */
}

.language-switch {
    color: #fff;
    font-size: 14px;
}

.language-switch .active {
    font-weight: bold;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 激活状态 */
.dropdown.active .nav-link,
.nav-menu .active .nav-link {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 发展历程页面样式 */
.history-main {
    background: #fff;
}

.main-container {
    max-width: 1600px;
    margin: 0 auto;
    margin-top: 80px;
}

/* 标题区域 - 浅灰色背景 */
.title-section {
    background: #f0f0f0;
    padding: 100px 0 80px;
}

.title-wrapper {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 150px;
    display: flex;
    align-items: baseline;
    gap: 30px;
}

.history-title {
    font-size: 24px;
    color: #C6AA76;
    font-weight: bold;
    letter-spacing: 2px;
}

.history-subtitle {
    font-size: 16px;
    color: #C6AA76;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 播放按钮区域 - 更深灰色长条 */
.play-section {
    background: #d0d0d0;
    height: 50px;
    display: flex;
    align-items: stretch;
}

.play-container {
    max-width: 1560px;
    margin-left: 140px;
    padding: 0 20px;
    display: flex;
    align-items: stretch;
    height: 100%;
    position: relative;
}

.play-button-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
    position: absolute;
    left: 150px;
}

/* 时间线容器 */
.timeline-container {
    background: #f0f0f0;
    padding: 60px 0 80px;
    position: relative;
}

/* 时间线主线 */
.timeline-line {
    position: absolute;
    left: 0;
    top: 0px;
    bottom: 80px;
    width: 2px;
    background: #999;
    margin-left: 315px;
}

/* 时间线项目 */
.timeline-item {
    max-width: 1560px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* 时间线圆点 */
.timeline-dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #666;
    border-radius: 50%;
    margin-left: 288px;
    z-index: 2;
}

/* 年份样式 */
.year {
    font-size: 18px;
    font-weight: bold;
    color: #C6AA76;
    width: 200px;
    text-align: left;
    padding-left: 130px;
    padding-top: 5px;
}

/* 内容样式 */
.content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    flex: 1;
    padding-left: 160px;
    padding-top: 5px;
}

/* 底部标语 */
.bottom-slogan-section {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.bottom-slogan-image {
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #C6AA76;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 50px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-controls {
        display: none;
    }

    .title-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: left;
        padding: 0 20px;
    }
    
    .history-title {
        font-size: 28px;
    }
    
    .history-subtitle {
        font-size: 14px;
    }

    .play-button-img {
        position: static;
        left: auto;
    }

    .timeline-item {
        flex-direction: column;
        text-align: left;
        padding: 0 15px;
    }

    .timeline-line {
        left: 15px;
        margin-left: 0;
    }

    .timeline-dot {
        left: 7px;
        margin-left: 0;
    }

    .year {
        width: 100%;
        text-align: left;
        padding-left: 130px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .content {
        width: 100%;
        padding-left: 30px;
        font-size: 14px;
    }
}  

.music-control {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.music-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1); /* 将图标变为白色 */
}

.music-icon.rotating {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}