/* 联系我们页面样式 */

.contact-wrapper {
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    padding: 2.5rem;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.3rem;
}

.info-content a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 联系表单 */
.contact-form-wrapper {
    margin-top: 0;
}

.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* 地图容器 */
.map-container {
    padding: 2rem;
    margin-top: 2rem;
}

.map-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px dashed #d1d5db;
}

.map-placeholder p {
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-placeholder p:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.map-note {
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
    font-style: italic;
}

/* 营业时间 */
.business-hours {
    margin-top: 2rem;
}

.hours-card {
    padding: 2.5rem;
    text-align: center;
}

.hours-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    color: var(--text-dark);
    font-weight: 500;
}

.hours-item .time {
    color: var(--primary-color);
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .map-placeholder {
        padding: 2rem 1rem;
    }

    .map-placeholder p:first-child {
        font-size: 1.2rem;
    }
}

