/* ========================================
   联系我们页面专属样式 - 香水轻奢风
   配色：浅紫 + 纯白 + 香槟金
   ======================================== */

/* 联系英雄区域 - 斜切分区布局 */
.contact-hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #f8f5fc 0%, #ffffff 50%, #faf8f0 100%);
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    gap: 0;
}

.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.08) 0%, rgba(147, 112, 219, 0.02) 100%);
    position: relative;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.1"/></svg>');
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #ffffff;
    position: relative;
}

.hero-content {
    max-width: 500px;
    z-index: 2;
}

.gradient-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #9370db 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #9370db, #d4af37);
    border-radius: 2px;
}

/* 联系卡片悬浮效果 */
.contact-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 450px;
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(147, 112, 219, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(147, 112, 219, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #9370db, #d4af37);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(147, 112, 219, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 14px;
    flex-shrink: 0;
}

.card-icon img {
    filter: drop-shadow(0 4px 8px rgba(147, 112, 219, 0.2));
}

.card-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-value {
    font-size: 1.1rem;
    color: #9370db;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 0.9rem;
    color: #999;
}

/* 在线留言表单区域 */
.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf8fc 100%);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(147, 112, 219, 0.1);
    border: 1px solid rgba(147, 112, 219, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #9370db 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid rgba(147, 112, 219, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #faf8fc;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9370db;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(147, 112, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #9370db 0%, #8a63d2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 112, 219, 0.4);
}

/* 服务时间轴区域 */
.service-timeline-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #faf8fc 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #9370db 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 纵向时间轴 - 动态加粗线条 */
.timeline-vertical {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #9370db 0%, #d4af37 50%, #9370db 100%);
    border-radius: 3px;
    animation: timelineGlow 3s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    0% {
        box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    }
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #9370db, #d4af37);
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.4);
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.timeline-content {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(147, 112, 219, 0.12);
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(147, 112, 219, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: calc(50% + 40px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: calc(50% + 40px);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(147, 112, 219, 0.2);
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #9370db;
    margin-bottom: 12px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-time {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1), rgba(212, 175, 55, 0.1));
    color: #d4af37;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
    
    .hero-left,
    .hero-right {
        padding: 40px 30px;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-decorative-line {
        margin: 0 auto;
    }
    
    .timeline-vertical::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
        padding-right: 20px;
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .gradient-title {
        font-size: 2.2rem;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 55px;
        height: 55px;
    }
    
    .timeline-content {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: auto;
    }
    
    .hero-split {
        min-height: auto;
    }
    
    .gradient-title {
        font-size: 1.8rem;
    }
    
    .contact-cards-wrapper {
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}
