/* 主体部分样式 */
main {
    padding-top: 100px;
}

/* 通用部分 */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* 联系信息区域 */
.contact-info {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/culture-banner.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.contact-info h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* 地图和表单区域 */
.map-form-section {
    background-color: #f9f9f9;
}

.map-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-container {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#baiduMap {
    width: 100%;
    height: 100%;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e74c3c;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c0392b;
}

/* 社交媒体区域 */
.social-media {
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.social-item:hover {
    transform: translateY(-5px);
}

.qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.social-item p {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section-content {
        padding: 3rem 1rem;
    }

    .contact-info {
        padding: 3rem 0;
    }

    .contact-info h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .map-form-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .info-grid,
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .qrcode {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .contact-info h1 {
        font-size: 2rem;
    }

    .info-item,
    .social-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
} 