* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 200px;
    padding: 10px 20px;
}

.logo img {
    height: 80px;
    width: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #d32f2f;
}

.nav a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d32f2f;
    transition: width 0.3s ease;
}

.nav a:hover:before {
    width: 100%;
}

.banner-section {
    margin-top: 80px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #d32f2f;
}

.video-branch-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.content-row {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.video-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-container {
    width: 100%;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-column video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-drag: none;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}

/* 荣耀设备视频方向修复 */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    /* 检测荣耀设备的特殊处理 */
    .honor-browser .video-column video,
    .video-column video[data-honor="true"] {
        object-fit: cover !important;
        object-position: center center !important;
        transform: rotate(0deg) !important;
        -webkit-transform: rotate(0deg) !important;
        transform-origin: center center !important;
        -webkit-transform-origin: center center !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

/* 强制横屏显示 - 针对荣耀浏览器 */
.honor-fix video {
    transform: rotate(0deg) scale(1) !important;
    -webkit-transform: rotate(0deg) scale(1) !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* QQ浏览器视频方向修复 */
.qq-browser .video-column video,
.video-column video[data-qq="true"] {
    object-fit: cover !important;
    object-position: center center !important;
    transform: rotate(0deg) !important;
    -webkit-transform: rotate(0deg) !important;
    transform-origin: center center !important;
    -webkit-transform-origin: center center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    /* 防止QQ浏览器的默认变换 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* QQ浏览器强制横屏显示 */
.qq-fix video {
    transform: rotate(0deg) scale(1) !important;
    -webkit-transform: rotate(0deg) scale(1) !important;
    object-fit: cover !important;
    object-position: center !important;
    /* QQ浏览器特殊修复 */
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.branch-info-column {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.branch-info-column h2 {
    color: #d32f2f;
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 3px solid #d32f2f;
    padding-bottom: 10px;
}


.branch-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-card h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

.branch-item {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
    margin-bottom: 20px;
}

.branch-item:last-child {
    margin-bottom: 0;
}

.branch-item h4 {
    color: #d32f2f;
    font-size: 18px;
    margin-bottom: 10px;
}

.branch-item p {
    margin-bottom: 8px;
    color: #666;
}

.about-media-section {
    padding: 80px 0;
    background: #fff;
}

.about-column {
    flex: 1;
}

.about-column h2 {
    color: #d32f2f;
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 3px solid #d32f2f;
    padding-bottom: 10px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    text-align: justify;
}

.media-matrix-column {
    flex: 1;
}

.media-matrix-column h2 {
    color: #d32f2f;
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 3px solid #d32f2f;
    padding-bottom: 10px;
}

.media-matrix img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 14px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav a {
        font-size: 14px;
    }
    
    .banner-section {
        height: 300px;
        margin-top: 120px;
    }
    
    .content-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .video-container {
        height: 200px;
        flex: none;
    }

    .video-column {
        display: block;
    }

    .branch-info-column {
        display: block;
    }

    .branch-card {
        display: block;
    }
    
    .branch-info-column,
    .about-column,
    .media-matrix-column {
        padding: 20px;
    }
    
    .branch-info-column h2,
    .about-column h2,
    .media-matrix-column h2 {
        font-size: 24px;
    }
    
    .video-branch-section,
    .about-media-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav ul {
        gap: 15px;
    }
    
    .nav a {
        font-size: 13px;
    }
    
    .banner-section {
        height: 250px;
        margin-top: 100px;
    }
    
    .branch-info-column,
    .about-column,
    .media-matrix-column {
        padding: 15px;
    }
    
    .branch-info-column h2,
    .about-column h2,
    .media-matrix-column h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .about-content p {
        font-size: 14px;
    }
    
    .branch-item {
        padding: 15px;
    }
    
    .video-branch-section,
    .about-media-section {
        padding: 30px 0;
    }
}