/* 联系我们样式 */

/* Banner区域 */
.contact-banner {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-banner .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-banner h1 {
    position: relative;
    z-index: 1;
    font-size: 48px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* 联系信息区域 */
.contact-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-header {
    text-align: center;
    margin-bottom: 60px;
}

.info-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.info-header p {
    font-size: 16px;
    color: #666;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #88be4b;
}

.info-icon {
    width: 80px;
    height: 80px;
    background: #88be4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.info-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 16px;
    color: #666;
    line-height: 24px;
}

/* 留言表单区域 */
.contact-form {
    padding: 80px 0;
    background: white;
}

.form-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.form-content {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #88be4b;
    box-shadow: 0 0 0 3px rgba(136, 190, 75, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: #88be4b;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.submit-btn:hover {
    background: #76a83f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(136, 190, 75, 0.3);
}

/* 地图区域 */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.map-content {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #88be4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(136, 190, 75, 0.7);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 15px rgba(136, 190, 75, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(136, 190, 75, 0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-banner h1 {
        font-size: 36px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .form-content {
        padding: 30px;
    }
    
    .map-content {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-banner h1 {
        font-size: 28px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .map-content {
        height: 250px;
    }
}
