/* 基础样式 */
* {
    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);
}

/* 底部标语 */
.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;
    }
}

/* 生产中心主页面样式 */

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.production-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频覆盖层 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* 视频控制按钮 */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.control-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* 生产中心导航区域 */
.production-nav-section {
    padding: 80px 0;
    background: #fff;
}

.production-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1560px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f0f0f0;
}

.production-nav-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.production-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.nav-item-image {
    height: 200px;
    overflow: hidden;
}

.nav-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.production-nav-item:hover .nav-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.nav-item-content {
    padding: 25px;
    text-align: center;
}

.nav-title {
    font-size: 24px;
    font-weight: 600;
    color: #C6AA76;
    margin-bottom: 8px;
}

    .nav-subtitle {
        font-size: 14px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* 响应式设计 */
@media (max-width: 768px) {
    .video-container {
        height: 50vh;
        min-height: 300px;
    }
    
    .production-nav-section {
        padding: 40px 0;
    }
    
    .production-nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-item-image {
        height: 150px;
    }
    
    .nav-item-content {
        padding: 20px;
    }
    
    .nav-title {
        font-size: 20px;
    }
    
    .video-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .bottom-slogan-image {
        max-width: 60%;
    }
} 

/* 生产中心页面样式 */
.production-page {
    margin: 0;
    padding: 0;
}

/* 透明导航栏样式 */
.transparent-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.transparent-nav .nav-link,
.transparent-nav .nav-controls a,
.transparent-nav .language-switch span {
    color: white !important;
}

.transparent-nav .nav-link:hover {
    color: #C6AA76 !important;
}

.transparent-nav .nav-link.active {
    color: #C6AA76 !important;
}

/* 强制覆盖所有可能的金色样式 */
.transparent-nav .dropdown > .nav-link {
    color: white !important;
}

/* 生产中心的二级菜单样式 */
.transparent-nav .dropdown-menu {
    background: rgba(198, 170, 118, 0.95);
    backdrop-filter: blur(10px);
}

.transparent-nav .dropdown-menu a {
    color: white !important;
}

.transparent-nav .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

/* 视频主容器 */
.video-main {
    position: relative;
    width: 100vw;
    height: 900px;
    overflow: hidden;
}

/* 视频播放列表容器 */
.video-playlist {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 视频样式 */
.production-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.production-video.active {
    opacity: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .transparent-nav .hamburger span {
        background-color: white;
    }
    
    .transparent-nav .nav-menu {
        background: rgba(198, 170, 118, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .transparent-nav .nav-menu.active {
        background: rgba(198, 170, 118, 0.95);
    }
}

/* 底部标语区域 */
.bottom-slogan-section {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}

.bottom-slogan-image {
    max-height: 60px;
    width: auto;
}

/* 确保视频在小屏幕上也能正确显示 */
@media (max-width: 480px) {
    .production-video {
        object-fit: cover;
    }
    
    .video-main {
        height: 70vh;
    }
    
    .bottom-slogan-section {
        padding: 20px 0;
    }
    
    .bottom-slogan-image {
        max-height: 40px;
    }
}  

.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);
    }
}