/* 联系我们页面样式 */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 80px 0 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* 公司简介样式 */
.company-intro {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.1);
    border-left: 5px solid #2e7d32;
}

.intro-header {
    margin-bottom: 30px;
}

.intro-header h2 {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2e7d32, #4caf50);
    border-radius: 2px;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #2e7d32;
    border: 3px solid #2e7d32;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* 联系方式样式 */
.contact-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.1);
}

.contact-header {
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: linear-gradient(135deg, #f1f8e9, #e8f5e9);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
    border-color: #2e7d32;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.contact-details h3 {
    font-size: 1.4rem;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-number, .contact-email, .contact-address {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-time, .contact-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
}

/* 在线留言样式 */
.contact-form-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 15px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    color: #2e7d32;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #2e7d32;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232e7d32' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 地图位置样式 */
.map-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.1);
}

.map-header {
    margin-bottom: 30px;
}

.map-header h2 {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 15px;
}

.map-container {
    height: 300px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2e7d32;
}

.map-placeholder {
    text-align: center;
    color: #2e7d32;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.map-address {
    font-size: 0.9rem !important;
    color: #666 !important;
    font-weight: normal !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-page {
        padding: 60px 0 20px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .company-intro,
    .contact-info,
    .contact-form-section,
    .map-section {
        padding: 30px 20px;
        margin: 0 20px 30px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .map-container {
        height: 200px;
    }
    
    .image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .intro-header h2,
    .contact-header h2,
    .form-header h2,
    .map-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
    }
    
    .contact-number, .contact-email, .contact-address {
        font-size: 1rem;
    }
}