/* 基础样式 */
* {
    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;
    }
}

/* 创始人页面专用样式 */
.founder-page {
    min-height: 100vh;
}

/* 创始人页面logo已在HTML中设置 */

.founder-main {
    padding: 80px 0 60px;
}

.founder-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background-color: #f0f0f0;
}

.founder-content {
    flex: 1;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.founder-title {
    font-size: 22px;
    color: #C8A882;
    font-weight: 600;
    margin-bottom: 20px;
}

.speech-text {
    line-height: 1.6;
    font-size: 16px;
    color: #8A8D8F;
    text-align: justify;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.speech-text p {
    margin-bottom: 50px;
}

.speech-text p:last-child {
    margin-bottom: 0;
}

.founder-image-section {
    width: 800px;
    flex-shrink: 0;
    margin-top: 60px;
}

.founder-image-container {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: flex-end;
}

.founder-photo {
    width: 100%;
    height: 600px;
    object-fit: contain;
    object-position: right;
    display: block;
}

/* 创始人页面响应式样式 */
@media (max-width: 768px) {
    .founder-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .founder-image-section {
        width: 100%;
    }
    
    .founder-content {
        padding: 30px;
        height: auto;
        min-height: 500px;
    }
    
    .founder-title {
        font-size: 24px;
    }
    
    .bottom-slogan-image {
        max-width: 60%;
    }
}  

.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);
    }
}