/* 留言表单模块样式 */

/* 成功提示框容器样式 */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 成功提示框显示状态 */
.success-message.show {
    display: flex;
    opacity: 1;
}

/* 成功提示框内容区域 */
.success-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* 成功图标样式 */
.success-icon {
    font-size: 60px;
    color: #4CAF50;
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* 成功提示框标题 */
.success-content h3 {
    font-size: 24px;
    margin: 20px 0 15px;
    font-weight: 600;
    color: white;
}

/* 成功提示框描述文字 */
.success-content p {
    font-size: 16px;
    margin: 15px 0 25px;
    color: white;
    opacity: 0.9;
}

/* 关闭按钮样式 */
.close-success-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.close-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* 联系表单区域样式 */
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 300px;
}

/* 联系表单遮罩层 */
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* 联系表单容器 */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

/* 联系表单标题区域 */
.contact-title-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.contact-title-section p {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.8;
    max-width: 600px;
}

/* 联系表单输入区域 */
.contact-form-inputs {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

/* 联系表单输入框样式 */
.contact-input {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    padding: 16px 20px;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    background: #ffffff;
    color: #333;
}

.contact-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* 联系表单提交按钮 */
.contact-submit-btn {
    padding: 16px 90px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 2px;
    font-size: 15px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
}

.contact-submit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        gap: 40px;
    }
    
    .contact-title-section p {
        font-size: 14px;
    }
    
    .contact-form-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-input {
        max-width: 100%;
        width: 100%;
    }
    
    .contact-submit-btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 20px;
    }
    
    .success-content {
        margin: 20px;
        padding: 30px;
    }
    
    .success-icon {
        font-size: 50px;
        width: 70px;
        height: 70px;
    }
    
    .success-content h3 {
        font-size: 20px;
    }
    
    .success-content p {
        font-size: 14px;
    }
}
