/* ===== 关于我们页面专用样式 ===== */

/* 导航栏样式覆盖 - 确保与首页一致 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: #8b0000;
    font-size: 28px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color .3s ease;
}

.nav-item:hover {
    background-color: #f8f9fa;
}

.nav-item span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color .3s ease;
}

.header-right a:hover {
    color: #dc3545 !important; /* 大红色悬停效果，使用!important确保优先级 */
}

/* 关于我们链接的特殊样式 */
.nav-destination a {
    text-decoration: none;
    color: inherit;
    transition: color .3s ease;
}

.nav-destination a:hover {
    color: #dc3545 !important; /* 大红色悬停效果，使用!important确保优先级 */
}

/* 更具体的选择器，确保悬停效果生效 */
.header .header-right a:hover,
.header .nav-destination a:hover {
    color: #dc3545 !important;
}

/* 针对特定链接的悬停效果 */
.header-right .list-property:hover,
.header-right .support:hover,
.header-right .travel:hover,
.header-right .login:hover,
.nav-destination a:hover {
    color: #dc3545 !important;
}

/* 强制覆盖主样式文件的悬停颜色 */
.header .header-right a:hover,
.header-right a:hover,
.header .nav-destination a:hover,
.nav-destination a:hover {
    color: #dc3545 !important;
}

/* 针对特定链接的强制悬停效果 */
.header .header-right .list-property:hover,
.header .header-right .support:hover,
.header .header-right .travel:hover,
.header .header-right .login:hover,
.header .nav-destination a:hover {
    color: #dc3545 !important;
}

/* 使用更高优先级的选择器 */
body .header .header-right a:hover,
body .header .nav-destination a:hover {
    color: #dc3545 !important;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-section {
    padding: 20px;
}

.menu-section:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    transition: all .3s ease;
    border-radius: 5px;
}

.menu-item:hover {
    background-color: #f8f9fa;
    color: #0071c2;
}

.menu-item.active {
    background-color: #e3f2fd;
    color: #0071c2;
}

.menu-item i {
    width: 20px;
    text-align: center;
    color: #666;
}

.menu-item:hover i {
    color: #0071c2;
}

.menu-item.no-icon {
    padding-left: 35px;
}

.menu-separator {
    height: 1px;
    background: #eee;
    margin: 0 20px;
}

/* 顶部通知栏样式 */
.top-notification {
    background: linear-gradient(135deg, #8b0000, #a00000, #b22222);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* 目的地导航样式 */
.nav-destination {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all .3s ease;
}

.nav-destination:hover {
    background-color: transparent;
}

.nav-destination a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    transition: color .3s ease;
}

.nav-destination a:hover {
    color: #dc3545 !important;
}

/* 英雄区域 */
.hero-section {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../assets/images/gaolou.jpg') center/cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin: 0;
    padding: 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb span {
    color: #6c757d;
    font-size: 14px;
}

/* 标签页导航 */
.tab-navigation {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 999;
    height: 60px; /* 固定高度，便于计算 */
}

.tab-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.tab-item {
    background: none;
    border: none;
    padding: 20px 30px;
    font-size: 16px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.tab-item:hover {
    color: #dc3545;
    background: #f8f9fa;
}

.tab-item.active {
    color: #dc3545;
    border-bottom-color: #dc3545;
    font-weight: 600;
}

/* 主内容区域 */
.main-content {
    padding: 40px 0;
    min-height: 600px;
}

/* 内容部分 */
.content-section {
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-section:first-child {
    padding-top: 0;
}

/* 内容头部 */
.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

.red-bar {
    width: 4px;
    height: 40px;
    background: #dc3545;
    border-radius: 2px;
}

.content-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

/* 内容主体 */
.content-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 20px;
}

.content-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
}

/* 优势网格 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 24px;
    color: white;
}

.advantage-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px 0;
}

.advantage-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* 地址网格 */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.address-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.address-card:hover {
    transform: translateY(-5px);
}

.address-image {
    height: 200px;
    overflow: hidden;
}

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

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

.address-info {
    padding: 20px;
}

.address-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px 0;
}

.address-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* 联系网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-qr {
    margin-bottom: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-pattern {
    width: 80px;
    height: 80px;
    background: repeating-conic-gradient(
        #000 0deg 90deg,
        transparent 90deg 180deg
    );
    border-radius: 4px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-icon-large {
    width: 80px;
    height: 80px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon-large i {
    font-size: 32px;
    color: white;
}

.contact-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px 0;
}

.contact-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0 0 20px 0;
}

.contact-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #0056b3;
}

.contact-link {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-link:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* 浮动聊天按钮 */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.floating-chat:hover {
    transform: scale(1.1);
}

.floating-chat i {
    font-size: 24px;
    color: white;
}

/* 页脚样式 */
.footer {
    background: #f8f9fa;
    padding: 50px 0 30px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: #212529;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #dc3545;
}

/* 社交媒体图标样式 */
.social-media {
    margin-top: 10px;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 120px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon i {
    font-size: 18px;
    color: white;
}

/* 社交媒体图标颜色 */
.social-icon.tiktok {
    background: linear-gradient(45deg, #ff0050, #00f2ea, #ff0050);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.youtube {
    background: #ff0000;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 20px;
    }
    
    .tab-list {
        padding: 0 20px;
    }
    
    .tab-item {
        padding: 15px 20px;
        min-width: 100px;
        font-size: 14px;
    }
    
    .advantages-grid,
    .address-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .content-header h2 {
        font-size: 1.5rem;
    }
    
    .floating-chat {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-chat i {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-column:last-child {
        grid-column: span 2;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .tab-item {
        padding: 12px 15px;
        min-width: 80px;
        font-size: 13px;
    }
    
    .advantage-item,
    .contact-card {
        padding: 20px;
    }
    
    .address-card {
        margin: 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-column:last-child {
        grid-column: span 1;
    }
    
    .social-icons {
        grid-template-columns: repeat(4, 1fr);
        max-width: 200px;
    }
}
