/* 联系我们页面样式 */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* 联系信息 */
.contact-info {
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: #2c5530;
    margin-bottom: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.info-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

/* 留言表单 */
.contact-form {
    margin-bottom: 3rem;
}

.contact-form h2 {
    color: #2c5530;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #2c5530;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1e3c22;
}

/* 社交媒体 */
.social-media {
    margin-bottom: 3rem;
}

.social-media h2 {
    color: #2c5530;
    margin-bottom: 2rem;
    text-align: center;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-link.weixin i {
    color: #2dc100;
}

.social-link.weibo i {
    color: #e6162d;
}

.social-link.douyin i {
    color: #000;
}

.social-link.xiaohongshu i {
    color: #fe2c55;
}

/* 地图 */
.location-map {
    margin-bottom: 3rem;
}

.location-map h2 {
    color: #2c5530;
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.map-info {
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.map-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.map-info ul {
    list-style: none;
    padding: 0;
}

.map-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.map-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2c5530;
}

/* 表单验证样式 */
.invalid {
    border-color: #dc3545 !important;
}

.invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .social-links {
        grid-template-columns: 1fr;
    }
} 