

/* ============================== 面包屑导航css样式 start ============================== */

/* ========== 面包屑区域视频背景 ========== */
.breadcrumb-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.breadcrumb-area {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: var(--text-primary); /* 使用主题深色作为备用背景 */
}

/* 确保遮罩层在视频之上 */
.breadcrumb-area::after {
    z-index: 2;
    background: var(--primary-alpha-20); /* 使用主题色透明遮罩 */
}

/* 确保文字在最上层 */
.breadcrumb-item {
    position: relative;
    z-index: 3;
}

/* ========== 导航栏透明度调整 ========== */
.main-header-area {
    background: rgba(251, 251, 251, 0.95);
    z-index:10000;
}

/* ========== 文字颜色修正 ========== */
.text-night-rider *,
.box-counter > * {
    color: var(--text-white) !important;
}

/* ============================== 面包屑导航css样式 end ============================== */


/* ========================================
   联系我们页面专属样式
   ======================================== */

/* ========= 联系信息卡片区域 ========= */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--bg-section);
}

@media (max-width: 991.98px) {
    .contact-info-section {
        padding: 60px 0;
    }
}

/* 联系信息卡片 */
.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

/* 联系卡片图标 */
.contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--primary-alpha-10);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 32px;
    transition: all var(--transition-normal);
}

.contact-card:hover .contact-icon {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.1);
}

.contact-card h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p,
.contact-card a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-card a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* ========= 联系表单区域 ========= */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

@media (max-width: 991.98px) {
    .contact-form-section {
        padding: 60px 0;
    }
}

.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 表单左侧图片 */
.contact-form-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-form-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-form-image h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-form-image p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-features {
    position: relative;
    z-index: 1;
}

.contact-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.contact-feature-item i {
    font-size: 24px;
    margin-right: 1rem;
    opacity: 0.9;
}

/* 表单右侧 */
.contact-form-content {
    padding: 3rem;
}

@media (max-width: 991.98px) {
    .contact-form-image {
        min-height: 300px;
        padding: 2rem;
    }

    .contact-form-content {
        padding: 2rem;
    }
}

.contact-form-title {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 表单样式 */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-white);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem var(--primary-alpha-20);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* 提交按钮 */
.contact-submit-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 128, 237, 0.3);
}

.contact-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ========= 地图区域 ========= */
.map-section {
    position: relative;
    height: 500px;
    margin: 80px 0;
}

.map-container {
    height: 100%;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* 地图覆盖信息 */
.map-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    z-index: 10;
}

.map-overlay h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    .map-section {
        height: 400px;
        margin-top: 60px;
    }

    .map-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin-top: -50px;
        margin-bottom: 30px;
    }
}

/* ========= 工作时间区域 ========= */
.working-hours-section {
    padding: 60px 0;
    background-color: var(--bg-section);
}

.working-hours-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.working-hours-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.working-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.working-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.working-hours-list li:last-child {
    border-bottom: none;
}

.working-day {
    color: var(--text-primary);
    font-weight: 500;
}

.working-time {
    color: var(--primary-color);
    font-weight: 500;
}

.working-hours-list li.closed .working-time {
    color: var(--text-muted);
}

/* ========= 响应式优化 ========= */
@media (max-width: 991.98px) {
    .contact-info-section,
    .contact-form-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .contact-info-section,
    .contact-form-section {
        padding: 40px 0;
    }

    .contact-card {
        margin-bottom: 1.5rem;
    }
}

/* ========= 表单提交状态 ========= */
.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========= 加载动画 ========= */
.contact-submit-btn.loading {
    color: transparent;
}

.contact-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* 验证码样式 */
.captcha-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    height: 40px;
    width: 120px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.captcha-image:hover {
    opacity: 0.8;
}

.btn-refresh-captcha {
    width:40px;
    height:40px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    transform-origin: center;
}


.btn-refresh-captcha:hover{
    transform: rotate(180deg);
}

/* 响应式调整 */
@media (max-width: 576px) {
    .captcha-wrapper {
        flex-wrap: wrap;
    }

    .captcha-image {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }
}
