/* 联系我们页面专用样式 - 避免冲突 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 顶部蓝色条 */
.top-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(90deg, #6ef1e3, #7b2ff2) !important;
    color: #0a0a0a !important;
    text-align: center !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    z-index: 101 !important;
}

/* 主头部 */
.main-header {
    position: fixed !important;
    top: 36px !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(10, 10, 10, 0.9) !important;
    padding: 20px 0 !important;
    z-index: 100 !important;
    backdrop-filter: blur(10px) !important;
}

.header-bg-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(123, 47, 242, 0.3), transparent 70%);
    pointer-events: none;
}

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

.logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #6ef1e3, #7b2ff2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6ef1e3;
}

.nav-link.active {
    color: #6ef1e3;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7b2ff2;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    min-height: calc(100vh - 116px);
    margin-top: 116px;
    background: #0a0a0a;
}

/* 左侧Contact区域 */
.contact-left-section {
    position: relative;
    width: 35%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gradient-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #00ff88, #7b2ff2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.contact-title-area {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 40px;
}



.contact-main-title {
    font-size: 4.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #7b2ff2, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(123, 47, 242, 0.3);
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.flowing-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: flow 8s ease-in-out infinite;
}

.glowing-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.glowing-dots::before,
.glowing-dots::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: glow 2s ease-in-out infinite alternate;
}

.glowing-dots::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.glowing-dots::after {
    top: 60%;
    right: 25%;
    animation-delay: 1s;
}

@keyframes flow {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-5px);
    }
    50% {
        transform: translateX(5px) translateY(-10px);
    }
    75% {
        transform: translateX(-5px) translateY(5px);
    }
}

@keyframes glow {
    from {
        opacity: 0.5;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 右侧分支机构区域 */
.branches-right-section {
    flex: 1;
    padding: 60px 40px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

.branch-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.branch-card-single {
    grid-column: 1 / 2;
    margin: 0;
}

.branch-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.branch-card:hover .branch-image img {
    transform: scale(1.05);
}

.branch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* 默认显示的内容 */
.branch-default {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 悬停显示的内容 */
.branch-hover {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.branch-side-image {
    margin-right: 15px;
    margin-left: 0;
}

.branch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.branch-details {
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.branch-card:hover .branch-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    padding: 25px 20px;
    justify-content: space-between;
    align-items: flex-end;
}

.branch-card:hover .branch-default {
    display: none;
}

.branch-card:hover .branch-hover {
    display: flex;
}

.branch-text-default {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
}

.branch-text-hover {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
    width: 100%;
}



.branch-address {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
}

.email-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.email-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
}

.side-icon {
    width: 4px;
    height: 80px;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.branch-card:hover .side-icon {
    opacity: 1;
}

.branch-email {
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.branch-status {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    padding: 40px 0;
    border-top: 1px solid rgba(110, 241, 227, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/首页顶部背景图.png') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

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

.footer-nav a:hover {
    color: #6ef1e3;
}

.footer-nav a.active {
    color: #6ef1e3;
}

.footer-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6ef1e3;
}

.footer-logo-svg {
    display: flex;
    align-items: center;
}

.footer-logo-svg svg {
    transition: transform 0.3s ease;
}

.footer-logo-svg:hover svg {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .contact-left-section {
        width: 100%;
        height: 300px;
    }
    
    .contact-main-title {
        font-size: 3.5rem;
    }
    

    
    .branches-right-section {
        padding: 40px 20px;
    }
    
    .branches-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-main-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    

    
    .contact-left-section {
        height: 250px;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .branch-card-single {
        max-width: 100%;
    }
    
    .branch-image {
        height: 220px;
    }
    
    .branch-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        padding: 15px;
    }
    
    .branch-default {
        display: flex;
    }
    
    .branch-hover {
        display: flex;
    }
    
    .branch-details {
        display: flex;
        margin-top: 8px;
    }
    
    .branch-side-image {
        display: block;
        margin-right: 10px;
        margin-left: 0;
    }
    
    .side-icon {
        width: 3px;
        height: 60px;
    }
    
    .branch-address {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .email-label {
        font-size: 0.8rem;
    }
    
    .branch-email {
        font-size: 0.85rem;
    }
    
    .branch-status {
        font-size: 0.85rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .footer-nav {
        gap: 20px;
    }
    
    .logo-nav {
        flex-direction: column;
        gap: 20px;
        position: relative;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        display: none;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid rgba(110, 241, 227, 0.2);
        margin-top: 20px;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(110, 241, 227, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    /* 汉堡菜单样式 */
    .hamburger-menu {
        display: block !important;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1000;
    }
    
    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background: #6ef1e3;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .contact-main-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    

    
    .contact-left-section {
        height: 200px;
    }
    
    .branches-right-section {
        padding: 30px 15px;
    }
    
    .branch-image {
        height: 180px;
    }
    
    .branch-text-default {
        font-size: 1.4rem;
    }
    
    .branch-text-hover {
        font-size: 1rem;
    }
    
    .branch-arrow {
        font-size: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .header-inner {
        padding: 0 15px;
    }
    
    .footer-inner {
        padding: 0 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.branch-card:nth-child(1) { animation-delay: 0.1s; }
.branch-card:nth-child(2) { animation-delay: 0.2s; }
.branch-card:nth-child(3) { animation-delay: 0.3s; }
.branch-card:nth-child(4) { animation-delay: 0.4s; }
.branch-card:nth-child(5) { animation-delay: 0.5s; }
.branch-card:nth-child(6) { animation-delay: 0.6s; }
.branch-card:nth-child(7) { animation-delay: 0.7s; } 