/* ========================================
   联系我们页面专用样式
   ======================================== */

/* 幻灯片容器 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide:nth-child(1) {
    background-color: #667eea;
}

.slide:nth-child(2) {
    background-color: #764ba2;
}

.slide:nth-child(3) {
    background-color: #667eea;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 75vw;
    width: 75%;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-content p {
    font-size: 22px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.slide-content .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slide-content .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border-color: #667eea;
    transform: scale(1.2);
}

/* Banner区域（保留兼容） */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-section p {
    font-size: 20px;
    opacity: 0.9;
}

/* 页面标题区域 */
.page-header-section {
    background: transparent;
    padding: 60px 0 20px;
    width: 100%;
}

.page-header-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 联系信息区域 - 电脑端 */
.contact-section {
    background: #f8f9fa;
    padding: 20px 0 120px;
    width: 100%;
}

.contact-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-left {
    flex: 1;
    min-width: 0;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-card h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0052cc;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item h3 {
    font-size: 18px;
    color: #0052cc;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* 右侧联系类型选择 */
.contact-right {
    flex: 1.5;
    min-width: 0;
}

.contact-types {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 0 !important;
    gap: 0 !important;
    height: 100%;
}

.contact-type-item {
    border-right: 1px solid #e0e0e0 !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 40px 20px !important;
    background: white !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-type-item:last-child {
    border-right: none !important;
}

.contact-type-item:hover h4 {
    color: #0052cc !important;
}

.contact-type-item:hover .type-desc {
    color: #0066ff !important;
}

.type-icon {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-icon svg {
    width: 60px !important;
    height: 60px !important;
}

.contact-type-item h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4;
}

.type-desc {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.5;
    margin: 0 !important;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-container {
        width: 95%;
        max-width: 95%;
        flex-direction: column;
        gap: 30px;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .contact-info-card h2 {
        font-size: 26px;
    }

    .contact-item p {
        color: #333;
    }

    .contact-types {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 !important;
        gap: 0 !important;
        height: auto;
    }

    .contact-type-item {
        border-right: 1px solid #e0e0e0 !important;
        border-bottom: 1px solid #e0e0e0 !important;
        border-top: none !important;
        border-left: none !important;
        border-radius: 0 !important;
        padding: 30px 15px !important;
        background: white !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        height: auto;
        box-sizing: border-box;
    }

    .contact-type-item:nth-child(2n) {
        border-right: none !important;
    }

    .contact-type-item:nth-last-child(-n+2) {
        border-bottom: none !important;
    }

    .type-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .type-icon svg {
        width: 45px !important;
        height: 45px !important;
    }

    .contact-type-item h4 {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.4;
    }

    .type-desc {
        font-size: 12px !important;
        color: #666 !important;
        line-height: 1.5;
        margin: 0 !important;
    }

    .hero-section {
        padding: 50px 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-content {
        max-width: none;
        width: 95%;
    }

    .contact-content h2 {
        font-size: 26px;
    }

    .contact-content h3 {
        font-size: 20px;
    }

    .contact-content p {
        font-size: 15px;
    }

    .contact-form-container {
        padding: 20px;
    }
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .hero-section {
        padding: 50px 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }
}