/* 左侧底部互动按钮样式 */

:root {
    --primary-yellow: #f9f75d;
    --gradient-yellow-start: #FFD700; /* 更亮的金色 */
    --gradient-yellow-end: #FFA500; /* 橙色 */
    --messenger-blue: #2683EF;
    --whatsapp-green: #25D366;
    --email-red: #DB4437;
    --call-blue: #4285F4;
    --text-dark: #333333;
    --text-light: #ffffff;
}

.placidway-contact-widget {
    position: fixed;
    bottom: 50px;
    left: 30px;
    z-index: 9999;
}

.contact-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-yellow-start), var(--gradient-yellow-end));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    outline: none;
}

.contact-button:hover {
    background: linear-gradient(135deg, var(--gradient-yellow-end), var(--gradient-yellow-start));
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.contact-button i {
    color: white; /* 白色图标，在渐变背景上更醒目 */
    font-size: 28px;
}

/* 其他样式保持不变 */
.contact-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: visible; /* 修改为visible确保内容不被裁剪 */
    display: none;
    transform-origin: bottom left;
    animation: scaleIn 0.2s ease-out forwards;
    /* Safari兼容性 */
    -webkit-transform-origin: bottom left;
    -webkit-animation: scaleIn 0.2s ease-out forwards;
    z-index: 10000; /* 确保面板位于最上层 */
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.panel-header {
    background: linear-gradient(135deg, var(--gradient-yellow-start), var(--gradient-yellow-end));
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.panel-header i {
    margin-right: 10px;
    font-size: 20px;
}

.contact-options {
    padding: 15px 0;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-option:hover {
    background-color: #f5f5f5;
}

.option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gradient-yellow-start), var(--gradient-yellow-end));
}

.option-icon i {
    color: white;
    font-size: 18px;
}

.option-text {
    flex-grow: 1;
    min-width: 0; /* 防止flex项目溢出 */
}

.option-title {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.option-subtitle {
    font-size: 13px;
    color: #666;
    /* 确保文本不会被截断 */
    overflow: visible;
    white-space: nowrap;
    /* 针对Safari的特定修复 */
    -webkit-text-size-adjust: 100%;
}

/* 确保WhatsApp号码可见性 */
.whatsapp-option .option-subtitle {
    color: #25D366; /* 使用WhatsApp绿色提高可见性 */
    font-weight: 600;
}

/* 添加针对iOS设备的媒体查询 */
@supports (-webkit-touch-callout: none) {
    .option-subtitle {
        font-size: 14px; /* 在iOS上稍微增大字体 */
        font-weight: 500; /* 增加字体权重 */
    }
    
    .contact-option {
        padding: 14px 20px; /* 在iOS上增加内边距 */
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .placidway-contact-widget {
        bottom: 33px;
        left: 10px;
    }
    
    .contact-button {
        width: 60px;
        height: 60px;
    }
    
    .contact-button i {
        font-size: 24px;
    }
    
    .contact-panel {
        width: 240px;
        bottom: 66px;
    }
}
/* Footer整体样式 */
.footer {
    width: 100%;
}

.footer-full-width-bg {
   
    padding: 40px 0;
    color: #333;
    width: 100%;
}

.footer-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
}

.footer-right {
    width: 38%;
}

.ftAreaA {
    width: 100%;
    margin-bottom: 20px;
}

.ftlogo img {
    max-width: 180px;
    margin-bottom: 10px;
}

.desc {
    font-size: 14px;
    color: #666;
}

.ftAreaB {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.ftCol {
    flex: 1;
    min-width: 150px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.ftCol:last-child {
    margin-right: 0;
}

.headline {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
    color: #2c3e50;
}

.ftCol ul {
    list-style: none;
    padding: 0;
}

.ftCol ul li {
    margin-bottom: 8px;
}

.ftCol ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.ftCol ul li a:hover {
    color: #3498db;
}

/* Footer表单样式 */
.ftFormCol {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.ftFormCol .headline {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

.footer-form input,
.footer-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.footer-form input:focus,
.footer-form select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.footer-form textarea {
    resize: vertical;
    min-height: 100px;
}

.footer-form button {
    width: 100%;
    padding: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.footer-form button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
    }
    
    .footer-right {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .ftCol {
        flex: 1 0 50%;
        margin-right: 0;
    }
    
    .ftFormCol {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .ftCol {
        flex: 1 0 100%;
    }
    
    .footer-form button {
        padding: 12px;
    }
}